[ https://issues.apache.org/jira/browse/YARN-1435?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Xuan Gong updated YARN-1435: ---------------------------- Description: 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 was:Create custom shell script and use -shell_command to point to that script. Uploaded shell script won't be able to execute at container level because executable bit is missing when container fetches the shell script from HDFS. Distributed shell should grant executable bit in this case. > 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)