hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Navis Ryu" <navis....@nexr.com>
Subject Review Request 17102: Implement show grant on <resource>
Date Sun, 19 Jan 2014 06:36:45 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/17102/
-----------------------------------------------------------

Review request for hive.


Bugs: HIVE-6122
    https://issues.apache.org/jira/browse/HIVE-6122


Repository: hive-git


Description
-------

Currently, hive shows privileges owned by a principal. Reverse API is also needed, which shows
all principals for a resource. 
{noformat}
show grant user hive_test_user on database default;
show grant user hive_test_user on table dummy;
show grant user hive_test_user on all;
{noformat}


Diffs
-----

  itests/hive-unit/src/test/java/org/apache/hadoop/hive/jdbc/TestJdbcDriver.java 8520d8f 
  itests/hive-unit/src/test/java/org/apache/hive/jdbc/TestJdbcDriver2.java 4090e72 
  metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java 56e9f0c 
  metastore/src/java/org/apache/hadoop/hive/metastore/ObjectStore.java 0a52b4d 
  metastore/src/java/org/apache/hadoop/hive/metastore/RawStore.java 27ae3c4 
  metastore/src/model/org/apache/hadoop/hive/metastore/model/MPrincipalDesc.java PRE-CREATION

  metastore/src/test/org/apache/hadoop/hive/metastore/DummyRawStoreControlledCommit.java 57f1e67

  metastore/src/test/org/apache/hadoop/hive/metastore/DummyRawStoreForJdoConnection.java c0e720f

  ql/src/java/org/apache/hadoop/hive/ql/exec/DDLTask.java 617bba8 
  ql/src/java/org/apache/hadoop/hive/ql/parse/HiveParser.g 1ce6bf3 
  ql/src/java/org/apache/hadoop/hive/ql/parse/authorization/HiveAuthorizationTaskFactoryImpl.java
c41cd0f 
  ql/src/test/queries/clientpositive/authorization_9.q PRE-CREATION 
  ql/src/test/results/clientnegative/authorization_fail_4.q.out db788d8 
  ql/src/test/results/clientnegative/authorization_fail_5.q.out e492a0a 
  ql/src/test/results/clientnegative/authorization_part.q.out 7a4bb8c 
  ql/src/test/results/clientpositive/alter_rename_partition_authorization.q.out 3631763 
  ql/src/test/results/clientpositive/authorization_2.q.out ec122bb 
  ql/src/test/results/clientpositive/authorization_6.q.out 0685c1e 
  ql/src/test/results/clientpositive/authorization_9.q.out PRE-CREATION 

Diff: https://reviews.apache.org/r/17102/diff/


Testing
-------


Thanks,

Navis Ryu


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message