From e0f27f37555b82617bc7111bcf891563942f5a70 Mon Sep 17 00:00:00 2001 From: Arpit Agarwal Date: Fri, 28 Feb 2014 20:35:44 +0000 Subject: [PATCH] HADOOP-10285. Merging r1573052 from trunk to branch-2. git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2@1573063 13f79535-47bb-0310-9956-ffa450edef68 --- .../hadoop-common/CHANGES.txt | 3 + .../dev-support/findbugsExcludeFile.xml | 4 + hadoop-common-project/hadoop-common/pom.xml | 1 + .../hadoop/ipc/RefreshCallQueueProtocol.java | 48 ++++++++++++ ...llQueueProtocolClientSideTranslatorPB.java | 74 +++++++++++++++++++ .../RefreshCallQueueProtocolPB.java | 37 ++++++++++ ...llQueueProtocolServerSideTranslatorPB.java | 55 ++++++++++++++ .../main/proto/RefreshCallQueueProtocol.proto | 52 +++++++++++++ .../apache/hadoop/hdfs/NameNodeProxies.java | 16 +++- .../hadoop/hdfs/server/namenode/NameNode.java | 3 + .../server/namenode/NameNodeRpcServer.java | 24 ++++++ .../server/protocol/NamenodeProtocols.java | 2 + .../apache/hadoop/hdfs/tools/DFSAdmin.java | 34 +++++++++ .../hadoop/hdfs/TestIsMethodSupported.java | 13 ++++ 14 files changed, 365 insertions(+), 1 deletion(-) create mode 100644 hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ipc/RefreshCallQueueProtocol.java create mode 100644 hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ipc/protocolPB/RefreshCallQueueProtocolClientSideTranslatorPB.java create mode 100644 hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ipc/protocolPB/RefreshCallQueueProtocolPB.java create mode 100644 hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ipc/protocolPB/RefreshCallQueueProtocolServerSideTranslatorPB.java create mode 100644 hadoop-common-project/hadoop-common/src/main/proto/RefreshCallQueueProtocol.proto diff --git a/hadoop-common-project/hadoop-common/CHANGES.txt b/hadoop-common-project/hadoop-common/CHANGES.txt index 119fec9df4a..69729190061 100644 --- a/hadoop-common-project/hadoop-common/CHANGES.txt +++ b/hadoop-common-project/hadoop-common/CHANGES.txt @@ -11,6 +11,9 @@ Release 2.5.0 - UNRELEASED HADOOP-10278. Refactor to make CallQueue pluggable. (Chris Li via Arpit Agarwal) + HADOOP-10285. Admin interface to swap callqueue at runtime. (Chris Li via + Arpit Agarwal) + OPTIMIZATIONS BUG FIXES diff --git a/hadoop-common-project/hadoop-common/dev-support/findbugsExcludeFile.xml b/hadoop-common-project/hadoop-common/dev-support/findbugsExcludeFile.xml index 3e5661ea0d7..24fded9ef6b 100644 --- a/hadoop-common-project/hadoop-common/dev-support/findbugsExcludeFile.xml +++ b/hadoop-common-project/hadoop-common/dev-support/findbugsExcludeFile.xml @@ -301,6 +301,10 @@ + + + +