You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "nicolas (JIRA)" <ji...@apache.org> on 2014/10/31 12:38:33 UTC

[jira] [Updated] (HIVE-8683) User name and group name cannot be the same when grant role

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

nicolas updated HIVE-8683:
--------------------------
    Status: Patch Available  (was: Open)

Alter metastore ROLE_MAP table schema can fix this issue

> 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
>
>   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)