Hadoop Safe Mode (Maintenance Mode) Commands
Hadoop Safe Mode (Maintenance Mode) Commands
The following dfsadmin commands helps the cluster to
enter or leave safe mode, which is also called as maintenance mode. In this
mode, Namenode does not accept any changes to the name space, it does not
replicate or delete blocks.
Command
|
Description
|
hadoop dfsadmin -safemode enter
|
Enter safe mode
|
hadoop dfsadmin -safemode leave
|
Leave safe mode
|
hadoop dfsadmin -safemode get
|
Get the status of mode
|
hadoop dfsadmin -safemode wait
|
Wait until HDFS finishes data block replication
|
To learn Hadoop Discoved course at Below:
Post a Comment
image video quote pre code