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.

Who Me Too'd this solution

Re: safemode: Access denied for user cloudera. Superuser privilege is required.

Master Collaborator

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

 

sudo -u hdfs hdfs dfsadmin -safemode leave

 

HTH

Who Me Too'd this solution