瀏覽代碼

HADOOP-4197. Update DATA_TRANSFER_VERSION for HADOOP-3981. (szetszwo)

git-svn-id: https://svn.apache.org/repos/asf/hadoop/core/trunk@696522 13f79535-47bb-0310-9956-ffa450edef68
Tsz-wo Sze 17 年之前
父節點
當前提交
2683907d23
共有 2 個文件被更改,包括 6 次插入4 次删除
  1. 2 0
      CHANGES.txt
  2. 4 4
      src/hdfs/org/apache/hadoop/hdfs/protocol/FSConstants.java

+ 2 - 0
CHANGES.txt

@@ -589,6 +589,8 @@ Trunk (unreleased changes)
     HADOOP-4087. Hive Metastore API for php and python clients.
     (Prasad Chakka via dhruba)
 
+    HADOOP-4197. Update DATA_TRANSFER_VERSION for HADOOP-3981. (szetszwo)
+
 Release 0.18.1 - 2008-09-17
 
   IMPROVEMENTS

+ 4 - 4
src/hdfs/org/apache/hadoop/hdfs/protocol/FSConstants.java

@@ -102,11 +102,11 @@ public interface FSConstants {
    * when protocol changes. It is not very obvious. 
    */
   /*
-   * Version 12:
-   *    OP_READ_BLOCK includes clientName and OP_WRITE_BLOCK includes
-   *    clientName instead of path from DFSClient to Datanode
+   * Version 13:
+   *    Added a new operation, OP_BLOCK_CHECKSUM, for obtaining
+   *    the checksum of a block from a datanode.
    */
-  public static final int DATA_TRANSFER_VERSION = 12;
+  public static final int DATA_TRANSFER_VERSION = 13;
 
   // Return codes for file create
   public static final int OPERATION_FAILED = 0;