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

Hudson commented on YARN-1435:
------------------------------

SUCCESS: Integrated in Hadoop-trunk-Commit #4882 (See 
[https://builds.apache.org/job/Hadoop-trunk-Commit/4882/])
YARN-1435. Modified Distributed Shell to accept either the command or the 
custom script. Contributed by Xuan Gong. (zjshen: 
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1550867)
* /hadoop/common/trunk/hadoop-yarn-project/CHANGES.txt
* 
/hadoop/common/trunk/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-applications-distributedshell/src/main/java/org/apache/hadoop/yarn/applications/distributedshell/ApplicationMaster.java
* 
/hadoop/common/trunk/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-applications-distributedshell/src/main/java/org/apache/hadoop/yarn/applications/distributedshell/Client.java
* 
/hadoop/common/trunk/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-applications-distributedshell/src/test/java/org/apache/hadoop/yarn/applications/distributedshell/TestDistributedShell.java


> 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.3.0
>            Reporter: Tassapol Athiapinya
>            Assignee: Xuan Gong
>             Fix For: 2.4.0
>
>         Attachments: YARN-1435.1.patch, YARN-1435.1.patch, YARN-1435.2.patch, 
> YARN-1435.3.patch, YARN-1435.4.patch, YARN-1435.4.patch
>
>
> 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.4#6159)

Reply via email to