slfan1989 commented on code in PR #5151:
URL: https://github.com/apache/hadoop/pull/5151#discussion_r1027064892
##########
hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ipc/Client.java:
##########
@@ -1941,6 +1963,20 @@ public ByteBuffer readResponse() throws IOException {
public void sendRequest(byte[] buf) throws IOException {
out.write(buf);
}
+
+ public void sendRequest(ProtobufRpcEngine2.RpcProtobufRequestWithHeader
rpcRequest)
+ throws IOException {
+ out.writeInt(rpcRequest.getLength());
+ rpcRequest.getHeader().writeDelimitedTo(out);
+ rpcRequest.getRpcRequest().writeTo(out);
+ }
+
+ public void sendRequest(int totalSize, RpcRequestHeaderProto header,
+ Message rpcRequest) throws IOException {
Review Comment:
indentation
##########
hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ipc/Client.java:
##########
@@ -1941,6 +1963,20 @@ public ByteBuffer readResponse() throws IOException {
public void sendRequest(byte[] buf) throws IOException {
out.write(buf);
}
+
+ public void sendRequest(ProtobufRpcEngine2.RpcProtobufRequestWithHeader
rpcRequest)
+ throws IOException {
Review Comment:
indentation
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]