Epic MapR Upgrade

  • ERE 5.7.4 adds upgrade logic for EPIC MapR. You can now upgrade EPIC MapR from 6.x, or from 7.9 GA (shipped with a fresh ERE 5.7.1 install), to the latest DF 7.9 patch version ( mapr:7.9.0.30.20251025070711.GA-3).

  • This upgrade is mandatory in ERE 5.7.4. It is required to support the cgroup v2 feature in ERE and Kubernetes. If your environment runs an older EPIC MapR version, upgrade it before you enable or move to cgroup v2.

Prerequisites

  1. Run the script on the primary controller only. The script exits if the host is not the primary.

  2. Run it as the user who installed ERE ( bds_global_user ).

  3. Only external Data Fabric (DF) is supported. See the Limitation below.

Note:

The script upgrades each node. If an upgrade fails, it rolls back by itself. If the rollback does not finish cleanly, run it again with --rollback <node_ip> for that node, then check the status.

After the upgrade or rollback, wait another 10–15 minutes. The child mounts show as stale first, then turn OK. This is handled in the background by the Nagios MountPoint check, which restarts the mount service when it fails.

Limitation

Upgrading the epic-mapr container is not supported on clusters with embedded Data Fabric (DF) on the epic-mapr container. Customers with embedded DF must contact HPE Support before attempting the upgrade.

Procedure

Following are the steps to upgrade Epic MapR 6.x/7.9 GA to mapr:7.9.0.30.20251025070711.GA-3 (applicable for cluster upgrades from older versions such as 5.7.1 or older ):

  1. Verify Epic mapr version in ERE cluster ,if its 6.x or 7.9 GA:
    bdconfig --getallenv|egrep
    "storage_maprversion|localfstype"
    export bdshared_storage_maprversion='6.1.0-GA-20211022041110';
    export bdshared_storage_localfstype='ext_mapr';

    Note: If the platform was installed with 5.7.1 and you upgrade, you may see mapr:7.9.0.30.20251025070711.GA, which also qualifies for the epic-mapr upgrade.

  2. Upgrade to ERE 5.7.4 GA (only platform)

    $ bdconfig --getvalue bds_global_version
    5.7.4
  3. Verify all node MapR mounts via the Nagios dashboard (POSIX and mountpoint for both k8s and controller dashboards)

  4. Verify mapr version:
    $ bdconfig --getfewenv 'bdshared_storage_maprversion'
    export bdshared_storage_maprversion='6.1.0-GA-20211022041110';
  5. On controller :- go to /opt/bluedata/bundles/hpe-cp-rhel-release-5.7.4-<build>/scripts on the controller. Then run upgrade_epic_mapr.sh as the user who installed ERE.
    To get platform deployed user:
    bdconfig --getallenv|grep bds_global_use
    export bds_global_user='test';
    Script to upgrade:
    cd /opt/bluedata/bundles/hpe-cp-<>-5.7.4-<build>/scripts
    bash ./upgrade_epic_mapr.sh
    ==>$ bash ./upgrade_epic_mapr.sh
    Using bundle /opt/bluedata/bundles/hpe-cp-rhel-release-5.7.4-11473
    [2026-11-05:09-02-24] Saving epic/mapr:6.1.0-GA-20211022041110 to /opt/bluedata/bundles/hpe-cp-rhel-release-5.7.4-11473/thirdparty/mapr/mapr-6.1.0-GA-20211022041110.tar.gz, this can take several minutes.
    [2026-11-05:09-11-03] Nodes: IP1 IP2 IP3 IP4
    [2026-11-05:09-11-03] ==== Node IP1: starting upgrade ====
    [2026-11-05:09-13-30] Node IP1: upgrade result: RESULT:SUCCESS:upgraded
    [2026-11-05:09-13-30] ==== Node IP2: starting upgrade ====
    [2026-11-05:09-13-41] Node IP2: upgrade result: RESULT:SKIPPED:not_provisioned
    [2026-11-05:09-13-41] ==== Node IP3: starting upgrade ====
    [2026-11-05:09-20-25] Node IP3: upgrade result: RESULT:SUCCESS:upgraded
    [2026-11-05:09-25-53] ==== Node IP4: starting upgrade ====
    [2026-11-05:09-33-41] Node IP4: upgrade result: RESULT:SUCCESS:upgraded
    [2026-11-05:09-33-41] ==================== SUMMARY ====================
    [2026-11-05:09-33-41]   IP1: SKIPPED
    [2026-11-05:09-33-41]   IP2: SUCCESS
    [2026-11-05:09-33-41]   IP3: SUCCESS
    [2026-11-05:09-33-41]   IP4: SUCCESS
    [2026-11-05:09-33-41] Log: /var/log/bluedata/epic-mapr-upgrade/upgrade-20261105091100.log
    [2026-11-05:09-33-41] bdshared_storage_maprversion is now 7.9.0.30.20251025070711.GA-3
    [2026-11-05:09-33-41] All nodes done.
    
  6. Log paths are as follows:

    Main log (controller): /var/log/bluedata/epic-mapr-upgrade/upgrade-<YYYYMMDDHHMMSS>.log

    Per-node logs (on each node): /tmp/bds-<YYYYMMDDHHMMSS>.log and /tmp/bds-<YYYYMMDDHHMMSS>.log.xtrace

    NOTE
    The tenant share mounts may show as "stale" for a while. This is normal. The platform fixes them on its own (Nagios auto run the mount check ). Do not restart anything or remount by hand.
    After 10-15 minutes, run this to check:
    for m in $(grep posix /proc/mounts | awk '{print $2}'); do ls $m >/dev/null 2>&1 && echo "OK $m" || echo "STALE $m"; done
  7. Validation Steps:
    1. From Controller:
      sudo /bin/nerdctl ps; hostname; ls -d /etc/bluedata/mapr/hadoop*;for m in $(grep posix /proc/mounts | grep bluedata | awk '{print $2}'); do sudo ls $m >/dev/null 2>&1 && echo "OK $m" || echo "STALE $m"; done
      $ sudo /bin/nerdctl ps; hostname; ls -d /etc/bluedata/mapr/hadoop*;for m in $(grep posix /proc/mounts | grep bluedata | awk '{print $2}'); do sudo ls $m >/dev/null 2>&1 && echo "OK $m" || echo "STALE $m"; done
      CONTAINER ID    IMAGE                                               COMMAND                   CREATED           STATUS    PORTS    NAMES
      acdf95639e74    docker.io/epic/mapr:7.9.0.30.20251025070711.GA-3    "/sbin/init"              15 minutes ago    Up                 epic-mapr
      9b3b563f367a    docker.io/epic/nagios:2.9.6                         "/bin/sh -c /usr/loc…"    2 hours ago       Up                 epic-nagios-10.227.85.146
      1155873f7227    docker.io/epic/monitoring:2.1.8                     "/etc/hpecp-es-start…"    9 days ago        Up                 epic-monitoring-10.227.85.146
      f6-aie-dev-vm85146.ftc.hcocto.hpecorp.net
      /etc/bluedata/mapr/hadoop  /etc/bluedata/mapr/hadoop.old-20261105092605  /etc/bluedata/mapr/hadoop.upgraded-20261105090757
      OK /opt/bluedata/mapr/mnt/f6-aie-dev-vm81139/exthcp-ceacef10
      From Kubernetes master:
      $ sudo /bin/nerdctl ps; hostname; ls -d /etc/bluedata/mapr/hadoop*;for m in $(grep posix /proc/mounts | grep bluedata | awk '{print $2}'); do sudo ls $m >/dev/null 2>&1 && echo "OK $m" || echo "STALE $m"; done
      $ sudo /bin/nerdctl ps; hostname; ls -d /etc/bluedata/mapr/hadoop*;for m in $(grep posix /proc/mounts | grep bluedata | awk '{print $2}'); do sudo ls $m >/dev/null 2>&1 && echo "OK $m" || echo "STALE $m"; done
      CONTAINER ID    IMAGE                                               COMMAND                   CREATED           STATUS    PORTS    NAMES
      acdf95639e74    docker.io/epic/mapr:7.9.0.30.20251025070711.GA-3    "/sbin/init"              15 minutes ago    Up                 epic-mapr
      9b3b563f367a    docker.io/epic/nagios:2.9.6                         "/bin/sh -c /usr/loc…"    2 hours ago       Up                 epic-nagios-10.227.85.146
      1155873f7227    docker.io/epic/monitoring:2.1.8                     "/etc/hpecp-es-start…"    9 days ago        Up                 epic-monitoring-10.227.85.146
      f6-aie-dev-vm85146.ftc.hcocto.hpecorp.net
      /etc/bluedata/mapr/hadoop  /etc/bluedata/mapr/hadoop.old-20261105092605  /etc/bluedata/mapr/hadoop.upgraded-20261105090757
      OK /opt/bluedata/mapr/mnt/f6-aie-dev-vm81139/exthcp-ceacef10
    2. K8s worker:
      $ sudo /bin/nerdctl ps; hostname; ls -d /etc/bluedata/mapr/hadoop*;for m in $(grep posix /proc/mounts | grep bluedata | awk '{print $2}'); do sudo ls $m >/dev/null 2>&1 && echo "OK $m" || echo "STALE $m"; done
      $ sudo /bin/nerdctl ps; hostname; ls -d /etc/bluedata/mapr/hadoop*;for m in $(grep posix /proc/mounts | grep bluedata | awk '{print $2}'); do sudo ls $m >/dev/null 2>&1 && echo "OK $m" || echo "STALE $m"; done
      CONTAINER ID    IMAGE                                               COMMAND                   CREATED           STATUS    PORTS    NAMES
      ee9d573a3ac2    docker.io/epic/mapr:7.9.0.30.20251025070711.GA-3    "/sbin/init"              11 minutes ago    Up                 epic-mapr
      08177b0f224e    docker.io/epic/nagios:2.9.6                         "/bin/sh -c /usr/loc…"    2 hours ago       Up                 epic-nagios-10.227.85.147
      92c9e3ce9375    docker.io/epic/monitoring:2.1.8                     "/etc/hpecp-es-start…"    9 days ago        Up                 epic-monitoring-10.227.85.147
      f6-aie-dev-vm85147.ftc.hcocto.hpecorp.net
      /etc/bluedata/mapr/hadoop  /etc/bluedata/mapr/hadoop.old-20261105093607  /etc/bluedata/mapr/hadoop.upgraded-20261105085454  /etc/bluedata/mapr/hadoop.upgraded-20261105092552
      OK /opt/bluedata/mapr/mnt/f6-aie-dev-vm81139/exthcp-ceacef10
      OK /opt/bluedata/share/test1/TenantShare
      OK /opt/bluedata/share/test2/TenantShare
      OK /opt/bluedata/share/test3-ml/TenantShare
      OK /opt/bluedata/share/test3-ml/project_repo
      OK /opt/bluedata/share/tes/TenantShare
    3. Validate new tenant creation and file upload from UI .
  8. Manual Rollback:
    1. To Roll back all nodes:
      bash ./upgrade_epic_mapr.sh --rollback  
      bash ./upgrade_epic_mapr.sh --rollback 
      Using bundle /opt/bluedata/bundles/hpe-cp-rhel-release-5.7.4-11473
      [2026-11-05:10-49-24] Node IP1: rollback result: RESULT:ROLLED_BACK:6.1.0-GA-20211022041110
      [2026-11-05:10-49-26] bdshared_storage_maprversion is now 6.1.0-GA-20211022041110
      [2026-11-05:10-49-36] Node IP2: rollback result: RESULT:FAILED:no_rollback_record
      [2026-11-05:10-53-37] Node IP3: rollback result: RESULT:ROLLED_BACK:6.1.0-GA-20211022041110
      [2026-11-05:10-58-14] Node IP4: rollback result: RESULT:ROLLED_BACK:6.1.0-GA-20211022041110
      [2026-11-05:11-02-32] Node IP5: rollback result: RESULT:ROLLED_BACK:6.1.0-GA-20211022041110
      NOTE
      RESULT:FAILED:no_rollback_record means this node has no saved upgrade record, so there is nothing to roll back (Mainy on gateway host).
    2. To Roll back each node:

      For each node, pass the IP and base option to fix the node and save time.

      bash ./upgrade_epic_mapr.sh --rollback <node_ip> [<node_ip> ...]
      NOTE
      Always pass the IP of the node(s) to roll back. Without an IP, the script rolls back all nodes.
      For example:
      $ bash ./upgrade_epic_mapr.sh --rollback IP1
      Using bundle /opt/bluedata/bundles/hpe-cp-rhel-release-5.7.4-11473
      [2026-11-05:10-27-10] Node IP1: rollback result: RESULT:ROLLED_BACK:6.1.0-GA-20211022041110
      sudo nerdctl ps ; hostname;for m in $(grep posix /proc/mounts|grep bluedata | awk '{print $2}'); do ls $m >/dev/null 2>&1 && echo "OK $m" || echo "STALE $m"; done;bdconfig --getfewenv 'bdshared_storage_maprversion;bds_global_provisionmapr'
      CONTAINER ID    IMAGE                                               COMMAND                   CREATED           STATUS    PORTS    NAMES
      e12845627535    docker.io/epic/mapr:6.1.0-GA-20211022041110    "/sbin/init"              10 minutes ago    Up                 epic-mapr
      08177b0f224e    docker.io/epic/nagios:2.9.6                         "/bin/sh -c /usr/loc…"    3 hours ago       Up                 epic-nagios-10.227.85.147
      92c9e3ce9375    docker.io/epic/monitoring:2.1.8                     "/etc/hpecp-es-start…"    9 days ago        Up                 epic-monitoring-10.227.85.147
      f6-aie-dev-vm85147.ftc.hcocto.hpecorp.net
      OK /opt/bluedata/mapr/mnt/f6-aie-dev-vm81139/exthcp-ceacef10
      OK /opt/bluedata/share/hadoop3/TenantShare
      OK /opt/bluedata/share/test-mapr7/TenantShare
      OK /opt/bluedata/share/test1/TenantShare
      OK /opt/bluedata/share/test2/TenantShare
      OK /opt/bluedata/share/test3-ml/TenantShare
      OK /opt/bluedata/share/test3-ml/project_repo
      OK /opt/bluedata/share/tes/TenantShare
      OK /opt/bluedata/share/deepesh/TenantShare
      export bds_global_provisionmapr='true';
      export bdshared_storage_maprversion='6.1.0-GA-20211022041110';