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

David Mollitor edited comment on HIVE-24484 at 6/25/21, 9:00 PM:
-----------------------------------------------------------------

A lot of heartburn still with [HADOOP-17367]. Ugh.  So, HMS uses Hadoop's 
{{ProxyUser}} class which stores its configuration in a static variable.  Well, 
there are some tests in Hive that launch two HMS instances within the same JVM. 
 So, setting the configuration for one instance of HMS blows away the other 
instance's Proxy configuration.  This was working previously because the the 
code would only load the instance once if it's already been loaded before 
(first-loader wins).  But since the change with [HADOOP-17367] this setup in 
HMS no longer works (it cannot detect if the {{ProxyUser}} has already been 
created because now a default instance is always returned).  So even though the 
second instance would technically be misconfigured if it were stand-alone, it 
would inherit the correct proxy settings by virtue of the first instance of HMS 
being configured correctly.


was (Author: belugabehr):
A lot of heartburn still with [HADOOP-17367]. Ugh.  So, HMS uses Hadoop's 
{{ProxyUser}} class which stores its configuration in a static variable.  Well, 
there are some tests in Hive that launch two HMS instances within the same JVM. 
 So, setting the configuration for one instance of HMS blows away the other 
instance's Proxy configuration.  This was working previously because the the 
code would only load the instance once if it's already been loaded before 
(first-loader wins).  But since the change with [HADOOP-17367] this setup in 
HMS no longer works (it cannot detect if the {{ProxyUser}} has already been 
created because now a default instance is always returned).

> Upgrade Hadoop to 3.3.1
> -----------------------
>
>                 Key: HIVE-24484
>                 URL: https://issues.apache.org/jira/browse/HIVE-24484
>             Project: Hive
>          Issue Type: Improvement
>            Reporter: David Mollitor
>            Assignee: David Mollitor
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 2h 20m
>  Remaining Estimate: 0h
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to