hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brock Noland (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-7184) TestHadoop20SAuthBridge no longer compiles after HADOOP-10448
Date Wed, 03 Sep 2014 23:35:51 GMT

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

Brock Noland commented on HIVE-7184:
------------------------------------

Note that HADOOP-10817 requires changed in this patch.

{noformat}
@@ -130,7 +130,7 @@ private void configureSuperUserIPAddresses(Configuration conf,
     }
     builder.append("127.0.1.1,");
     builder.append(InetAddress.getLocalHost().getCanonicalHostName());
-    conf.setStrings(DefaultImpersonationProvider.getProxySuperuserIpConfKey(superUserShortName),
+    conf.setStrings(DefaultImpersonationProvider.getTestProvider().getProxySuperuserIpConfKey(superUserShortName),
         builder.toString());
   }
 
@@ -294,7 +294,7 @@ public String run() throws Exception {
   private void setGroupsInConf(String[] groupNames, String proxyUserName)
   throws IOException {
    conf.set(
-      DefaultImpersonationProvider.getProxySuperuserGroupConfKey(proxyUserName),
+      DefaultImpersonationProvider.getTestProvider().getProxySuperuserGroupConfKey(proxyUserName),
       StringUtils.join(",", Arrays.asList(groupNames)));
     configureSuperUserIPAddresses(conf, proxyUserName);
     ProxyUsers.refreshSuperUserGroupsConfiguration(conf);
{noformat}

> TestHadoop20SAuthBridge no longer compiles after HADOOP-10448
> -------------------------------------------------------------
>
>                 Key: HIVE-7184
>                 URL: https://issues.apache.org/jira/browse/HIVE-7184
>             Project: Hive
>          Issue Type: Sub-task
>          Components: Tests
>    Affects Versions: 0.14.0
>            Reporter: Jason Dere
>         Attachments: HIVE-7184.1.patch, HIVE-7184.2.patch
>
>
> HADOOP-10448 moves a couple of methods which were being used by the TestHadoop20SAuthBridge
test. If/when Hive build uses Hadoop 2.5 as a dependency, this will cause compilation errors.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message