How to Turn On Maintenance Mode for a Service
Using Services, select
HDFS
.Select Service Actions, then choose
Turn On Maintenance Mode
.Choose OK to confirm.
Notice, on Services Summary that Maintenance Mode turns on for the NameNode and SNameNode components.