HADOOP-8263. Stringification of IPC calls not useful. Contributed by Todd Lipcon.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2@1311542 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Todd Lipcon 2012-04-10 01:02:00 +00:00
parent 5293bf2910
commit 72c44aa50e
2 changed files with 8 additions and 0 deletions

View File

@ -225,6 +225,8 @@ Release 2.0.0 - UNRELEASED
HADOOP-8261. Har file system doesn't deal with FS URIs with a host but no
port. (atm)
HADOOP-8263. Stringification of IPC calls not useful (todd)
BREAKDOWN OF HADOOP-7454 SUBTASKS
HADOOP-7455. HA: Introduce HA Service Protocol Interface. (suresh)

View File

@ -268,6 +268,12 @@ public class ProtobufRpcEngine implements RpcEngine {
in.readFully(bytes);
message = HadoopRpcRequestProto.parseFrom(bytes);
}
@Override
public String toString() {
return message.getDeclaringClassProtocolName() + "." +
message.getMethodName();
}
}
/**