From aeb13ef2ab657a1c2f9d9ed5f80783f788c4953a Mon Sep 17 00:00:00 2001 From: Andrew Wang Date: Wed, 10 Feb 2016 15:26:08 -0800 Subject: [PATCH] HDFS-9788. Incompatible tag renumbering in HeartbeatResponseProto. --- hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt | 2 ++ .../hadoop-hdfs/src/main/proto/DatanodeProtocol.proto | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt index d691ceb2938..e407ef3fd4d 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt +++ b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt @@ -2726,6 +2726,8 @@ Release 2.8.0 - UNRELEASED HDFS-9779 . TestReplicationPolicyWithNodeGroup NODE variable picks wrong rack value (Kuhu Shukla via umamahesh) + HDFS-9788. Incompatible tag renumbering in HeartbeatResponseProto. (wang) + Release 2.7.3 - UNRELEASED INCOMPATIBLE CHANGES diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/main/proto/DatanodeProtocol.proto b/hadoop-hdfs-project/hadoop-hdfs/src/main/proto/DatanodeProtocol.proto index 711118530cd..9bae4c3cf1f 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/main/proto/DatanodeProtocol.proto +++ b/hadoop-hdfs-project/hadoop-hdfs/src/main/proto/DatanodeProtocol.proto @@ -226,8 +226,8 @@ message HeartbeatResponseProto { repeated DatanodeCommandProto cmds = 1; // Returned commands can be null required NNHAStatusHeartbeatProto haStatus = 2; optional RollingUpgradeStatusProto rollingUpgradeStatus = 3; - optional uint64 fullBlockReportLeaseId = 4 [ default = 0 ]; - optional RollingUpgradeStatusProto rollingUpgradeStatusV2 = 5; + optional RollingUpgradeStatusProto rollingUpgradeStatusV2 = 4; + optional uint64 fullBlockReportLeaseId = 5 [ default = 0 ]; } /**