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

nicolas updated HIVE-8683:
--------------------------
    Attachment: HIVE-8683.1.patch

> 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.14.0, 0.13.1
>         Environment: HiveServer with remote metastore server
>            Reporter: nicolas
>            Priority: Minor
>             Fix For: 0.14.0
>
>         Attachments: HIVE-8683.1.patch
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> 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)

Reply via email to