4. Upgrading Ambari Metrics

  1. Upgrade to Ambari 2.0 and perform needed post-upgrade checks. Make sure all services are up and healthy.

  2. Make sure Ambari Metrics service is stopped. From Ambari Web, browse to Services > Ambari Metrics and select Stop from the Service Actions menu.

  3. On each host in your cluster running Ambari Metrics, run the following commands:

    For RHEL/CentOS/Oracle Linux:

    yum clean all
    yum upgrade ambari-metrics-monitor ambari-metrics-hadoop-sink

    For SLES:

    zypper clean
    zypper up ambari-metrics-monitor ambari-metrics-hadoop-sink
  4. Execute the following command on all hosts running the Metrics Collector:

    For RHEL/CentOS/Oracle Linux:

    yum upgrade ambari-metrics-collector

    For SLES:

    zypper up ambari-metrics-collector
  5. Start Ambari Metrics Service. From Ambari Web, browse to Services > Ambari Metrics and select Start from the Service Actions menu.

  6. Updated Ambari Metrics Sink jars will be installed on all hosts. You must restart each service to pick up the latest sink implementations.

    (For example: HDFS, YARN, Kafka, HBase, Flume, Storm)