Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.7.3
-
None
-
Reviewed
Description
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, by issuing
curl --header "Accept:application/json" http://${RM_HOST}/conf?name=yarn.nodemanager.aux-services
get output
{"property"{"key":"yarn.resourcemanager.hostname","value":"${RM_HOST}","isFinal":false,"resource":"yarn-site.xml"}}
This change is fully backwards compatible.