hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-1314) Cannot pass more than 1 argument to shell command
Date Tue, 26 Nov 2013 03:23:45 GMT

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

Hudson commented on YARN-1314:
------------------------------

SUCCESS: Integrated in Hadoop-trunk-Commit #4793 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/4793/])
YARN-1314. Fixed DistributedShell to not fail with multiple arguments for a shell command
separated by spaces. Contributed by Xuan Gong. (vinodkv: http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1545486)
* /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


> Cannot pass more than 1 argument to shell command
> -------------------------------------------------
>
>                 Key: YARN-1314
>                 URL: https://issues.apache.org/jira/browse/YARN-1314
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: applications/distributed-shell
>            Reporter: Tassapol Athiapinya
>            Assignee: Xuan Gong
>             Fix For: 2.3.0
>
>         Attachments: YARN-1314.1.patch, YARN-1314.1.patch, YARN-1314.2.patch, YARN-1314.3.patch,
YARN-1314.4.1.patch, YARN-1314.4.patch, YARN-1314.5.patch
>
>
> Distributed shell cannot accept more than 1 parameters in argument parts.
> All of these commands are treated as 1 parameter:
> /usr/bin/yarn  org.apache.hadoop.yarn.applications.distributedshell.Client -jar <distrubuted
shell jar> -shell_command echo -shell_args "'"My   name"                "is  Teddy"'"
> /usr/bin/yarn  org.apache.hadoop.yarn.applications.distributedshell.Client -jar <distrubuted
shell jar> -shell_command echo -shell_args "''My   name'                'is  Teddy''"
> /usr/bin/yarn  org.apache.hadoop.yarn.applications.distributedshell.Client -jar <distrubuted
shell jar> -shell_command echo -shell_args "'My   name'                'is  Teddy'"



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message