From 3f9828851aa064a429c96c459fd9f7cd5caf24ab Mon Sep 17 00:00:00 2001 From: Karthik Kambatla Date: Fri, 10 Jan 2014 00:49:15 +0000 Subject: [PATCH] YARN-1579. ActiveRMInfoProto fields should be optional (kasha) git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1557001 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 083d5b55c5..a03cdd9034 100644 --- a/hadoop-yarn-project/CHANGES.txt +++ b/hadoop-yarn-project/CHANGES.txt @@ -205,6 +205,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 e27f12a836..aa9e0c625d 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; }