HDFS-2067. Bump DATA_TRANSFER_VERSION constant in trunk after introduction of protocol buffers in the protocol. Contributd by Tsz Wo (Nicholas), SZE.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hdfs/trunk@1134859 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/CHANGES.txt b/CHANGES.txt
index 0b5e15a..aa605d5 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -726,6 +726,9 @@
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
diff --git a/src/java/org/apache/hadoop/hdfs/protocol/DataTransferProtocol.java b/src/java/org/apache/hadoop/hdfs/protocol/DataTransferProtocol.java
index c340804..e756f95 100644
--- a/src/java/org/apache/hadoop/hdfs/protocol/DataTransferProtocol.java
+++ b/src/java/org/apache/hadoop/hdfs/protocol/DataTransferProtocol.java
@@ -72,10 +72,10 @@
* 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 {