Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 6E687200B5E for ; Tue, 26 Jul 2016 13:26:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 6D296160A56; Tue, 26 Jul 2016 11:26:22 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id B667E160A75 for ; Tue, 26 Jul 2016 13:26:21 +0200 (CEST) Received: (qmail 14430 invoked by uid 500); 26 Jul 2016 11:26:20 -0000 Mailing-List: contact yarn-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list yarn-issues@hadoop.apache.org Received: (qmail 14153 invoked by uid 99); 26 Jul 2016 11:26:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Jul 2016 11:26:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id A25482C0D62 for ; Tue, 26 Jul 2016 11:26:20 +0000 (UTC) Date: Tue, 26 Jul 2016 11:26:20 +0000 (UTC) From: "Varun Vasudev (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Comment Edited] (YARN-3662) Federation Membership State Store internal APIs MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 26 Jul 2016 11:26:22 -0000 [ https://issues.apache.org/jira/browse/YARN-3662?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15393651#comment-15393651 ] Varun Vasudev edited comment on YARN-3662 at 7/26/16 11:26 AM: --------------------------------------------------------------- That makes sense. Then let's drop the api piece from the package names? The fact that FedereationStore is an interface should make it clear it's an api. With regards to the Get/Set - I suspect it's better to follow the convention we follow in the rest of YARN. I think your point about filtering and the package hierarchy are valid, but on the other hand it makes it confusing for folks who've been working with the rest of YARN. bq. Minimize the wrapper request/response classes as they cause more overhead. I can add them if you still feel it's better to have them? I think we should add the, irrespective of the overhead. It's hugely helpful to have them, especially for future re-factoring work, if it comes up. Even though these are internal APIs, it will avoid a ton of rework every time someone wants to add a field or some return information. We suffered for not having the equivalent of these wrappers when we had to re-factor the ContainerExecutor classes. was (Author: vvasudev): That makes sense. Then let's drop the api piece from the package names? The fact that FedereationStore is an interface should make it clear it's an api. With regards to the Get/Set - I suspect it's better to follow the convention we follow in the rest of YARN. I think your point about filtering and the package hierarchy are valid, but on the other hand it makes it confusing for folks who've been working with the rest of YARN. > Federation Membership State Store internal APIs > ----------------------------------------------- > > Key: YARN-3662 > URL: https://issues.apache.org/jira/browse/YARN-3662 > Project: Hadoop YARN > Issue Type: Sub-task > Components: nodemanager, resourcemanager > Reporter: Subru Krishnan > Assignee: Subru Krishnan > Attachments: YARN-3662-YARN-2915-v1.1.patch, YARN-3662-YARN-2915-v1.patch, YARN-3662-YARN-2915-v2.patch, YARN-3662-YARN-2915-v3.01.patch, YARN-3662-YARN-2915-v3.patch, YARN-3662-YARN-2915-v4.patch > > > The Federation Application State encapsulates the information about the active RM of each sub-cluster that is participating in Federation. The information includes addresses for ClientRM, ApplicationMaster and Admin services along with the sub_cluster _capability_ which is currently defined by *ClusterMetricsInfo*. Please refer to the design doc in parent JIRA for further details. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org For additional commands, e-mail: yarn-issues-help@hadoop.apache.org