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 3158D200C05 for ; Mon, 23 Jan 2017 14:15:38 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 2FF1D160B53; Mon, 23 Jan 2017 13:15:38 +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 77A04160B3E for ; Mon, 23 Jan 2017 14:15:37 +0100 (CET) Received: (qmail 66066 invoked by uid 500); 23 Jan 2017 13:15:34 -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 66043 invoked by uid 99); 23 Jan 2017 13:15:33 -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; Mon, 23 Jan 2017 13:15:33 +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 0D5B51A0464 for ; Mon, 23 Jan 2017 13:15:33 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -1.199 X-Spam-Level: X-Spam-Status: No, score=-1.199 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LAZY_DOMAIN_SECURITY=1, RP_MATCHES_RCVD=-2.999] 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 1v4tknazHDM8 for ; Mon, 23 Jan 2017 13:15:31 +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 104935F4EC for ; Mon, 23 Jan 2017 13:15:31 +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 38EE9E039B for ; Mon, 23 Jan 2017 13:15:27 +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 B7B752528F for ; Mon, 23 Jan 2017 13:15:26 +0000 (UTC) Date: Mon, 23 Jan 2017 13:15:26 +0000 (UTC) From: "Varun Saxena (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Comment Edited] (YARN-6105) Support for new REST end point /clusterids MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 23 Jan 2017 13:15:38 -0000 [ https://issues.apache.org/jira/browse/YARN-6105?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15834435#comment-15834435 ] Varun Saxena edited comment on YARN-6105 at 1/23/17 1:15 PM: ------------------------------------------------------------- bq. I discussed with cloud team today, constant clusterId or storing it separately as info does not work for them. Hmm...Trying to understand the issue better. What issues do they face if they publish entities with a constant cluster ID in the cloud? Is there any advantage in differentiating between different ephemeral clusters, and that too as part of the context(i.e. via YARN tags) ? In a cloud scenario, does the user even care about the different cluster IDs' each time his job is run? Wouldn't cluster information be provided by the Cloud Manager or we plan to have Cloud Manager get this info too from ATS? Agree that each cluster is unique, but if cluster ID is dynamically generated at runtime as clusters come up and go away, we need to see how much sense this cluster ID would make for end user. Anyways, assuming that for cloud scenario, a constant cluster is not to be given, if we want a list of all cluster IDs', I guess we would need it at real time. In that case we cannot have a periodic job finding out unique cluster IDs' and adding them to the new table as suggested above. Correct ? I am fine with having a /clusterids per say as I mentioned on the other JIRA, but for cloud use case, wouldn't this list become quite large? And as it becomes quite large, we need to see how useful it is. We can probably provide some API to register cluster if the use case for cloud is strong enough and there is no feasible alternative. Thoughts ? was (Author: varun_saxena): bq. I discussed with cloud team today, constant clusterId or storing it separately as info does not work for them. Hmm...Trying to understand the issue better. What issues do they face if they publish entities with a constant cluster ID across the cloud? Is there any advantage in differentiating between different ephemeral clusters, and that too as part of the context(i.e. via YARN tags) ? In a cloud scenario, does the user even care about the different cluster IDs' each time his job is run? Wouldn't cluster information be provided by the Cloud Manager or we plan to have Cloud Manager get this info too from ATS ? Anyways, assuming that for cloud scenario, a constant cluster is not to be given, if we want a list of all cluster IDs', I guess we would need it at real time. In that case we cannot have a periodic job finding out unique cluster IDs' and adding them to the new table as suggested above. Correct ? I am fine with having a /clusterids per say as I mentioned on the other JIRA, but for cloud use case, wouldn't this list become quite large? And as it becomes quite large, we need to see how useful it is. > Support for new REST end point /clusterids > ------------------------------------------ > > Key: YARN-6105 > URL: https://issues.apache.org/jira/browse/YARN-6105 > Project: Hadoop YARN > Issue Type: Sub-task > Components: timelineserver > Reporter: Rohith Sharma K S > > As discussed in YARN-5378 and YARN-6095, it is required to have */clusterids* that returns list of clusterids that back end has is useful. > Use case : In cloud, clusters are arbitrarily spin up and destroyed. Each cluster has its own clusterId which UI never knows about it. To all those newly spin up cluster, same ATS server has been used. And sam web UI has been used. Admin can select the clusterId and navigate to any pages. So, it is worth to list ClusterId's from ATS -- 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