Configure Hadoop for Multiple Pepperdata Versions (RPM/DEB)

To use only the latest version of Pepperdata that is installed, skip this procedure.

If there is more than one version of Supervisor on a host, Supervisor uses Linux alternatives to control which version is active on a given cluster at a given time.

Pepperdata requires that the same version of Supervisor be active on all hosts in a given cluster.

Partial upgrades are not supported except temporarily, during rolling upgrades.

By default, Linux alternatives selects the latest version of Supervisor/PepCollector that is installed on a given host to be the active version that Hadoop uses. You can change which version to use, as described in the table.

Result Alternatives Command
Force version X.Y.Z to be the active version of the Pepperdata Supervisor (including PepAgents and monitored services). /opt/pepperdata/supervisor-X.Y.Z/alternatives/set-current-agents
Force the currently active version to remain the active version of the Pepperdata Supervisor (including PepAgents and monitored services). /opt/pepperdata/supervisor/alternatives/set-current-agents
Revert to default behavior where the newest version of the Pepperdata Supervisor agents are active. /opt/pepperdata/supervisor-X.Y.Z/alternatives/use-latest-agents
Force version X.Y.Z to be the active version of the PepCollector. /opt/pepperdata/collector-X.Y.Z/alternatives/set-current-collectd
Force the current active version to remain the active version of the PepCollector. /opt/pepperdata/collector/alternatives/set-current-collectd
Revert to default behavior where the newest version of the PepCollector is active. /opt/pepperdata/collector-X.Y.Z/alternatives/use-latest-collectd

You can have a newer active PepCollector version than the active Supervisor version, but not the opposite. To run with different PepCollector and Supervisor versions, contact Pepperdata Support.