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
This commit is contained in:
Tsz-wo Sze 2012-01-07 18:06:31 +00:00
parent 15a9e098cb
commit ab663fc96a
2 changed files with 6 additions and 2 deletions

View File

@ -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

View File

@ -388,8 +388,9 @@ private void registerProtocolAndImpl(Class<?> protocolClass,
}
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 {