You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-commits@hadoop.apache.org by to...@apache.org on 2011/06/12 05:48:54 UTC

svn commit: r1134859 - in /hadoop/hdfs/trunk: CHANGES.txt src/java/org/apache/hadoop/hdfs/protocol/DataTransferProtocol.java

Author: todd
Date: Sun Jun 12 03:48:53 2011
New Revision: 1134859

URL: http://svn.apache.org/viewvc?rev=1134859&view=rev
Log:
HDFS-2067. Bump DATA_TRANSFER_VERSION constant in trunk after introduction of protocol buffers in the protocol. Contributd by Tsz Wo (Nicholas), SZE.

Modified:
    hadoop/hdfs/trunk/CHANGES.txt
    hadoop/hdfs/trunk/src/java/org/apache/hadoop/hdfs/protocol/DataTransferProtocol.java

Modified: hadoop/hdfs/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/hdfs/trunk/CHANGES.txt?rev=1134859&r1=1134858&r2=1134859&view=diff
==============================================================================
--- hadoop/hdfs/trunk/CHANGES.txt (original)
+++ hadoop/hdfs/trunk/CHANGES.txt Sun Jun 12 03:48:53 2011
@@ -726,6 +726,9 @@ Trunk (unreleased changes)
 
     HDFS-2063. libhdfs test is broken. (Eric Yang via eli)
 
+    HDFS-2067. Bump DATA_TRANSFER_VERSION constant in trunk after introduction
+    of protocol buffers in the protocol. (szetszwo via todd)
+
 Release 0.22.0 - Unreleased
 
   INCOMPATIBLE CHANGES

Modified: hadoop/hdfs/trunk/src/java/org/apache/hadoop/hdfs/protocol/DataTransferProtocol.java
URL: http://svn.apache.org/viewvc/hadoop/hdfs/trunk/src/java/org/apache/hadoop/hdfs/protocol/DataTransferProtocol.java?rev=1134859&r1=1134858&r2=1134859&view=diff
==============================================================================
--- hadoop/hdfs/trunk/src/java/org/apache/hadoop/hdfs/protocol/DataTransferProtocol.java (original)
+++ hadoop/hdfs/trunk/src/java/org/apache/hadoop/hdfs/protocol/DataTransferProtocol.java Sun Jun 12 03:48:53 2011
@@ -72,10 +72,10 @@ public interface DataTransferProtocol {
    * when protocol changes. It is not very obvious. 
    */
   /*
-   * Version 25:
-   *    Encapsulate individual operation headers.
+   * Version 26:
+   *    Use protobuf.
    */
-  public static final int DATA_TRANSFER_VERSION = 25;
+  public static final int DATA_TRANSFER_VERSION = 26;
 
   /** Operation */
   public enum Op {