hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xuan Gong (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-1314) Cannot pass more than 1 argument to shell command
Date Fri, 22 Nov 2013 00:55:35 GMT

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

Xuan Gong commented on YARN-1314:
---------------------------------

Increasing the --num_container numbers to let test case find the correct log folder

> 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.2.1
>
>         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