浏览代码

Fix for HADOOP-78. Stream buffering was mistakenly disabled in writes
by the RPC client. Identified & fixed by Owen O'Malley.


git-svn-id: https://svn.apache.org/repos/asf/lucene/hadoop/trunk@385696 13f79535-47bb-0310-9956-ffa450edef68

Doug Cutting 19 年之前
父节点
当前提交
177ef6436f
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/java/org/apache/hadoop/ipc/Client.java

+ 1 - 1
src/java/org/apache/hadoop/ipc/Client.java

@@ -126,7 +126,7 @@ public class Client {
         (new BufferedOutputStream
          (new FilterOutputStream(socket.getOutputStream()) {
              public void write(byte[] buf, int o, int len) throws IOException {
-               super.write(buf, o, len);
+               out.write(buf, o, len);
                if (writingCall != null) {
                  writingCall.touch();
                }