You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Weiwei Yang (JIRA)" <ji...@apache.org> on 2018/08/01 03:01:00 UTC

[jira] [Commented] (YARN-8559) Expose mutable-conf scheduler's configuration in RM /scheduler-conf endpoint

    [ https://issues.apache.org/jira/browse/YARN-8559?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16564662#comment-16564662 ] 

Weiwei Yang commented on YARN-8559:
-----------------------------------

Hi [~suma.shivaprasad]/[~leftnoteasy]

Thanks for the comments.

bq. Can you pls add documentation in ResourceManagerRest.md

Sure, will update in next patch.

bq. can we use the existing logic similar to ConfServlet?

I think we should stick to the JAX-RS pattern in RMWebService, that is more consistent. Also it is easier to support both standard json/xml content type without parsing the request. After all DAO is just a wrapper, non-functional change.

bq. it might be better to protect access of the REST endpoint by admin

Make sense to me, will update in next patch.

Thanks

> Expose mutable-conf scheduler's configuration in RM /scheduler-conf endpoint
> ----------------------------------------------------------------------------
>
>                 Key: YARN-8559
>                 URL: https://issues.apache.org/jira/browse/YARN-8559
>             Project: Hadoop YARN
>          Issue Type: Improvement
>          Components: resourcemanager
>            Reporter: Anna Savarin
>            Assignee: Weiwei Yang
>            Priority: Major
>         Attachments: YARN-8559.001.patch, YARN-8559.002.patch, YARN-8559.003.patch
>
>
> All Hadoop services provide a set of common endpoints (/stacks, /logLevel, /metrics, /jmx, /conf).  In the case of the Resource Manager, part of the configuration comes from the scheduler being used.  Currently, these configuration key/values are not exposed through the /conf endpoint, thereby revealing an incomplete configuration picture. 
> Make an improvement and expose the scheduling configuration info through the RM's /conf endpoint.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org