nicolas created HIVE-8683: ----------------------------- Summary: User name and group name cannot be the same when grant role Key: HIVE-8683 URL: https://issues.apache.org/jira/browse/HIVE-8683 Project: Hive Issue Type: Bug Components: Authorization Affects Versions: 0.13.1, 0.14.0 Environment: HiveServer with remote metastore server Reporter: nicolas Priority: Minor Fix For: 0.14.0
Reproduce steps: 1. Start hive beeline 2. Create a new role with command "create role test;" 3. Grant role test to user hive_user with command "grant role test to user hive_user" 4. Grant role test group hive_user with command "grant role test to group hive_user" Step 4 failed with error message "Error: Error while processing statement: FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. Error granting roles for test_user to role test: null (state=08S01,code=1)" -- This message was sent by Atlassian JIRA (v6.3.4#6332)