Return-Path: X-Original-To: apmail-hadoop-yarn-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-yarn-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 78A191029F for ; Thu, 9 Jan 2014 03:59:57 +0000 (UTC) Received: (qmail 12028 invoked by uid 500); 9 Jan 2014 03:59:18 -0000 Delivered-To: apmail-hadoop-yarn-issues-archive@hadoop.apache.org Received: (qmail 11960 invoked by uid 500); 9 Jan 2014 03:59:11 -0000 Mailing-List: contact yarn-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: yarn-issues@hadoop.apache.org Delivered-To: mailing list yarn-issues@hadoop.apache.org Received: (qmail 11901 invoked by uid 99); 9 Jan 2014 03:59:06 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Jan 2014 03:59:06 +0000 Date: Thu, 9 Jan 2014 03:59:06 +0000 (UTC) From: "Karthik Kambatla (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (YARN-1568) Rename clusterid to clusterId in ActiveRMInfoProto MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/YARN-1568?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13866289#comment-13866289 ] Karthik Kambatla commented on YARN-1568: ---------------------------------------- bq. our convention is to mark all fields as optional and handle any 'required' nature in code. I see. That is why I saw some other protos have optional fields in them even though they were required by the protocols. I am just curious - is there a good reason for adopting this convention? Adding a new proto with required fileds is definitely not incompatible, right? > Rename clusterid to clusterId in ActiveRMInfoProto > --------------------------------------------------- > > Key: YARN-1568 > URL: https://issues.apache.org/jira/browse/YARN-1568 > Project: Hadoop YARN > Issue Type: Task > Components: resourcemanager > Affects Versions: 2.4.0 > Reporter: Karthik Kambatla > Assignee: Karthik Kambatla > Priority: Trivial > Fix For: 2.4.0 > > Attachments: yarn-1568-1.patch, yarn-1568-1.patch > > > YARN-1029 introduces ActiveRMInfoProto - just realized it defines a field clusterid, which is inconsistent with other fields. Better to fix it immediately than leave the inconsistency. -- This message was sent by Atlassian JIRA (v6.1.5#6160)