[jira] [Updated] (HIVE-1915) authorization on database level is broken.

2012-10-10 Thread Carl Steinbach (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-1915?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Carl Steinbach updated HIVE-1915:
-

Component/s: Authorization

 authorization on database level is broken.
 --

 Key: HIVE-1915
 URL: https://issues.apache.org/jira/browse/HIVE-1915
 Project: Hive
  Issue Type: Bug
  Components: Authorization, Metastore, Security
Reporter: He Yongqiang
Assignee: He Yongqiang
 Fix For: 0.7.0

 Attachments: HIVE-1915.1.patch, HIVE-1915-2.patch, HIVE-1915-3.patch


 CREATE DATABASE IF NOT EXISTS test_db COMMENT 'Hive test database';
 SHOW DATABASES;
 grant `drop` on DATABASE test_db to user hive_test_user;
 grant `select` on DATABASE test_db to user hive_test_user;
 show grant user hive_test_user on DATABASE test_db;
 DROP DATABASE IF EXISTS test_db;
 will fail.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] Updated: (HIVE-1915) authorization on database level is broken.

2011-01-19 Thread Carl Steinbach (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-1915?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Carl Steinbach updated HIVE-1915:
-

   Resolution: Fixed
Fix Version/s: 0.7.0
 Hadoop Flags: [Reviewed]
   Status: Resolved  (was: Patch Available)

Committed. Thanks Yongqiang!

 authorization on database level is broken.
 --

 Key: HIVE-1915
 URL: https://issues.apache.org/jira/browse/HIVE-1915
 Project: Hive
  Issue Type: Bug
  Components: Metastore, Security
Reporter: He Yongqiang
Assignee: He Yongqiang
 Fix For: 0.7.0

 Attachments: HIVE-1915-2.patch, HIVE-1915-3.patch, HIVE-1915.1.patch


 CREATE DATABASE IF NOT EXISTS test_db COMMENT 'Hive test database';
 SHOW DATABASES;
 grant `drop` on DATABASE test_db to user hive_test_user;
 grant `select` on DATABASE test_db to user hive_test_user;
 show grant user hive_test_user on DATABASE test_db;
 DROP DATABASE IF EXISTS test_db;
 will fail.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Updated: (HIVE-1915) authorization on database level is broken.

2011-01-18 Thread He Yongqiang (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-1915?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

He Yongqiang updated HIVE-1915:
---

Status: Patch Available  (was: Open)

 authorization on database level is broken.
 --

 Key: HIVE-1915
 URL: https://issues.apache.org/jira/browse/HIVE-1915
 Project: Hive
  Issue Type: Bug
  Components: Metastore, Security
Reporter: He Yongqiang
Assignee: He Yongqiang
 Attachments: HIVE-1915-2.patch, HIVE-1915.1.patch


 CREATE DATABASE IF NOT EXISTS test_db COMMENT 'Hive test database';
 SHOW DATABASES;
 grant `drop` on DATABASE test_db to user hive_test_user;
 grant `select` on DATABASE test_db to user hive_test_user;
 show grant user hive_test_user on DATABASE test_db;
 DROP DATABASE IF EXISTS test_db;
 will fail.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Updated: (HIVE-1915) authorization on database level is broken.

2011-01-18 Thread He Yongqiang (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-1915?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

He Yongqiang updated HIVE-1915:
---

Attachment: HIVE-1915-2.patch

The new patch integrated Namit's comment. Added listRoleNames to the metastore 
API and cleanup all roles in QTestUtils.

 authorization on database level is broken.
 --

 Key: HIVE-1915
 URL: https://issues.apache.org/jira/browse/HIVE-1915
 Project: Hive
  Issue Type: Bug
  Components: Metastore, Security
Reporter: He Yongqiang
Assignee: He Yongqiang
 Attachments: HIVE-1915-2.patch, HIVE-1915.1.patch


 CREATE DATABASE IF NOT EXISTS test_db COMMENT 'Hive test database';
 SHOW DATABASES;
 grant `drop` on DATABASE test_db to user hive_test_user;
 grant `select` on DATABASE test_db to user hive_test_user;
 show grant user hive_test_user on DATABASE test_db;
 DROP DATABASE IF EXISTS test_db;
 will fail.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Updated: (HIVE-1915) authorization on database level is broken.

2011-01-18 Thread Carl Steinbach (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-1915?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Carl Steinbach updated HIVE-1915:
-

Status: Open  (was: Patch Available)

 authorization on database level is broken.
 --

 Key: HIVE-1915
 URL: https://issues.apache.org/jira/browse/HIVE-1915
 Project: Hive
  Issue Type: Bug
  Components: Metastore, Security
Reporter: He Yongqiang
Assignee: He Yongqiang
 Attachments: HIVE-1915-2.patch, HIVE-1915.1.patch


 CREATE DATABASE IF NOT EXISTS test_db COMMENT 'Hive test database';
 SHOW DATABASES;
 grant `drop` on DATABASE test_db to user hive_test_user;
 grant `select` on DATABASE test_db to user hive_test_user;
 show grant user hive_test_user on DATABASE test_db;
 DROP DATABASE IF EXISTS test_db;
 will fail.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Updated: (HIVE-1915) authorization on database level is broken.

2011-01-18 Thread He Yongqiang (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-1915?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

He Yongqiang updated HIVE-1915:
---

Status: Patch Available  (was: Open)

 authorization on database level is broken.
 --

 Key: HIVE-1915
 URL: https://issues.apache.org/jira/browse/HIVE-1915
 Project: Hive
  Issue Type: Bug
  Components: Metastore, Security
Reporter: He Yongqiang
Assignee: He Yongqiang
 Attachments: HIVE-1915-2.patch, HIVE-1915.1.patch


 CREATE DATABASE IF NOT EXISTS test_db COMMENT 'Hive test database';
 SHOW DATABASES;
 grant `drop` on DATABASE test_db to user hive_test_user;
 grant `select` on DATABASE test_db to user hive_test_user;
 show grant user hive_test_user on DATABASE test_db;
 DROP DATABASE IF EXISTS test_db;
 will fail.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Updated: (HIVE-1915) authorization on database level is broken.

2011-01-16 Thread Namit Jain (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-1915?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Namit Jain updated HIVE-1915:
-

Status: Open  (was: Patch Available)

 authorization on database level is broken.
 --

 Key: HIVE-1915
 URL: https://issues.apache.org/jira/browse/HIVE-1915
 Project: Hive
  Issue Type: Bug
  Components: Metastore, Security
Reporter: He Yongqiang
Assignee: He Yongqiang
 Attachments: HIVE-1915.1.patch


 CREATE DATABASE IF NOT EXISTS test_db COMMENT 'Hive test database';
 SHOW DATABASES;
 grant `drop` on DATABASE test_db to user hive_test_user;
 grant `select` on DATABASE test_db to user hive_test_user;
 show grant user hive_test_user on DATABASE test_db;
 DROP DATABASE IF EXISTS test_db;
 will fail.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Updated: (HIVE-1915) authorization on database level is broken.

2011-01-14 Thread He Yongqiang (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-1915?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

He Yongqiang updated HIVE-1915:
---

Status: Patch Available  (was: Open)

 authorization on database level is broken.
 --

 Key: HIVE-1915
 URL: https://issues.apache.org/jira/browse/HIVE-1915
 Project: Hive
  Issue Type: Bug
Reporter: He Yongqiang
Assignee: He Yongqiang
 Attachments: HIVE-1915.1.patch


 CREATE DATABASE IF NOT EXISTS test_db COMMENT 'Hive test database';
 SHOW DATABASES;
 grant `drop` on DATABASE test_db to user hive_test_user;
 grant `select` on DATABASE test_db to user hive_test_user;
 show grant user hive_test_user on DATABASE test_db;
 DROP DATABASE IF EXISTS test_db;
 will fail.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Updated: (HIVE-1915) authorization on database level is broken.

2011-01-14 Thread Carl Steinbach (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-1915?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Carl Steinbach updated HIVE-1915:
-

Component/s: Security
 Metastore

@Yongqiang: can you please create a review request on reviews.apache.org? 
Thanks!

 authorization on database level is broken.
 --

 Key: HIVE-1915
 URL: https://issues.apache.org/jira/browse/HIVE-1915
 Project: Hive
  Issue Type: Bug
  Components: Metastore, Security
Reporter: He Yongqiang
Assignee: He Yongqiang
 Attachments: HIVE-1915.1.patch


 CREATE DATABASE IF NOT EXISTS test_db COMMENT 'Hive test database';
 SHOW DATABASES;
 grant `drop` on DATABASE test_db to user hive_test_user;
 grant `select` on DATABASE test_db to user hive_test_user;
 show grant user hive_test_user on DATABASE test_db;
 DROP DATABASE IF EXISTS test_db;
 will fail.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.