From ce91e11c94572da7a0439ce4a52a7d7c62309991 Mon Sep 17 00:00:00 2001 From: Tsz-wo Sze Date: Wed, 15 Feb 2012 00:52:14 +0000 Subject: [PATCH] Fix a merge error in the previous commit (r1244226). git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-0.23-PB@1244294 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/main/java/org/apache/hadoop/ipc/Client.java | 1 + 1 file changed, 1 insertion(+) diff --git a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ipc/Client.java b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ipc/Client.java index bc751f20f2d..929b1e328cf 100644 --- a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ipc/Client.java +++ b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ipc/Client.java @@ -794,6 +794,7 @@ public class Client { //for serializing the //data to be written d = new DataOutputBuffer(); + d.writeInt(0); // placeholder for data length RpcPayloadHeader header = new RpcPayloadHeader( call.rpcKind, RpcPayloadOperation.RPC_FINAL_PAYLOAD, call.id); header.write(d);