Permission denied: user=root, access=WRITE, inode="/user/root":hdfs:hdfs:drwxr-xr-x

If you are running the hive command as root and still recieve the same error, do the following

root@hadoop_server:~# sudo -u hdfs hadoop fs -mkdir /user/root
root@hadoop_server:~# sudo -u hdfs hadoop fs -chown root:root /user/root

this should fix the problem and you will be able to run the hive command line.

Comments

Popular posts from this blog

How to replace find -maxdepth option in Solaris Operating System using -prone

Oracle 10g installation steps in CentOS 5

Installing RPMforge for CentOS 5