Преглед изворни кода

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();
                }