[
https://issues.apache.org/jira/browse/YARN-1303?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Xuan Gong updated YARN-1303:
----------------------------
Attachment: YARN-1303.1.patch
In this patch, the Client code will check whether If client give multiple
--shell_command or --shell_script options, ds will output a message and saying
something like "Do not support it, please create a shell_script for them"
Also, it will check whether in --shell_command has exit ';' or '|', if they are
exist, ds will output a message and saying something like "Do not support
multiple shell commands and command pipeline, please create a shell_script for
them"
> Allow multiple commands separating with ;
> -----------------------------------------
>
> Key: YARN-1303
> URL: https://issues.apache.org/jira/browse/YARN-1303
> Project: Hadoop YARN
> Issue Type: Improvement
> Components: applications/distributed-shell
> Reporter: Tassapol Athiapinya
> Assignee: Xuan Gong
> Fix For: 2.2.1
>
> Attachments: YARN-1303.1.patch
>
>
> In shell, we can do "ls; ls" to run 2 commands at once.
> In distributed shell, this is not working. We should improve to allow this to
> occur. There are practical use cases that I know of to run multiple commands
> or to set environment variables before a command.
--
This message was sent by Atlassian JIRA
(v6.1#6144)