瀏覽代碼

HADOOP-967. Change RPC clients to start sending a version header. Contributed by Owen.

git-svn-id: https://svn.apache.org/repos/asf/lucene/hadoop/trunk@502402 13f79535-47bb-0310-9956-ffa450edef68
Doug Cutting 18 年之前
父節點
當前提交
50344c1ff9
共有 2 個文件被更改,包括 4 次插入1 次删除
  1. 3 0
      CHANGES.txt
  2. 1 1
      src/java/org/apache/hadoop/ipc/Client.java

+ 3 - 0
CHANGES.txt

@@ -128,6 +128,9 @@ Trunk (unreleased changes)
 39. HADOOP-963.  Fix remote exceptions to have the stack trace of the
     caller thread, not the IPC listener thread.  (omalley via cutting)
 
+40. HADOOP-967.  Change RPC clients to start sending a version header.
+    (omalley via cutting)
+
 
 Release 0.10.1 - 2007-01-10
 

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

@@ -56,7 +56,7 @@ import org.apache.hadoop.util.StringUtils;
  */
 public class Client {
   /** Should the client send the header on the connection? */
-  private static final boolean SEND_HEADER = false;
+  private static final boolean SEND_HEADER = true;
   private static final byte CURRENT_VERSION = 0;
   
   public static final Log LOG =