ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Siddharth Wagle (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AMBARI-4928) Cannot launch Hive CLI due to HDFS permission issues
Date Tue, 04 Mar 2014 01:20:21 GMT
Siddharth Wagle created AMBARI-4928:
---------------------------------------

             Summary: Cannot launch Hive CLI due to HDFS permission issues
                 Key: AMBARI-4928
                 URL: https://issues.apache.org/jira/browse/AMBARI-4928
             Project: Ambari
          Issue Type: Bug
          Components: agent
    Affects Versions: 1.5.0
            Reporter: Siddharth Wagle
            Assignee: Siddharth Wagle
             Fix For: 1.5.0


I couldnt launch the hive cli with the following exception being dumped
{code}
Exception in thread "main" java.lang.RuntimeException: org.apache.hadoop.security.AccessControlException:
Permission denied: user=hive, access=READ_EXECUTE, inode="/apps/hive/install":hive:hdfs:drw-r-xr-x
	at org.apache.hadoop.hdfs.server.namenode.FSPermissionChecker.checkFsPermission(FSPermissionChecker.java:265)
	at org.apache.hadoop.hdfs.server.namenode.FSPermissionChecker.check(FSPermissionChecker.java:251)
	at org.apache.hadoop.hdfs.server.namenode.FSPermissionChecker.checkPermission(FSPermissionChecker.java:182)
	at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.checkPermission(FSNamesystem.java:5441)
{code}

There were no JARs under {{/apps/hive/install}}. 

These were the following hdfs permissions. Notable is {{/apps/hive/insatll}} permissions of
0655. 
{code}
$ hadoop fs -ls /apps
Found 5 items
drwxrwxrwx   - falcon hdfs          0 2014-03-03 14:21 /apps/falcon
drwxr-xr-x   - hdfs   hdfs          0 2014-03-03 14:21 /apps/hbase
drwxr-xr-x   - hdfs   hdfs          0 2014-03-03 14:23 /apps/hive
drw-r-xr-x   - tez    hdfs          0 2014-03-03 14:23 /apps/tez
drwxr-xr-x   - hcat   hdfs          0 2014-03-03 14:29 /apps/webhcat
$ hadoop fs -ls /apps/hive
Found 2 items
drw-r-xr-x   - hive hdfs          0 2014-03-03 14:23 /apps/hive/install
drwxrwxrwx   - hive hdfs          0 2014-03-03 14:23 /apps/hive/warehouse
{code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message