Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]

Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

I am getting error after upgrading Ambari from 2.4.3 to 2.5.1

avatar
Rising Star

WARN [qtp-ambari-agent-4198] HeartBeatHandler:411 - Received registration request from host with non compatible agent version, hostname=xxx, agentVersion=2.4.3.0, serverVersion=2.5.1.0

1 ACCEPTED SOLUTION

avatar

@arjun more

You can try following on the xxx host,

On "xxx" host do the following,

# ambari-agent stop 
# yum remove ambari-agent -y 
# rm -rf /etc/ambari-agent/* 
# rm -rf /var/lib/ambari-agent/* 
# rm -f /usr/sbin/ambari-agent 
# rm -rf /usr/lib/python2.6/site-packages/ambari*
# rm -rf /usr/lib/python2.6/site-packages/resource_management
And now Install the ambari-agent,
# wget -nv http://public-repo-1.hortonworks.com/ambari/centos6/2.x/updates/2.5.1.0/ambari.repo -O /etc/yum.repos.d/ambari.repo
# yum install -y ambari-agent
# ambari-agent start 

This might solve's your problem.

View solution in original post

2 REPLIES 2

avatar

@arjun more

You can try following on the xxx host,

On "xxx" host do the following,

# ambari-agent stop 
# yum remove ambari-agent -y 
# rm -rf /etc/ambari-agent/* 
# rm -rf /var/lib/ambari-agent/* 
# rm -f /usr/sbin/ambari-agent 
# rm -rf /usr/lib/python2.6/site-packages/ambari*
# rm -rf /usr/lib/python2.6/site-packages/resource_management
And now Install the ambari-agent,
# wget -nv http://public-repo-1.hortonworks.com/ambari/centos6/2.x/updates/2.5.1.0/ambari.repo -O /etc/yum.repos.d/ambari.repo
# yum install -y ambari-agent
# ambari-agent start 

This might solve's your problem.

avatar
Rising Star

@nshelke,

Thanks for quick reply. I will try your suggestion.