Apache Ambari Operations
Also available as:
PDF
loading table of contents...

Set Maintenance Mode for a Host

To set Maintanence Mode for a host by using the Host Actions control:

Steps

  1. Using Hosts, select c6401.ambari.apache.org.

  2. Select Host Actions, then choose Turn On Maintenance Mode.

  3. Choose OK to confirm.

    Notice on Components, that Maintenance Mode turns on for all components.

To set Maintanence Mode for a host, using the Actions control:

Steps

  1. Using Hosts, click c6403.ambari.apache.org.

  2. In Actions > Selected Hosts > Hosts, choose Turn On Maintenance Mode.

  3. Choose OK.

Your list of hosts shows that Maintenance Mode is set for hosts c6401 and c6403:

If you hover your cursor over each Maintenance Mode icon appearing in the hosts list, you see the following information:

  • Hosts c6401 and c6403 are in Maintenance Mode.

  • On host c6401, HBaseMaster, HDFS client, NameNode, and ZooKeeper Server are also in Maintenance Mode.

  • On host c6403, 15 components are in Maintenance Mode.

  • On host c6402, HDFS client and Secondary NameNode are in Maintenance Mode, even though the host is not.

Notice also how the DataNode is affected by setting Maintenance Mode on this host:

  • Alerts are suppressed for the DataNode.

  • DataNode is omitted from HDFS Start/Stop/Restart All, Rolling Restart.

  • DataNode is omitted from all Bulk Operations except Turn Maintenance Mode ON/OFF.

  • DataNode is omitted from Start All and / Stop All components.

  • DataNode is omitted from a host-level restart/restart all/stop all/start.