Created 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
HTH
View solution in original post