hive-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sean Bigdatafun <sean.bigdata...@gmail.com>
Subject Hive directory permissions
Date Thu, 16 Aug 2012 05:50:31 GMT
I ran the following command trying to setup my hive directory, but got the
following error.

root@cdh-client:/# hadoop fs -mkdir       /user/hive/warehouse
mkdir: org.apache.hadoop.security.AccessControlException: Permission
denied: user=root, access=WRITE, inode="/user":hdfs:hadoop:drwxr-xr-x

Can someone tell me what is the "correct" ownership for hive directories?
My "/user" directory is with the following ownership:
user<http://cdh-slave2-16g.hwhadoop.com:50075/browseDirectory.jsp?dir=%2Fuser&namenodeInfoPort=50070>
dir2012-08-14 16:51rwxr-xr-xhdfshadoop
Should I create a sub-directory under user with the following permission?
h<http://cdh-slave2-16g.hwhadoop.com:50075/browseDirectory.jsp?dir=%2Fuser&namenodeInfoPort=50070>
ivedir2012-08-14 16:51rwxr-xr-xhivehadoop
Thanks,
Sean

Mime
View raw message