0 votes
in HDFS by

How will you manually enter and leave Safe Mode in Hadoop?

1 Answer

0 votes
by

Below command is used to enter Safe Mode manually –

$ Hdfs dfsadmin -safe mode enter

Once the safe mode is entered manually, it should be removed manually.

Below command is used to leave Safe Mode manually –

$ hdfs dfsadmin -safe mode leave

...