You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Weiwei Yang (JIRA)" <ji...@apache.org> on 2016/09/20 16:36:20 UTC
[jira] [Created] (HADOOP-13628) Support to retrieve specific
property from configuration via REST API
Weiwei Yang created HADOOP-13628:
------------------------------------
Summary: Support to retrieve specific property from configuration via REST API
Key: HADOOP-13628
URL: https://issues.apache.org/jira/browse/HADOOP-13628
Project: Hadoop Common
Issue Type: Improvement
Components: conf
Affects Versions: 2.7.3
Reporter: Weiwei Yang
Assignee: Weiwei Yang
Currently we can use rest API to retrieve all configuration properties per daemon, but unable to get a specific property by name. This causes extra parse work at client side when dealing with Hadoop configurations, and also it's quite over head to send all configuration in a http response over network. Propose to support following a {{name}} parameter in the http request,
{code}
curl --header "Accept:application/json" http://${RM_HOST}/conf?name=yarn.nodemanager.aux-services
{"property"{"key":"yarn.resourcemanager.hostname","value":"${RM_HOST}","isFinal":false,"resource":"yarn-site.xml"}}
{code}
This change is fully backwards compatible.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: common-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-dev-help@hadoop.apache.org