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

Xuan Gong commented on YARN-5953:
---------------------------------

[~jhung]
In TestRMWebServicesConfigurationMutation#testUpdateQueue(), we have already 
use REST call to do the queue configuration update.
{code}
    response =
        r.path("ws").path("v1").path("cluster")
            .path("sched-conf").queryParam("user.name", userName)
            .accept(MediaType.APPLICATION_JSON)
            .entity(toJson(updateInfo, SchedConfUpdateInfo.class),
                MediaType.APPLICATION_JSON)
            .put(ClientResponse.class);
{code}

In RMAadminCLI, we only need to parse/combine related arguments into 
SchedConfUpdateInfo object. 

Protocolbuf approach is OK.  But it is more complicate..

> Create CLI for changing YARN configurations
> -------------------------------------------
>
>                 Key: YARN-5953
>                 URL: https://issues.apache.org/jira/browse/YARN-5953
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>            Reporter: Jonathan Hung
>            Assignee: Jonathan Hung
>         Attachments: YARN-5953-YARN-5734.001.patch
>
>
> Based on the design in YARN-5734.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to