You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by cn...@apache.org on 2014/04/15 01:43:54 UTC
svn commit: r1587361 - in
/hadoop/common/trunk/hadoop-common-project/hadoop-common: CHANGES.txt
src/test/java/org/apache/hadoop/security/TestDoAsEffectiveUser.java
Author: cnauroth
Date: Mon Apr 14 23:43:53 2014
New Revision: 1587361
URL: http://svn.apache.org/r1587361
Log:
HADOOP-10500. TestDoAsEffectiveUser fails on JDK7 due to failure to reset proxy user configuration. Contributed by Chris Nauroth.
Modified:
hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/security/TestDoAsEffectiveUser.java
Modified: hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt?rev=1587361&r1=1587360&r2=1587361&view=diff
==============================================================================
--- hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt (original)
+++ hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt Mon Apr 14 23:43:53 2014
@@ -385,6 +385,9 @@ Release 2.5.0 - UNRELEASED
HADOOP-10496. Metrics system FileSink can leak file descriptor. (cnauroth)
+ HADOOP-10500. TestDoAsEffectiveUser fails on JDK7 due to failure to reset
+ proxy user configuration. (cnauroth)
+
Release 2.4.1 - UNRELEASED
INCOMPATIBLE CHANGES
Modified: hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/security/TestDoAsEffectiveUser.java
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/security/TestDoAsEffectiveUser.java?rev=1587361&r1=1587360&r2=1587361&view=diff
==============================================================================
--- hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/security/TestDoAsEffectiveUser.java (original)
+++ hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/security/TestDoAsEffectiveUser.java Mon Apr 14 23:43:53 2014
@@ -74,8 +74,9 @@ public class TestDoAsEffectiveUser {
}
@Before
- public void setMasterConf() {
+ public void setMasterConf() throws IOException {
UserGroupInformation.setConfiguration(masterConf);
+ refreshConf(masterConf);
}
private void configureSuperUserIPAddresses(Configuration conf,
@@ -297,6 +298,8 @@ public class TestDoAsEffectiveUser {
.setInstance(new TestImpl()).setBindAddress(ADDRESS).setPort(0)
.setNumHandlers(2).setVerbose(false).build();
+ refreshConf(conf);
+
try {
server.start();
@@ -379,6 +382,8 @@ public class TestDoAsEffectiveUser {
.setInstance(new TestImpl()).setBindAddress(ADDRESS).setPort(0)
.setNumHandlers(2).setVerbose(false).build();
+ refreshConf(conf);
+
try {
server.start();