From b2ffbd879620ad7650e046b9c797ae81118b452f Mon Sep 17 00:00:00 2001 From: Jing Zhao Date: Mon, 16 Jun 2014 17:51:37 +0000 Subject: [PATCH 01/27] HADOOP-10657. Have RetryInvocationHandler log failover attempt at INFO level. Contributed by Ming Ma. git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1602941 13f79535-47bb-0310-9956-ffa450edef68 --- hadoop-common-project/hadoop-common/CHANGES.txt | 3 +++ .../org/apache/hadoop/io/retry/RetryInvocationHandler.java | 4 +--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/hadoop-common-project/hadoop-common/CHANGES.txt b/hadoop-common-project/hadoop-common/CHANGES.txt index 73e6421e0c8..18137a081cf 100644 --- a/hadoop-common-project/hadoop-common/CHANGES.txt +++ b/hadoop-common-project/hadoop-common/CHANGES.txt @@ -427,6 +427,9 @@ Release 2.5.0 - UNRELEASED HADOOP-10688. Expose thread-level FileSystem StatisticsData (Sandy Ryza) + HADOOP-10657. Have RetryInvocationHandler log failover attempt at INFO + level. (Ming Ma via jing9) + OPTIMIZATIONS BUG FIXES diff --git a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/io/retry/RetryInvocationHandler.java b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/io/retry/RetryInvocationHandler.java index f3ba6cf8f54..543567e4781 100644 --- a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/io/retry/RetryInvocationHandler.java +++ b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/io/retry/RetryInvocationHandler.java @@ -136,9 +136,7 @@ public class RetryInvocationHandler implements RpcInvocationHandler { msg += " after " + invocationFailoverCount + " fail over attempts"; } msg += ". Trying to fail over " + formatSleepMessage(action.delayMillis); - if (LOG.isDebugEnabled()) { - LOG.debug(msg, e); - } + LOG.info(msg, e); } else { if(LOG.isDebugEnabled()) { LOG.debug("Exception while invoking " + method.getName() From 05b8e8f7c17a7d011a6a918179ee2f112a436759 Mon Sep 17 00:00:00 2001 From: Chris Nauroth Date: Mon, 16 Jun 2014 20:30:04 +0000 Subject: [PATCH 02/27] HADOOP-10683. Users authenticated with KERBEROS are recorded as being authenticated with SIMPLE. Contributed by Benoy Antony. git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1602991 13f79535-47bb-0310-9956-ffa450edef68 --- hadoop-common-project/hadoop-common/CHANGES.txt | 3 +++ .../main/java/org/apache/hadoop/ipc/Server.java | 2 +- .../hadoop/security/UserGroupInformation.java | 14 +++++++++++++- .../hadoop/security/TestUserGroupInformation.java | 14 ++++++++++++++ 4 files changed, 31 insertions(+), 2 deletions(-) diff --git a/hadoop-common-project/hadoop-common/CHANGES.txt b/hadoop-common-project/hadoop-common/CHANGES.txt index 18137a081cf..d5f19cd4e61 100644 --- a/hadoop-common-project/hadoop-common/CHANGES.txt +++ b/hadoop-common-project/hadoop-common/CHANGES.txt @@ -553,6 +553,9 @@ Release 2.5.0 - UNRELEASED HADOOP-10678. SecurityUtil has unnecessary synchronization on collection used for only tests. (Benoy Antony via cnauroth) + HADOOP-10683. Users authenticated with KERBEROS are recorded as being + authenticated with SIMPLE. (Benoy Antony via cnauroth) + BREAKDOWN OF HADOOP-10514 SUBTASKS AND RELATED JIRAS HADOOP-10520. Extended attributes definition and FileSystem APIs for diff --git a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ipc/Server.java b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ipc/Server.java index f1afe192c8d..0f11c97c9eb 100644 --- a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ipc/Server.java +++ b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ipc/Server.java @@ -1221,7 +1221,7 @@ public abstract class Server { ugi.addTokenIdentifier(tokenId); return ugi; } else { - return UserGroupInformation.createRemoteUser(authorizedId); + return UserGroupInformation.createRemoteUser(authorizedId, authMethod); } } diff --git a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/UserGroupInformation.java b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/UserGroupInformation.java index af552a798b1..1b024eb13ed 100644 --- a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/UserGroupInformation.java +++ b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/UserGroupInformation.java @@ -1157,13 +1157,25 @@ public class UserGroupInformation { @InterfaceAudience.Public @InterfaceStability.Evolving public static UserGroupInformation createRemoteUser(String user) { + return createRemoteUser(user, AuthMethod.SIMPLE); + } + + /** + * Create a user from a login name. It is intended to be used for remote + * users in RPC, since it won't have any credentials. + * @param user the full user principal name, must not be empty or null + * @return the UserGroupInformation for the remote user. + */ + @InterfaceAudience.Public + @InterfaceStability.Evolving + public static UserGroupInformation createRemoteUser(String user, AuthMethod authMethod) { if (user == null || user.isEmpty()) { throw new IllegalArgumentException("Null user"); } Subject subject = new Subject(); subject.getPrincipals().add(new User(user)); UserGroupInformation result = new UserGroupInformation(subject); - result.setAuthenticationMethod(AuthenticationMethod.SIMPLE); + result.setAuthenticationMethod(authMethod); return result; } diff --git a/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/security/TestUserGroupInformation.java b/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/security/TestUserGroupInformation.java index ed277627389..d6767825723 100644 --- a/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/security/TestUserGroupInformation.java +++ b/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/security/TestUserGroupInformation.java @@ -20,6 +20,7 @@ import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.fs.CommonConfigurationKeysPublic; import org.apache.hadoop.io.Text; import org.apache.hadoop.metrics2.MetricsRecordBuilder; +import org.apache.hadoop.security.SaslRpcServer.AuthMethod; import org.apache.hadoop.security.UserGroupInformation.AuthenticationMethod; import org.apache.hadoop.security.authentication.util.KerberosName; import org.apache.hadoop.security.token.Token; @@ -31,6 +32,7 @@ import javax.security.auth.Subject; import javax.security.auth.kerberos.KerberosPrincipal; import javax.security.auth.login.AppConfigurationEntry; import javax.security.auth.login.LoginContext; + import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; @@ -151,6 +153,18 @@ public class TestUserGroupInformation { assertEquals(AuthenticationMethod.PROXY, ugi.getAuthenticationMethod()); assertEquals(AuthenticationMethod.SIMPLE, ugi.getRealAuthenticationMethod()); } + + @Test (timeout = 30000) + public void testCreateRemoteUser() { + UserGroupInformation ugi = UserGroupInformation.createRemoteUser("user1"); + assertEquals(AuthenticationMethod.SIMPLE, ugi.getAuthenticationMethod()); + assertTrue (ugi.toString().contains("(auth:SIMPLE)")); + ugi = UserGroupInformation.createRemoteUser("user1", + AuthMethod.KERBEROS); + assertEquals(AuthenticationMethod.KERBEROS, ugi.getAuthenticationMethod()); + assertTrue (ugi.toString().contains("(auth:KERBEROS)")); + } + /** Test login method */ @Test (timeout = 30000) public void testLogin() throws Exception { From b98da7f3b580616401c468181a48002ec7f53835 Mon Sep 17 00:00:00 2001 From: Colin McCabe Date: Mon, 16 Jun 2014 20:35:45 +0000 Subject: [PATCH 03/27] HDFS-6539. test_native_mini_dfs is skipped in hadoop-hdfs pom.xml (decstery via cmccabe) git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1602998 13f79535-47bb-0310-9956-ffa450edef68 --- hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt | 3 +++ hadoop-hdfs-project/hadoop-hdfs/pom.xml | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt index a1ca31ccff9..5b300cad230 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt +++ b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt @@ -636,6 +636,9 @@ Release 2.5.0 - UNRELEASED HDFS-6375. Listing extended attributes with the search permission. (Charles Lamb via wang) + HDFS-6539. test_native_mini_dfs is skipped in hadoop-hdfs/pom.xml + (decstery via cmccabe) + BREAKDOWN OF HDFS-2006 SUBTASKS AND RELATED JIRAS HDFS-6299. Protobuf for XAttr and client-side implementation. (Yi Liu via umamahesh) diff --git a/hadoop-hdfs-project/hadoop-hdfs/pom.xml b/hadoop-hdfs-project/hadoop-hdfs/pom.xml index 1e1972961d8..14019b26925 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/pom.xml +++ b/hadoop-hdfs-project/hadoop-hdfs/pom.xml @@ -408,7 +408,7 @@ http://maven.apache.org/xsd/maven-4.0.0.xsd"> - + From 082c2ab8b894e8d01b85dfa9b36df4183349c192 Mon Sep 17 00:00:00 2001 From: Karthik Kambatla Date: Mon, 16 Jun 2014 20:45:38 +0000 Subject: [PATCH 04/27] YARN-2159. Better logging in SchedulerNode#allocateContainer. (Ray Chiang via kasha) git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1603003 13f79535-47bb-0310-9956-ffa450edef68 --- hadoop-yarn-project/CHANGES.txt | 3 +++ .../yarn/server/resourcemanager/scheduler/SchedulerNode.java | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/hadoop-yarn-project/CHANGES.txt b/hadoop-yarn-project/CHANGES.txt index 1463e400c94..0ba092e2a21 100644 --- a/hadoop-yarn-project/CHANGES.txt +++ b/hadoop-yarn-project/CHANGES.txt @@ -164,6 +164,9 @@ Release 2.5.0 - UNRELEASED YARN-2125. Changed ProportionalCapacityPreemptionPolicy to log CSV in debug level. (Wangda Tan via jianhe) + YARN-2159. Better logging in SchedulerNode#allocateContainer. + (Ray Chiang via kasha) + OPTIMIZATIONS BUG FIXES diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/SchedulerNode.java b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/SchedulerNode.java index 9fb8d23effb..7074059ecf4 100644 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/SchedulerNode.java +++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/SchedulerNode.java @@ -130,9 +130,9 @@ public abstract class SchedulerNode { LOG.info("Assigned container " + container.getId() + " of capacity " + container.getResource() + " on host " + rmNode.getNodeAddress() - + ", which currently has " + numContainers + " containers, " + + ", which has " + numContainers + " containers, " + getUsedResource() + " used and " + getAvailableResource() - + " available"); + + " available after allocation"); } /** From 45c52ef9246d2c97f120c7010cc5196c7307cce7 Mon Sep 17 00:00:00 2001 From: Andrew Wang Date: Mon, 16 Jun 2014 22:47:58 +0000 Subject: [PATCH 05/27] HDFS-6518. TestCacheDirectives#testExceedsCapacity should take FSN read lock when accessing pendingCached list. (wang) git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1603016 13f79535-47bb-0310-9956-ffa450edef68 --- hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt | 4 ++++ .../server/namenode/TestCacheDirectives.java | 17 +++++++++++------ 2 files changed, 15 insertions(+), 6 deletions(-) diff --git a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt index 5b300cad230..ac701cf2633 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt +++ b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt @@ -443,6 +443,10 @@ Release 2.5.0 - UNRELEASED HDFS-6499. Use NativeIO#renameTo instead of File#renameTo in FileJournalManager. (Yongjun Zhang via atm) + HDFS-6518. TestCacheDirectives#testExceedsCapacity should + take FSN read lock when accessing pendingCached list. + (wang) + OPTIMIZATIONS HDFS-6214. Webhdfs has poor throughput for files >2GB (daryn) diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestCacheDirectives.java b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestCacheDirectives.java index 8ef3887dd56..bb8ef969168 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestCacheDirectives.java +++ b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestCacheDirectives.java @@ -1408,12 +1408,17 @@ public class TestCacheDirectives { */ private void checkPendingCachedEmpty(MiniDFSCluster cluster) throws Exception { - final DatanodeManager datanodeManager = - cluster.getNamesystem().getBlockManager().getDatanodeManager(); - for (DataNode dn : cluster.getDataNodes()) { - DatanodeDescriptor descriptor = - datanodeManager.getDatanode(dn.getDatanodeId()); - Assert.assertTrue(descriptor.getPendingCached().isEmpty()); + cluster.getNamesystem().readLock(); + try { + final DatanodeManager datanodeManager = + cluster.getNamesystem().getBlockManager().getDatanodeManager(); + for (DataNode dn : cluster.getDataNodes()) { + DatanodeDescriptor descriptor = + datanodeManager.getDatanode(dn.getDatanodeId()); + Assert.assertTrue(descriptor.getPendingCached().isEmpty()); + } + } finally { + cluster.getNamesystem().readUnlock(); } } From f4b1c44415dcf3686327a8f327593bdd9d5250af Mon Sep 17 00:00:00 2001 From: Andrew Wang Date: Mon, 16 Jun 2014 23:07:31 +0000 Subject: [PATCH 06/27] HDFS-6528. Add XAttrs to TestOfflineImageViewer. Contributed by Stephen Chu. git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1603020 13f79535-47bb-0310-9956-ffa450edef68 --- hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt | 2 ++ .../offlineImageViewer/TestOfflineImageViewer.java | 13 ++++++++++--- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt index ac701cf2633..bf2aeb40864 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt +++ b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt @@ -447,6 +447,8 @@ Release 2.5.0 - UNRELEASED take FSN read lock when accessing pendingCached list. (wang) + HDFS-6528. Add XAttrs to TestOfflineImageViewer. (Stephen Chu via wang) + OPTIMIZATIONS HDFS-6214. Webhdfs has poor throughput for files >2GB (daryn) diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/tools/offlineImageViewer/TestOfflineImageViewer.java b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/tools/offlineImageViewer/TestOfflineImageViewer.java index 32efe3431b7..e5df79ec83f 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/tools/offlineImageViewer/TestOfflineImageViewer.java +++ b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/tools/offlineImageViewer/TestOfflineImageViewer.java @@ -138,6 +138,13 @@ public class TestOfflineImageViewer { hdfs.mkdirs(new Path("/snapshot/1")); hdfs.delete(snapshot, true); + // Set XAttrs so the fsimage contains XAttr ops + final Path xattr = new Path("/xattr"); + hdfs.mkdirs(xattr); + hdfs.setXAttr(xattr, "user.a1", new byte[]{ 0x31, 0x32, 0x33 }); + hdfs.setXAttr(xattr, "user.a2", new byte[]{ 0x37, 0x38, 0x39 }); + writtenFiles.put(xattr.toString(), hdfs.getFileStatus(xattr)); + // Write results to the fsimage file hdfs.setSafeMode(SafeModeAction.SAFEMODE_ENTER, false); hdfs.saveNamespace(); @@ -210,8 +217,8 @@ public class TestOfflineImageViewer { matcher = p.matcher(output.getBuffer()); assertTrue(matcher.find() && matcher.groupCount() == 1); int totalDirs = Integer.parseInt(matcher.group(1)); - // totalDirs includes root directory and empty directory - assertEquals(NUM_DIRS + 2, totalDirs); + // totalDirs includes root directory, empty directory, and xattr directory + assertEquals(NUM_DIRS + 3, totalDirs); FileStatus maxFile = Collections.max(writtenFiles.values(), new Comparator() { @@ -264,7 +271,7 @@ public class TestOfflineImageViewer { // verify the number of directories FileStatus[] statuses = webhdfs.listStatus(new Path("/")); - assertEquals(NUM_DIRS + 1, statuses.length); // contains empty directory + assertEquals(NUM_DIRS + 2, statuses.length); // contains empty and xattr directory // verify the number of files in the directory statuses = webhdfs.listStatus(new Path("/dir0")); From c04a4b42274362560c019c3169a582e546864abf Mon Sep 17 00:00:00 2001 From: Chris Nauroth Date: Mon, 16 Jun 2014 23:09:30 +0000 Subject: [PATCH 07/27] HADOOP-10702. KerberosAuthenticationHandler does not log the principal names correctly. Contributed by Benoy Antony. git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1603023 13f79535-47bb-0310-9956-ffa450edef68 --- .../authentication/server/KerberosAuthenticationHandler.java | 2 +- hadoop-common-project/hadoop-common/CHANGES.txt | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/hadoop-common-project/hadoop-auth/src/main/java/org/apache/hadoop/security/authentication/server/KerberosAuthenticationHandler.java b/hadoop-common-project/hadoop-auth/src/main/java/org/apache/hadoop/security/authentication/server/KerberosAuthenticationHandler.java index 333eb8e43a0..48273905429 100644 --- a/hadoop-common-project/hadoop-auth/src/main/java/org/apache/hadoop/security/authentication/server/KerberosAuthenticationHandler.java +++ b/hadoop-common-project/hadoop-auth/src/main/java/org/apache/hadoop/security/authentication/server/KerberosAuthenticationHandler.java @@ -193,7 +193,7 @@ public class KerberosAuthenticationHandler implements AuthenticationHandler { for (String spnegoPrincipal : spnegoPrincipals) { LOG.info("Login using keytab {}, for principal {}", - keytab, principal); + keytab, spnegoPrincipal); final KerberosConfiguration kerberosConfiguration = new KerberosConfiguration(keytab, spnegoPrincipal); final LoginContext loginContext = diff --git a/hadoop-common-project/hadoop-common/CHANGES.txt b/hadoop-common-project/hadoop-common/CHANGES.txt index d5f19cd4e61..1d81bc63b57 100644 --- a/hadoop-common-project/hadoop-common/CHANGES.txt +++ b/hadoop-common-project/hadoop-common/CHANGES.txt @@ -556,6 +556,9 @@ Release 2.5.0 - UNRELEASED HADOOP-10683. Users authenticated with KERBEROS are recorded as being authenticated with SIMPLE. (Benoy Antony via cnauroth) + HADOOP-10702. KerberosAuthenticationHandler does not log the principal names + correctly. (Benoy Antony via cnauroth) + BREAKDOWN OF HADOOP-10514 SUBTASKS AND RELATED JIRAS HADOOP-10520. Extended attributes definition and FileSystem APIs for From 50cd2a6bed7521d517e69c38f3249c26b328fa8f Mon Sep 17 00:00:00 2001 From: Andrew Wang Date: Mon, 16 Jun 2014 23:23:33 +0000 Subject: [PATCH 08/27] HADOOP-10666. Remove Copyright /d/d/d/d Apache Software Foundation from the source files license header. Contributed by Henry Saputra. git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1603025 13f79535-47bb-0310-9956-ffa450edef68 --- hadoop-common-project/hadoop-common/CHANGES.txt | 3 +++ .../hadoop-common/src/main/conf/hadoop-env.sh | 2 -- .../hadoop-common/src/main/conf/hadoop-policy.xml | 2 -- .../hadoop-common/src/main/conf/log4j.properties | 2 -- .../java/org/apache/hadoop/maven/plugin/protoc/ProtocMojo.java | 2 -- .../main/java/org/apache/hadoop/maven/plugin/util/Exec.java | 2 -- .../java/org/apache/hadoop/maven/plugin/util/FileSetUtils.java | 2 -- .../hadoop/maven/plugin/versioninfo/VersionInfoMojo.java | 2 -- .../hadoop-distcp/src/main/resources/distcp-default.xml | 2 -- hadoop-tools/hadoop-distcp/src/test/resources/sslConfig.xml | 2 -- 10 files changed, 3 insertions(+), 18 deletions(-) diff --git a/hadoop-common-project/hadoop-common/CHANGES.txt b/hadoop-common-project/hadoop-common/CHANGES.txt index 1d81bc63b57..41cf81ad012 100644 --- a/hadoop-common-project/hadoop-common/CHANGES.txt +++ b/hadoop-common-project/hadoop-common/CHANGES.txt @@ -430,6 +430,9 @@ Release 2.5.0 - UNRELEASED HADOOP-10657. Have RetryInvocationHandler log failover attempt at INFO level. (Ming Ma via jing9) + HADOOP-10666. Remove Copyright /d/d/d/d Apache Software Foundation from + the source files license header. (Henry Saputra via wang) + OPTIMIZATIONS BUG FIXES diff --git a/hadoop-common-project/hadoop-common/src/main/conf/hadoop-env.sh b/hadoop-common-project/hadoop-common/src/main/conf/hadoop-env.sh index a5485255c73..f2643894082 100644 --- a/hadoop-common-project/hadoop-common/src/main/conf/hadoop-env.sh +++ b/hadoop-common-project/hadoop-common/src/main/conf/hadoop-env.sh @@ -1,5 +1,3 @@ -# Copyright 2011 The Apache Software Foundation -# # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information diff --git a/hadoop-common-project/hadoop-common/src/main/conf/hadoop-policy.xml b/hadoop-common-project/hadoop-common/src/main/conf/hadoop-policy.xml index ee9d70f99a7..39e4f4da25f 100644 --- a/hadoop-common-project/hadoop-common/src/main/conf/hadoop-policy.xml +++ b/hadoop-common-project/hadoop-common/src/main/conf/hadoop-policy.xml @@ -1,8 +1,6 @@