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

Brock Noland commented on HIVE-7682:
------------------------------------

One work around is to check to see if the current UGI is configured for the 
requested authentication type 
(UserGroupInformation.getCurrentUser().getAuthenticationMethod();) and not 
create a new Configuration object if the current authentication type is the 
same as what the UGI is configured with.

> HadoopThriftAuthBridge20S should not reset configuration unless required
> ------------------------------------------------------------------------
>
>                 Key: HIVE-7682
>                 URL: https://issues.apache.org/jira/browse/HIVE-7682
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Brock Noland
>
> In HadoopThriftAuthBridge20S methods createClientWithConf and 
> getCurrentUGIWithConf we create new Configuration objects so we can set the 
> authentication type. When loading the new Configuration object, it looks like 
> core-site.xml for the cluster it's connected to.
> This causes issues for Oozie since oozie does not have access to the 
> core-site.xml as it's cluster agnostic.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to