10-14-2013 07:40 PM
I am using the cloudera VM and geting below error when run the below command from terminal.
[cloudera@localhost ~]$ hdfs dfsadmin -safemode leave
safemode: Access denied for user cloudera. Superuser privilege is required
Quick help will appreciate.
10-16-2013 12:19 PM
That command must be run as the HDFS superuser (usually "hdfs"). So, try it this way:
sudo -u hdfs hdfs dfsadmin -safemode leave
10-13-2016 11:52 PM
I am having this issue.
Tried with the command you have given however there is one more error which says -
Java HotSpot(TM) 64-Bit Server VM warning: Insufficient space for shared memory file:
Try using the -Djava.io.tmpdir= option to select an alternate temp location.
i am not sure about setting this Djava.io.tmpdir, can you please help ?