Quantcast
Channel: Hortonworks » All Replies
Viewing all articles
Browse latest Browse all 3435

Reply To: Ambari agent can't register after machine restart (heartbeat lost)

$
0
0

Hi all, I know this thread is a bit old, but it might be useful for someone else. I ran in the same problem, in my case I installed the ambari agents manually, so I skipped the set of the agents through the ambari-server.
I noticed the ambari-agent logs and I found that the agent was trying to register itself with localhost, so I edited the file:

/etc/ambari-agent/conf/ambari-agent.ini

And I set the field:

[server]

hostname=XXX

To point to my ambari server, I restarted the agents and then it worked.


Viewing all articles
Browse latest Browse all 3435

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>