Support Questions

Find answers, ask questions, and share your expertise

Question on maintenance mode

avatar
Expert Contributor

On Ambri if I put any node into maintenance mode, will this impact any stop and restart of services ?

1 ACCEPTED SOLUTION

avatar
Master Mentor

@Kumar Veerappan

In addition to Mugdha's comment, the expected behaviour for the maintenance mode is mentioned in the doc shared.

However you might see that putting a service or process in Maintenance Mode doesn't take it off of the "Restart All Required" list in Ambari 2.4 which is later addressed as part of the following JIRA in ambari 2.5

Reference: https://issues.apache.org/jira/browse/AMBARI-18450

.

View solution in original post

3 REPLIES 3

avatar

Yes, all the host components on that node will be omitted from the bulk restart/start/stop.

See: https://docs.hortonworks.com/HDPDocuments/Ambari-2.5.0.3/bk_ambari-operations/content/how_to_turn_on...

avatar
Master Mentor

@Kumar Veerappan

In addition to Mugdha's comment, the expected behaviour for the maintenance mode is mentioned in the doc shared.

However you might see that putting a service or process in Maintenance Mode doesn't take it off of the "Restart All Required" list in Ambari 2.4 which is later addressed as part of the following JIRA in ambari 2.5

Reference: https://issues.apache.org/jira/browse/AMBARI-18450

.

avatar

@Kumar Veerappan

No,

Maintenance Mode supports suppressing alerts and skipping bulk operations for specific services, components and hosts in an Ambari-managed cluster. You typically turn on Maintenance Mode when performing hardware or software maintenance, changing configuration settings, troubleshooting, decommissioning, or removing cluster nodes. You may place a service, component, or host object in Maintenance Mode before you perform necessary maintenance or troubleshooting tasks.

Maintenance Mode affects a service, component, or host object in the following two ways:

  • Maintenance Mode suppresses alerts, warnings and status change indicators generated for the object
  • Maintenance Mode exempts an object from host-level or service-level bulk operations

Explicitly turning on Maintenance Mode for a service implicitly turns on Maintenance Mode for components and hosts that run the service. While Maintenance Mode On prevents bulk operations being performed on the service, component, or host, you may explicitly start and stop a service, component, or host having Maintenance Mode On.

Link

Hope this helps you.