[
https://issues.apache.org/jira/browse/YARN-7781?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16444972#comment-16444972
]
Eric Yang edited comment on YARN-7781 at 4/19/18 11:20 PM:
-----------------------------------------------------------
[~gsaha] The patch looks good. Sorry, there was one problem that I did not
catch before. The examples are showing nginx, but nginx does not work until
YARN-7654 is committed because nginx depends on ENTRY_POINT support and run
privileged container. It would be good to change the example to use
centos:httpd-24-centos7, and launch_command: /usr/bin/run-httpd for functional
examples.
was (Author: eyang):
[~gsaha] The patch looks good. Sorry, there was one problem that I did not
catch before. The example are showing nginx, but nginx does not work until
YARN-7654 is committed because nginx depends on ENTRY_POINT support and run
privileged container. It would be good to change the example to use
centos:httpd-24-centos7, and launch_command: /usr/bin/run-httpd for functional
examples.
> 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, YARN-7781.05.patch, YARN-7781.06.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: [email protected]
For additional commands, e-mail: [email protected]