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

Jian He commented on YARN-7186:
-------------------------------

On a second thought, instead of adding a new "demo" subcommand, it may be 
better to just reuse the create subcommand like below:

{code}
yarn service create [service-name]   --file /path/to/local/sample.json
yarn service create [service-name]   --type sleeper
where service-name is optional, if present, will override the default 
{code}


> Add examples in yarn-service 
> -----------------------------
>
>                 Key: YARN-7186
>                 URL: https://issues.apache.org/jira/browse/YARN-7186
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>            Reporter: Jian He
>            Assignee: Jian He
>         Attachments: YARN-7186.yarn-native-services.01.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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

Reply via email to