From ab663fc96a739c36df8726c93a02996d870cc1ca Mon Sep 17 00:00:00 2001 From: Tsz-wo Sze Date: Sat, 7 Jan 2012 18:06:31 +0000 Subject: [PATCH] svn merge -c 1178639 from trunk for HADOOP-7716. git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-0.23-PB@1228688 13f79535-47bb-0310-9956-ffa450edef68 --- hadoop-common-project/hadoop-common/CHANGES.txt | 3 +++ .../main/java/org/apache/hadoop/ipc/WritableRpcEngine.java | 5 +++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/hadoop-common-project/hadoop-common/CHANGES.txt b/hadoop-common-project/hadoop-common/CHANGES.txt index 54df8d8fdc4..b356e46ddc9 100644 --- a/hadoop-common-project/hadoop-common/CHANGES.txt +++ b/hadoop-common-project/hadoop-common/CHANGES.txt @@ -13,6 +13,9 @@ Release 0.23-PB - Unreleased HADOOP-7693. Enhance AvroRpcEngine to support the new #addProtocol interface introduced in HADOOP-7524. (cutting) + HADOOP-7716 RPC protocol registration on SS does not log the protocol name + (only the class which may be different) (sanjay) + Release 0.23.1 - Unreleased INCOMPATIBLE CHANGES diff --git a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ipc/WritableRpcEngine.java b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ipc/WritableRpcEngine.java index d1a80361850..314bfac5824 100644 --- a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ipc/WritableRpcEngine.java +++ b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ipc/WritableRpcEngine.java @@ -388,8 +388,9 @@ public class WritableRpcEngine implements RpcEngine { } protocolImplMap.put(new ProtoNameVer(protocolName, version), new ProtoClassProtoImpl(protocolClass, protocolImpl)); - LOG.info("ProtocolImpl=" + protocolImpl.getClass().getName() + - " protocolClass=" + protocolClass.getName() + " version=" + version); + LOG.info("Protocol Name = " + protocolName + " version=" + version + + " ProtocolImpl=" + protocolImpl.getClass().getName() + + " protocolClass=" + protocolClass.getName()); } private static class VerProtocolImpl {