HADOOP-7968. Errant println left in RPC.getHighestSupportedProtocol (Sho Shimauchi via harsh)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1231732 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
aee1bb81c6
commit
a9002bfea1
|
@ -83,6 +83,8 @@ Trunk (unreleased changes)
|
||||||
|
|
||||||
HADOOP-4515. Configuration#getBoolean must not be case sensitive. (Sho Shimauchi via harsh)
|
HADOOP-4515. Configuration#getBoolean must not be case sensitive. (Sho Shimauchi via harsh)
|
||||||
|
|
||||||
|
HADOOP-7968. Errant println left in RPC.getHighestSupportedProtocol (Sho Shimauchi via harsh)
|
||||||
|
|
||||||
BUGS
|
BUGS
|
||||||
|
|
||||||
HADOOP-7851. Configuration.getClasses() never returns the default value.
|
HADOOP-7851. Configuration.getClasses() never returns the default value.
|
||||||
|
|
|
@ -791,7 +791,10 @@ public class RPC {
|
||||||
String protocolName) {
|
String protocolName) {
|
||||||
Long highestVersion = 0L;
|
Long highestVersion = 0L;
|
||||||
ProtoClassProtoImpl highest = null;
|
ProtoClassProtoImpl highest = null;
|
||||||
System.out.println("Size of protoMap for " + rpcKind + " =" + getProtocolImplMap(rpcKind).size());
|
if (LOG.isDebugEnabled()) {
|
||||||
|
LOG.debug("Size of protoMap for " + rpcKind + " ="
|
||||||
|
+ getProtocolImplMap(rpcKind).size());
|
||||||
|
}
|
||||||
for (Map.Entry<ProtoNameVer, ProtoClassProtoImpl> pv :
|
for (Map.Entry<ProtoNameVer, ProtoClassProtoImpl> pv :
|
||||||
getProtocolImplMap(rpcKind).entrySet()) {
|
getProtocolImplMap(rpcKind).entrySet()) {
|
||||||
if (pv.getKey().protocol.equals(protocolName)) {
|
if (pv.getKey().protocol.equals(protocolName)) {
|
||||||
|
|
Loading…
Reference in New Issue