Reply
New Contributor
Posts: 1
Registered: ‎03-28-2017

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

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.

Cloudera Employee
Posts: 1
Registered: ‎04-11-2017

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

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

 

# hdfs dfsadmin -safemode get

Safe mode is OFF

#

Announcements

Our community is getting a little larger. And a lot better.


Learn More about the Cloudera and Hortonworks community merger planned for late July and early August.