Monday, November 30, 2015

Upgrading ambari 2.0 to 2.1 (HDP)

  1. stop Ambari Metrics
  2. ambari-server stop
  3. all hosts
    1. ambari-agent stop
    2. cd /etc/yum.repos.d
    3. rm -f ambari* HDP*
    4. wget -nv http://public-repo-1.hortonworks.com/ambari/centos6/2.x/updates/2.1.0/ambari.repo -O /etc/yum.repos.d/ambari.repo
  4. yum clean all; yum -y upgrade ambari-server
  5. Confirm there is only one ambari-server*.jar file in /usr/lib/ambari-server. If there is more than one JAR file with name ambari-server*.jar, move all JARs except ambari-server-2.1.0.*.jar to /tmp before proceeding with upgrade
  6. all hosts
    1. yum -y upgrade ambari-agent
    2. rpm -qa | grep ambari-agent
  7. ambari-server upgrade
  8. ambari-server start
  9. ambari-agent start (each host)
  10. http://<your.ambari.server>:8080
  11. restart services
  12. note that you may have to perform other processes to complete the upgrading which depends on your cluster configuration

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.