[
https://issues.apache.org/jira/browse/YARN-1435?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13829511#comment-13829511
]
Xuan Gong commented on YARN-1435:
---------------------------------
We could let DS either execute shell_commands option or shell_script option.
The right DS commandline should be that we provide either --shell_command or
--shell_script.
If we provide both options, we can throw out exception, and say something like
"Do not provide both options at the same time".
> Distributed Shell should not run other commands except "sh", and run the
> custom script at the same time.
> --------------------------------------------------------------------------------------------------------
>
> Key: YARN-1435
> URL: https://issues.apache.org/jira/browse/YARN-1435
> Project: Hadoop YARN
> Issue Type: Bug
> Components: applications/distributed-shell
> Affects Versions: 2.2.1
> Reporter: Tassapol Athiapinya
> Assignee: Xuan Gong
> Fix For: 2.2.1
>
>
> Currently, if we want to run custom script at DS. We can do it like this :
> --shell_command sh --shell_script custom_script.sh
> But it may be better to separate running shell_command and shell_script
--
This message was sent by Atlassian JIRA
(v6.1#6144)