hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aihua Xu (JIRA)" <>
Subject [jira] [Commented] (HIVE-11826) 'hadoop.proxyuser.hive.groups' configuration doesn't prevent unauthorized user to access metastore
Date Thu, 17 Sep 2015 23:56:04 GMT


Aihua Xu commented on HIVE-11826:

Sorry. I didn't upstream 0.13 but in CDH5.3.3 with Hive-0.13 which seems to have correct change.
Then upstream 0.13 will also have the same issue. I will update to use the newer version.

         if (useProxy) {
            clientUgi = UserGroupInformation.createProxyUser(
                endUser, UserGroupInformation.getLoginUser());
            // ensure that metastore user has privilege to impersonate the requesting user
                getRemoteAddress().getHostAddress(), null);
            LOG.debug("Set remoteUser :" + remoteUser.get());

> 'hadoop.proxyuser.hive.groups' configuration doesn't prevent unauthorized user to access
> --------------------------------------------------------------------------------------------------
>                 Key: HIVE-11826
>                 URL:
>             Project: Hive
>          Issue Type: Bug
>          Components: Metastore
>    Affects Versions: 2.0.0
>            Reporter: Aihua Xu
>            Assignee: Aihua Xu
>         Attachments: HIVE-11826.2.patch, HIVE-11826.patch
> With 'hadoop.proxyuser.hive.groups' configured in core-site.xml to certain groups, currently
if you run the job with a user not belonging to those groups, it won't fail to access metastore.
With old version hive 0.13, actually it fails properly. 
> Seems correctly call ProxyUsers.authorize() while HadoopThriftAuthBridge23

This message was sent by Atlassian JIRA

View raw message