Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

hdfs dfsadmin command does not do anything - no output from command

hdfs dfsadmin command does not do anything - no output from command

New Contributor

Hello all,

I tried to do several dfsadmin, and it seems that a majority of them is not working.  For example, hdfs dfsadmin -safemode [enter | leave | get | wait] will return nothing.  There is no output from command line that indicates whether the NN is in safemode.

1 REPLY 1
Highlighted

Re: hdfs dfsadmin command does not do anything - no output from command

Cloudera Employee

This works on all the clusters I tested this on.  As the hdfs user I run:

 

# hdfs dfsadmin -safemode get

Safe mode is OFF

#