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

Who agreed with 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



View solution in original post

Who agreed with this solution