From 9619fc77408409cc2a6e87a3239687b7cdc6876a Mon Sep 17 00:00:00 2001 From: Karthik Kambatla Date: Fri, 10 Jan 2014 00:49:50 +0000 Subject: [PATCH] YARN-1579. ActiveRMInfoProto fields should be optional (kasha) git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2@1557002 13f79535-47bb-0310-9956-ffa450edef68 --- hadoop-yarn-project/CHANGES.txt | 2 ++ .../server/yarn_server_resourcemanager_service_protos.proto | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/hadoop-yarn-project/CHANGES.txt b/hadoop-yarn-project/CHANGES.txt index e40fc4d3eef..edd10924ad8 100644 --- a/hadoop-yarn-project/CHANGES.txt +++ b/hadoop-yarn-project/CHANGES.txt @@ -187,6 +187,8 @@ Release 2.4.0 - UNRELEASED YARN-1568. Rename clusterid to clusterId in ActiveRMInfoProto (kasha) + YARN-1579. ActiveRMInfoProto fields should be optional (kasha) + OPTIMIZATIONS BUG FIXES diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-api/src/main/proto/server/yarn_server_resourcemanager_service_protos.proto b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-api/src/main/proto/server/yarn_server_resourcemanager_service_protos.proto index e27f12a836a..aa9e0c625d0 100644 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-api/src/main/proto/server/yarn_server_resourcemanager_service_protos.proto +++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-api/src/main/proto/server/yarn_server_resourcemanager_service_protos.proto @@ -138,6 +138,6 @@ message RMStateVersionProto { ///////////// RM Failover related records //////////////////////// ////////////////////////////////////////////////////////////////// message ActiveRMInfoProto { - required string clusterId = 1; - required string rmId = 2; + optional string clusterId = 1; + optional string rmId = 2; }