Posts: 416
Topics: 51
Kudos: 88
Solutions: 49
Registered: ‎06-26-2013
Re: safemode: Access denied for user cloudera. Superuser privilege is required.

That command must be run as the HDFS superuser (usually "hdfs").  So, try it this way:

 

sudo -u hdfs hdfs dfsadmin -safemode leave

 

HTH

View solution in original post

Who Me Too'd this solution