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

ASF GitHub Bot logged work on HIVE-24484:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 22/Jul/21 17:54
            Start Date: 22/Jul/21 17:54
    Worklog Time Spent: 10m 
      Work Description: belugabehr commented on a change in pull request #1742:
URL: https://github.com/apache/hive/pull/1742#discussion_r675041145



##########
File path: 
standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java
##########
@@ -367,6 +368,7 @@ public static void startMetaStore(int port, 
HadoopThriftAuthBridge bridge,
     boolean tcpKeepAlive = MetastoreConf.getBoolVar(conf, 
ConfVars.TCP_KEEP_ALIVE);
     boolean useCompactProtocol = MetastoreConf.getBoolVar(conf, 
ConfVars.USE_THRIFT_COMPACT_PROTOCOL);
     boolean useSSL = MetastoreConf.getBoolVar(conf, ConfVars.USE_SSL);
+    ProxyUsers.refreshSuperUserGroupsConfiguration(conf);

Review comment:
       So ya, this was done as a separate thing buried in the Hive code.  This 
makes it much more explicit and less hidden.
   
   Before Hadoop 3.3, it could easily be detected if a call to 
`refreshSuperUserGroupsConfiguration` had already been performed because there 
was a corresponding getter that would return a `null` value if it had not.  
Well, in 3.3 that went away and instead of returning null, you get some sort of 
default value.  So now one can't lazily refresh these configurations, if they 
haven't already been, it's better to just refresh them explicitly here and be 
done with it.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 626807)
    Time Spent: 5.05h  (was: 4h 53m)

> 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: 5.05h
>  Remaining Estimate: 0h
>




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

Reply via email to