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

Thejas M Nair edited comment on HIVE-15579 at 1/17/17 6:09 AM:
---------------------------------------------------------------

Thanks for the patch [~nandakumar131]
Replace the comment " //hack to support HADOOP_PROXY_USER" with "// If 
HADOOP_PROXY_USER is set in env or property, then need to create metastore 
client that proxies as that user"

If an exception is thrown during that process, we should thrown an exception 
and not continue further.
ie - throw new MetaException("Error while setting delegation token for " + 
proxyUser, e);



was (Author: thejas):
Replace the comment " //hack to support HADOOP_PROXY_USER" with "// If 
HADOOP_PROXY_USER is set in env or property, then need to create metastore 
client that proxies as that user"

If an exception is thrown during that process, we should thrown an exception 
and not continue further.
ie - throw new MetaException("Error while setting delegation token for " + 
proxyUser, e);


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