You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Xuan Gong (JIRA)" <ji...@apache.org> on 2013/11/20 01:45:21 UTC

[jira] [Commented] (YARN-1303) Allow multiple commands separating with ";" in distributed-shell

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

Xuan Gong commented on YARN-1303:
---------------------------------

We create a file that will save all the client's input command(from --shell_command). The AM will read all the commands, and add them into CLC. The idea is that we try to let all containers run the exactly the same commands that client gives, and let clients to figure out when and where to do the correct escaping staff.

> 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, YARN-1303.8.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)