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

Gour Saha commented on YARN-7781:
---------------------------------

[~eyang] I think ServiceState.FLEX is not even required to trigger the flex 
operation via REST. I filed YARN-8161 to get rid of it. I am not going to make 
any FLEX related changes in this patch and address it all in YARN-8161. One 
example regarding the flex API was missing which has been added in this patch 
(without any change to the enum name).

bq. In the example JSON, dependencies, node_attributes, node_partitions are not 
clear to the reader. Can we fill in the value or remove them for ease of 
reading?
Removed dependencies and added values for node attributes and node partitions

bq. ...docker ENTRY_POINT support..
For the ENTRY_POINT suggestion, can you please file a new sub-task. 
[~billie.rinaldi] has made a lot of changes to the configurations and examples 
in YARN-8060 and it would be good to do this separately and on top of her 
changes.

> Update YARN-Services-Examples.md to be in sync with the latest code
> -------------------------------------------------------------------
>
>                 Key: YARN-7781
>                 URL: https://issues.apache.org/jira/browse/YARN-7781
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>            Reporter: Gour Saha
>            Assignee: Gour Saha
>            Priority: Major
>         Attachments: YARN-7781.01.patch, YARN-7781.02.patch, 
> YARN-7781.03.patch, YARN-7781.04.patch
>
>
> Update YARN-Services-Examples.md to make the following additions/changes:
> 1. Add an additional URL and PUT Request JSON to support flex:
> Update to flex up/down the no of containers (instances) of a component of a 
> service
> PUT URL – http://localhost:8088/app/v1/services/hello-world
> PUT Request JSON
> {code}
> {
>   "components" : [ {
>     "name" : "hello",
>     "number_of_containers" : 3
>   } ]
> }
> {code}
> 2. Modify all occurrences of /ws/ to /app/



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

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

Reply via email to