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

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1311543 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Todd Lipcon 2012-04-10 01:02:05 +00:00
parent 91528ce9ed
commit 4b0d4d54d9
2 changed files with 8 additions and 0 deletions

View File

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

View File

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