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

Eric Yang commented on YARN-7781:
---------------------------------

[~gsaha] Thank you for the patch.  I am still not 100% sure that requesting a 
service to change state using present perfect progressive tense or past tense 
like Ambari are the right way to go about REST API requests.  Billie and others 
can weight in on this change.

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?

Two possible FAQs which are not clear from usage screen, docker ENTRY_POINT 
support and mount user defined mount points.  For example:

{code}
      "configuration": {
        "env": {
          
"YARN_CONTAINER_RUNTIME_DOCKER_MOUNTS":"/etc/hadoop/conf:/etc/hadoop/conf:ro",
          "YARN_CONTAINER_RUNTIME_DOCKER_RUN_OVERRIDE_DISABLE":"true"
        }
      }
{code}

These flags show user how to enable ENTRY_POINT support and mount 
/etc/hadoop/conf to container.  Can we include these as part of example?  Thanks

> 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: Jian He
>            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