hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "LINTE (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HIVE-8954) StorageBasedAuthorizationProvider Check write permission on HDFS on SELECT SQL request
Date Mon, 24 Nov 2014 16:47:12 GMT
LINTE created HIVE-8954:
---------------------------

             Summary: StorageBasedAuthorizationProvider Check write permission on HDFS on
SELECT SQL request
                 Key: HIVE-8954
                 URL: https://issues.apache.org/jira/browse/HIVE-8954
             Project: Hive
          Issue Type: Bug
          Components: Authorization
    Affects Versions: 0.14.0
         Environment: centos 6.5 
            Reporter: LINTE


With hive.security.metastore.authorization.manager set to org.apache.hadoop.hive.ql.security.authorization.StorageBasedAuthorizationProvider.

It seem that on a read request, write permissions are check on the HDFS by the metastore.

sample :

bash# hive 
hive (default)> use database;
OK
Time taken: 0.747 seconds
hive (database)> SELECT * FROM  table LIMIT 10;
FAILED: HiveException java.security.AccessControlException: action WRITE not permitted on
path hdfs://cluster/hive_warehouse/database.db/table for user myuser








--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message