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 2FF48200D0A for ; Wed, 4 Oct 2017 21:28:05 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 2E34B1609DD; Wed, 4 Oct 2017 19:28:05 +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 7305E1609D6 for ; Wed, 4 Oct 2017 21:28:04 +0200 (CEST) Received: (qmail 68973 invoked by uid 500); 4 Oct 2017 19:28:03 -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 68962 invoked by uid 99); 4 Oct 2017 19:28:03 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Oct 2017 19:28:03 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id E1D1B1A21A8 for ; Wed, 4 Oct 2017 19:28:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -100.002 X-Spam-Level: X-Spam-Status: No, score=-100.002 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id cfI6N6PW7E8Q for ; Wed, 4 Oct 2017 19:28:02 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id A9B6460D79 for ; Wed, 4 Oct 2017 19:28:01 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id CA1B2E0EF5 for ; Wed, 4 Oct 2017 19:28:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 357B724307 for ; Wed, 4 Oct 2017 19:28:00 +0000 (UTC) Date: Wed, 4 Oct 2017 19:28:00 +0000 (UTC) From: "Eric Yang (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (YARN-7216) Missing ability to list configuration vs status MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 04 Oct 2017 19:28:05 -0000 [ https://issues.apache.org/jira/browse/YARN-7216?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16191886#comment-16191886 ] Eric Yang commented on YARN-7216: --------------------------------- The current patch depends on YARN-7202 changes. > Missing ability to list configuration vs status > ----------------------------------------------- > > Key: YARN-7216 > URL: https://issues.apache.org/jira/browse/YARN-7216 > Project: Hadoop YARN > Issue Type: Sub-task > Components: api, applications > Reporter: Eric Yang > Assignee: Eric Yang > Attachments: YARN-7216.yarn-native-services.001.patch > > > API Server has /ws/v1/services/{service_name}. This REST end point returns Services object which contains both configuration and status. When status or macro based parameters changed in Services object, it can confuse UI code to making configuration changes. The suggestion is to preserve a copy of configuration object independent of status object. This gives UI ability to change services configuration and update configuration. > Similar to Ambari, it might provide better information if we have the following separated REST end points: > {code} > /ws/v1/services/[service_name]/spec > /ws/v1/services/[service_name]/status > {code} -- This message was sent by Atlassian JIRA (v6.4.14#64029) --------------------------------------------------------------------- To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org For additional commands, e-mail: yarn-issues-help@hadoop.apache.org