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 28945200B8E for ; Mon, 26 Sep 2016 14:14:24 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 23E57160AE3; Mon, 26 Sep 2016 12:14:24 +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 91824160AB8 for ; Mon, 26 Sep 2016 14:14:23 +0200 (CEST) Received: (qmail 61867 invoked by uid 500); 26 Sep 2016 12:14:22 -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 61837 invoked by uid 99); 26 Sep 2016 12:14:22 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Sep 2016 12:14:22 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 4F8AB2C2A5F for ; Mon, 26 Sep 2016 12:14:22 +0000 (UTC) Date: Mon, 26 Sep 2016 12:14:22 +0000 (UTC) From: "Weiwei Yang (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (YARN-5668) Support content-type: application/json in RM's /conf endpoint MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 26 Sep 2016 12:14:24 -0000 [ https://issues.apache.org/jira/browse/YARN-5668?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15522873#comment-15522873 ] Weiwei Yang commented on YARN-5668: ----------------------------------- Hi [~Sreenath] I think this is already resolved in HADOOP-13588, I have an additional JIRA working on to improve a "name" parameter to directly retrieve a conf property by its name, you can see more in HADOOP-13628. > Support content-type: application/json in RM's /conf endpoint > ------------------------------------------------------------- > > Key: YARN-5668 > URL: https://issues.apache.org/jira/browse/YARN-5668 > Project: Hadoop YARN > Issue Type: Improvement > Reporter: Sreenath Somarajapuram > > - Right now all requests send to RM's /conf endpoint is responded with xml data. Would be great if the endpoint checks the request headers, and return data in JSON format for content-type: application/json. > - This would make accessing configurations from web UIs easier. Else it would add an extra UI dependency on any of the xml libraries. -- 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