Upgrade to Version 4.2.0
To upgrade Pulse to version 4.2.0, follow the steps for your current version:
Info
Old Actions (Director) use the Quartz cron format, and New Actions use the standard Linux cron format. Because the two formats aren't fully compatible, migrated cron expressions might not work as expected, especially expressions that use Quartz-specific syntax, such as the ? character.
After the migration, review all scheduled actions and update their cron expressions to the Linux cron format. Otherwise, actions might run at the wrong time or not run at all.
Enable the runMigrations Property for Dashplots
Before you install or upgrade Pulse, verify that the runMigrations property in the ad-dashplots-ui section of the ad-core configuration is set to true.
This property enables the required Dashplots database migrations. If this property isn't enabled during an upgrade, the ad-dashplots-ui service might fail to start and restart repeatedly with a database migration error similar to the following:
ERROR: column dashplot_reporting.cluster_key does not exist
For more information about the runMigrations property and other Dashplot configuration options, see Configure Dashplot Variables.
Upgrade Pulse from Version 4.1.x to 4.2.0
Note
Before the migration starts, export all custom Dashplots dashboards, and re-import them after the migration completes. For details, see Dashplots Dashboard.
To upgrade Pulse from version 4.1.x to 4.2.0, complete the following steps.
Step 1: Uninstall the Hydra Agents
Uninstall the Hydra agents based on your deployment method. This prevents the agents from sending new data to NATS.
SSH-based deployments: Run the following command:
accelo uninstall remote
Mpack- and parcel-based deployments: Uninstall the Hydra agents from the Ambari or CDP UI, respectively.
Important
Ensure that all pending NATS stream data is processed before you continue.
Step 2: Update the Image Tag
Open the following file:
$AcceloHome/config/accelo.yml
Set ImageTag to the following value:
ImageTag: 4.2.0
Step 3: Update the accelo CLI
Back up the existing accelo CLI file, and then download the latest accelo.linux file.
Rename the file and make it executable:
mv accelo.linux accelo
chmod +x ./accelo
Step 4: Push the Configuration to the Database
Run the following command:
accelo admin database push-config -a
Step 5: Pull the Latest Images (Online Installations)
For online installations, run the following commands. When prompted, press Y to download the latest binaries.
accelo login docker
accelo pull all
Step 6: Load the Latest Images (Offline Installations)
For offline installations, download the latest image packs, and then run the following command to load them:
docker load -i <image-pack-file>
Step 7: Delete the Impala Stream NATS Consumers (Upgrades from 4.1.0 Only)
Perform this step only if you're upgrading from Pulse 4.1.0. If you're upgrading from Pulse 4.1.2 or later, skip this step.
Use the following command template:
accelo admin hc events consumer delete -s impala_profiles_uuid_<CLUSTER_NAME> -c ImpalaProfileUUIDNatsConsumerShardActor_<CLUSTER_NAME>_impala_profiles_uuid_<CLUSTER_NAME>_<STREAM_SCALE_ID>
For example:
accelo admin hc events consumer delete -s impala_profiles_uuid_odp_zeus -c ImpalaProfileUUIDNatsConsumerShardActor_odp_zeus_impala_profiles_uuid_odp_zeus_0
Step 8: Delete the Pulse Profiler Stream
If you're upgrading from Pulse 4.1.2 or earlier, run the following command:
accelo admin hc events delete -s profiler_stream
Step 9: Verify the Image Tag
Run the following command to confirm that ImageTag is updated:
accelo info
Step 10: Run the Migration
Info
Before you run the migration command, ensure that:
- You have uninstalled the Hydra agents as described in step 1.
- All pending NATS stream data has been processed.
- You are in the $AcceloHome directory.
The migration command uses the following parameters:
- -v: Specifies the target migration version. Always specify 4.2.0, even when migrating to a later update release in the 4.2.x release series.
- -i: Specifies the Pulse version you are migrating from (4.0.x or 4.1.x).
For example, to migrate from Pulse 4.1.3 to 4.2.0, run the following command:
accelo migrate -v 4.2.0 -i 4.1.3 -b
accelo migrate -v 4.2.0 -i 4.1.3 -a -b
Info
The migration process deletes all NATS JetStream streams. This is expected. The streams are recreated automatically after you redeploy the Hydra agents and restart the services.
Step 11: Remove the ad-pg and ad-pg-ui Containers
If the following containers are present, stop them:
docker stop ad-pg_default
docker stop ad-pg-ui_default
Delete the following directories, if they're present:
rm -rf $AcceloHome/data/pg/*
rm -rf $AcceloHome/data/pgui/*
Remove the following containers, if they're present:
docker rm ad-pg_default
docker rm ad-pg-ui_default
Step 12: Redeploy the Core Services
Run the following command to start the ad-pg and ad-pg-ui containers and create the required pg and pgui directories:
accelo deploy core
(Optional) If you're upgrading fromversion 4.1.8 or earlierand FS Analytics V2 is deployed, run the following commands:
cd /data01/acceldata
umask 022
ls -ld config/users/passwd config/users/group config/users/passwd_fs config/users/group_fs
# if *_fs is a directory:
rm -rf config/users/group_fs config/users/passwd_fs
cp -a config/users/group config/users/group_fs
cp -a config/users/passwd config/users/passwd_fs
chmod 640 config/users/group_fs config/users/passwd_fs
chown acceldata:acceldata config/users/group_fs config/users/passwd_fs
Step 13: Restart All Containers
Restart all containers so that they use the updated images:
accelo restart all -d
Step 14: Update the Queue Names in Actions
Update the queue names in the existing Kill YARN Applications and Kill Tez Queries actions to use full queue paths (for example, root.default). Short queue names are no longer supported. For details, see Kill YARN Applications and Kill Tez Queries.
Step 15: Install the Hydra Agents
Install the Hydra agents based on your deployment method:
SSH-based deployments: Run the following command:
accelo deploy hydra
Step 16: Reconfigure the Cluster
Run the following command to update the agent configuration:
accelo reconfig cluster -a
Step 17: Push the Configuration to the Database
Run the following command:
accelo admin database push-config -a
Step 18: (Optional) Import Custom Dashboards
If you use custom dashboards, import them into Dashplots. For details, see Dashboard.
Step 19: (Optional) Configure Additional Monitored Clusters
If Pulse monitors multiple clusters, repeat the multi-cluster procedure for each remaining cluster. Skip the current active cluster because it's already updated. For more information, see Pulse Monitor Multi-Cluster Deployment.
Step 20: (Optional) Configure the MongoDB Cleanup and Compaction Schedule
To configure the MongoDB cleanup and compaction schedule for the Gauntlet service, see Data Retention (Gauntlet).
Step 21: Migrate the Hooks
Migrate the hooks to the supported versions. For details, see Hook Migration.
Step 22: Create Indexes for the Database Collections
If readOnlyRootFSEnabled is set to false in $AcceloHome/config/accelo.yml, run the following command:
accelo admin database index-db
a. Open $AcceloHome/config/accelo.yml and set readOnlyRootFSEnabled to false.
b. Push the updated configuration to the database and restart the services:
accelo admin database push-config
accelo restart all -d
accelo admin database index-db
e. Push the updated configuration to the database and restart the services:
accelo admin database push-config
accelo restart all -d
Step 23: Initialize Sharding for the New Collections
For sharded deployments, run the following command to ensure that the new database collections are sharded:
accelo admin database init-sharding-db
Upgrade Pulse from Version 4.0.x to 4.2.0
To upgrade Pulse from version 4.0.x to 4.2.0, complete the following steps.
Info
Deprecated services in 4.1.0
The following services were deprecated and replaced in the 4.1.0 release:
ad-director(deprecated) →ad-axnserverad-proxy(deprecated) →ad-pulse-ui
Before you start the migration, disable the deprecated services:
- Run the following command:
accelo deploy addons - Clear the deprecated services.
- Continue with the deployment.
If you don't disable these services before the migration, the migration fails.
Note
Before the migration starts, export all custom Dashplots dashboards, and re-import them after the migration completes. For details, see Dashplots Dashboard.
Step 1: Update the Container Runtime Configuration
Update the /etc/profile.d/ad.sh file based on your container runtime.
For Podman:
export CONTAINER_TOOL='podman'
export REGISTRY_AUTH_FILE=${AcceloHome}/config/podman/config.json
For Docker:
export CONTAINER_TOOL='docker'
Info
This step is required because accelo supports Podman and dynamically selects the appropriate container runtime socket based on the configured orchestration tool (Podman or Docker).
Then, run the following command to apply the updated environment variables:
source /etc/profile.d/ad.sh
Step 2: Uninstall the Hydra Agents
Uninstall the Hydra agents to stop them from sending NATS stream data.
SSH-based deployments:
accelo uninstall remote
Mpack- and parcel-based deployments:
Uninstall the Hydra agents from the Ambari or CDP UI.
Important
Ensure that all pending NATS stream data is processed before you continue.
Step 3: Update the accelo CLI
- Back up the existing accelo CLI binary.
- Download the latest accelo.linux CLI.
- Replace the existing binary and make it executable:
mv accelo.linux accelo
chmod +x ./accelo
Step 4: Upgrade Elasticsearch to 8.19.0
Before you upgrade Pulse from 4.0.x to 4.1.2 or later, upgrade the following Elasticsearch instances from 8.16.6 or 8.18.4 to 8.19.0:
ad-elastic
ad-fs-elastic
For details, see Upgrade Elasticsearch from ES 8.16.6 or 8.18.4 to ES 8.19.0.
Step 5: Update the Image Tag
Open the following file:
$AcceloHome/config/accelo.yml
Set ImageTag to the following value:
ImageTag: 4.2.0
Push the updated configuration to the database:
accelo admin database push-config -a
Verify the update:
accelo info
Step 6: Load the Latest Images (Offline Installations)
For offline installations, download the latest image packs and load them:
docker load -i <image-pack>.tar
Step 7: Run the Migration
Run the migration command from $AcceloHome.
Info
Don't change the -v value 4.2.0 unless Engineering instructs you to.
Run the following command on all Pulse nodes, including standalone nodes (where PULSE_SA_NODE is set to true).
The migration command uses the following parameters:
- -v: Specifies the target migration version. Always specify 4.2.0, even when migrating to a later update release in the 4.2.x release series.
- -i: Specifies the Pulse version you are migrating from (4.0.x or 4.1.x).
For example, to migrate from Pulse 4.0.0 to 4.2.0, run the following command from $AcceloHome.
For a single cluster, run:
accelo migrate -v 4.2.0 -i 4.1.0 -b
For multi-cluster deployments, run:
accelo migrate -v 4.2.0 -i 4.1.0 -a -b
If any issues occur during migration, rerun the same command.
Info
The migration process deletes all NATS JetStream streams. Before starting the migration, ensure that the Hydra agents are uninstalled as described in step 2 and that all pending NATS stream data has been processed. The streams are automatically recreated after you deploy the Hydra agents and restart the services as part of the post-migration procedure.
Step 8: Pull the Latest Images (Online Installations)
For online installations, run the following commands. When prompted, press Y to download the latest binaries.
accelo login docker
accelo pull all
Step 9: Remove the ad-pg and ad-pg-ui Containers
If the following containers are present, stop them:
docker stop ad-pg_default
docker stop ad-pg-ui_default
rm -rf $AcceloHome/data/pg/*
rm -rf $AcceloHome/data/pgui/*
docker rm ad-pg_default
docker rm ad-pg-ui_default
Step 10: Redeploy the Core Services
Run the following command to start the ad-pg and ad-pg-ui containers and create the required pg and pgui directories:
accelo deploy core
(Optional) If you're upgrading fromversion 4.1.8 or earlierand FS Analytics V2 is deployed, run the following commands:
cd /data01/acceldata
umask 022
ls -ld config/users/passwd config/users/group config/users/passwd_fs config/users/group_fs
# if *_fs is a directory:
rm -rf config/users/group_fs config/users/passwd_fs
cp -a config/users/group config/users/group_fs
cp -a config/users/passwd config/users/passwd_fs
chmod 640 config/users/group_fs config/users/passwd_fs
chown acceldata:acceldata config/users/group_fs config/users/passwd_fs
Step 11: Restart All Containers
Restart all containers so that they use the updated images:
accelo restart all -d
Step 12: Update the Queue Names in Actions
Update the queue names to use full queue paths (for example, root.spark.queue1). Short queue names are no longer supported.
For details, see Kill YARN Applications and Kill Tez Queries.
Step 13: Install the Hydra Agents
For SSH-based deployments, run the following command:
accelo deploy hydra
Step 14: Reconfigure the Cluster
Run the following command to update the agent configuration:
accelo reconfig cluster
Step 15: Push the Configuration to the Database
Run the following command:
accelo admin database push-config -a
Step 16: (Optional) Enable Native SSL for the Pulse UI
If SSL was previously enabled for the Pulse UI through ad-proxy, enable native SSL support because ad-proxy was removed in Pulse 4.1.x.
For details, see Enable Native SSL/TLS for Pulse Web UI.
Step 17: (Optional) Import Custom Dashboards
If you use custom dashboards, import them into Dashplots. For details, seeDashboard.
Step 18: (Optional) Configure Additional Monitored Clusters
If Pulse monitors multiple clusters, repeat the multi-cluster procedure for each remaining cluster. Skip the current active cluster because it's already updated. For more information, see Pulse Monitor Multi-Cluster Deployment.
Step 19: (Optional) Configure the MongoDB Cleanup and Compaction Schedule
To configure when the Gauntlet service performs MongoDB cleanup and compaction, see Data Retention (Gauntlet).
Step 20: Create Indexes for the Database Collections
Run the following command:
accelo admin database index-db
- Open
$AcceloHome/config/accelo.ymland setreadOnlyRootFSEnabledtofalse. - Push the updated configuration to the database and restart all containers:
accelo admin database push-config
accelo restart all -d
- Create the database indexes:
accelo admin database index-db
- Set
readOnlyRootFSEnabledback totruein$AcceloHome/config/accelo.yml. - Push the updated configuration to the database and restart all containers:
accelo admin database push-config
accelo restart all -d
Step 21: Initialize Sharding for the New Collections
For sharded deployments, run the following command to ensure that the new database collections are sharded:
accelo admin database init-sharding-db
Hook Migration
After you upgrade Pulse, migrate your Hive, Tez, and Spark hooks to the hook version that the new release supports. This keeps the hooks compatible and ensures that Pulse continues to collect events.
For information about the supported hook version for each Pulse release, see Supported Hook Versions.
For details about the hook migration steps, see:

Have a suggestion?