hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hitesh Shah (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-1303) Allow multiple commands separating with ";" in distributed-shell
Date Wed, 23 Oct 2013 22:26:46 GMT

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

Hitesh Shah commented on YARN-1303:
-----------------------------------

[~xgong] How about ensuring that the data passed into the client by the user is correctly
passed to the AM and to the launch script in the task. As for escaping, we can rely on the
user to correctly escape chars as needed. For example, if a user wants to run "echo $FOO"
, the user should do "echo \$FOO" to ensure that the final command run has "echo $FOO"



> Allow multiple commands separating with ";" in distributed-shell
> ----------------------------------------------------------------
>
>                 Key: YARN-1303
>                 URL: https://issues.apache.org/jira/browse/YARN-1303
>             Project: Hadoop YARN
>          Issue Type: Improvement
>          Components: applications/distributed-shell
>            Reporter: Tassapol Athiapinya
>            Assignee: Xuan Gong
>             Fix For: 2.2.1
>
>         Attachments: YARN-1303.1.patch, YARN-1303.2.patch, YARN-1303.3.patch, YARN-1303.3.patch,
YARN-1303.4.patch, YARN-1303.4.patch, YARN-1303.5.patch, YARN-1303.6.patch, YARN-1303.7.patch
>
>
> In shell, we can do "ls; ls" to run 2 commands at once. 
> In distributed shell, this is not working. We should improve to allow this to occur.
There are practical use cases that I know of to run multiple commands or to set environment
variables before a command.



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

Mime
View raw message