[ 
https://issues.apache.org/jira/browse/HIVE-15579?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15826246#comment-15826246
 ] 

Nanda kumar commented on HIVE-15579:
------------------------------------

[~thejas], thanks for the review. 
Incorporated the review comments in [^HIVE-15579.001.patch].

MetaException doesn't support (String, Exception), so added the following logic

{code}
catch (Exception e) {
        LOG.error("Error while setting delegation token for " + proxyUser + " 
user.");
        if(e instanceof MetaException) {
          throw (MetaException)e;
        } else {
          throw new MetaException(e.getMessage());
        }
{code}


Please review.

> Support HADOOP_PROXY_USER for secure impersonation in hive metastore client
> ---------------------------------------------------------------------------
>
>                 Key: HIVE-15579
>                 URL: https://issues.apache.org/jira/browse/HIVE-15579
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Thejas M Nair
>            Assignee: Nanda kumar
>         Attachments: HIVE-15579.000.patch, HIVE-15579.001.patch
>
>
> Hadoop clients support HADOOP_PROXY_USER for secure impersonation. It would 
> be useful to have similar feature for hive metastore client.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to