incubator-ambari-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aaron Cody <>
Subject Re: component/host health status mechanism?
Date Wed, 14 Aug 2013 18:49:00 GMT
So the host is back up and I manually restarted the ambari agentŠ however
the dot by the hostname itself is still red 'master down' .. (but I do see
the components on the host now as red dots as expectedŠ)

Once the agent is running, shouldn't the status of the host be green again?

From:  Sumit Mohanty <>
Reply-To:  ""
Date:  Wednesday, August 14, 2013 11:21 AM
To:  "" <>
Subject:  Re: component/host health status mechanism?

The ambari agents are not setup for auto restart. You need to start them

The agent relies on the pid file for status of various components.

After you start the agent you will see the components as STOPPED. Then you
can start all the components from the UI.


From: Aaron Cody <>
Reply-To: <>
Date: Wednesday, August 14, 2013 11:16 AM
To: "" <>
Subject: component/host health status mechanism?

Hi folks
So I installed a four node Ambari cluster and all was well.
Then I unplugged one of the machines.
The UI correctly turned that node to 'red' master down status.
I powered the node back upŠ waited a while, the host status changed to
'yellow' .. No heartbeatŠ and that's as far as it went.

Q: is the ambari agent supposed to auto-restart when the host is powered on?
Q: what exactly does a component have to provide in order to be bound into
the health status/heartbeat mechanism?
Is it looking at pid files? Or is it different for every component?
Basically, how does the agent determine the status of a component..?


NOTICE: This message is intended for the use of the individual or entity to
which it is addressed and may contain information that is confidential,
privileged and exempt from disclosure under applicable law. If the reader of
this message is not the intended recipient, you are hereby notified that any
printing, copying, dissemination, distribution, disclosure or forwarding of
this communication is strictly prohibited. If you have received this
communication in error, please contact the sender immediately and delete it
from your system. Thank You.

View raw message