You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by th...@apache.org on 2014/04/06 02:08:55 UTC

svn commit: r1585214 - /hive/branches/branch-0.13/shims/common-secure/src/main/java/org/apache/hadoop/hive/shims/HadoopShimsSecure.java

Author: thejas
Date: Sun Apr  6 00:08:54 2014
New Revision: 1585214

URL: http://svn.apache.org/r1585214
Log:
HIVE-6800 : HiveServer2 is not passing proxy user setting through hive-site (Vaibhav Gumashta, reviewed by Prasad Mujumdar, Thejas Nair)

Modified:
    hive/branches/branch-0.13/shims/common-secure/src/main/java/org/apache/hadoop/hive/shims/HadoopShimsSecure.java

Modified: hive/branches/branch-0.13/shims/common-secure/src/main/java/org/apache/hadoop/hive/shims/HadoopShimsSecure.java
URL: http://svn.apache.org/viewvc/hive/branches/branch-0.13/shims/common-secure/src/main/java/org/apache/hadoop/hive/shims/HadoopShimsSecure.java?rev=1585214&r1=1585213&r2=1585214&view=diff
==============================================================================
--- hive/branches/branch-0.13/shims/common-secure/src/main/java/org/apache/hadoop/hive/shims/HadoopShimsSecure.java (original)
+++ hive/branches/branch-0.13/shims/common-secure/src/main/java/org/apache/hadoop/hive/shims/HadoopShimsSecure.java Sun Apr  6 00:08:54 2014
@@ -528,6 +528,7 @@ public abstract class HadoopShimsSecure 
   @Override
   public void authorizeProxyAccess(String proxyUser, UserGroupInformation realUserUgi,
       String ipAddress,  Configuration conf) throws IOException {
+    ProxyUsers.refreshSuperUserGroupsConfiguration(conf);
     ProxyUsers.authorize(UserGroupInformation.createProxyUser(proxyUser, realUserUgi),
         ipAddress, conf);
   }