Upgrading ambari 2.0 to 2.1 (HDP)
- stop Ambari Metrics
- ambari-server stop
- all hosts
- ambari-agent stop
- cd /etc/yum.repos.d
- rm -f ambari* HDP*
- 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
- yum clean all; yum -y upgrade ambari-server
- 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
- all hosts
- yum -y upgrade ambari-agent
- rpm -qa | grep ambari-agent
- ambari-server upgrade
- ambari-server start
- ambari-agent start (each host)
- http://<your.ambari.server>:8080
- restart services
- 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.