You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oozie.apache.org by "Kinga Marton (Jira)" <ji...@apache.org> on 2020/09/17 09:36:01 UTC

[jira] [Assigned] (OOZIE-3611) Oozie remote command with SSH action cannot support stdout redirect to a file and quotes in the command string

     [ https://issues.apache.org/jira/browse/OOZIE-3611?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kinga Marton reassigned OOZIE-3611:
-----------------------------------

    Assignee: wangdo

> Oozie remote command with SSH action cannot support stdout redirect to a file and quotes in the command string
> --------------------------------------------------------------------------------------------------------------
>
>                 Key: OOZIE-3611
>                 URL: https://issues.apache.org/jira/browse/OOZIE-3611
>             Project: Oozie
>          Issue Type: Bug
>            Reporter: wangdo
>            Assignee: wangdo
>            Priority: Critical
>
> when executing command on remote machines with SSH action, such as: hostname >/tmp/bbb.txt && date '+%F %T' >>/tmp/bbb.txt && date "+%s" >>/tmp/bbb.txt, currently, we have 2 issues
> issue 1: the ">" will cause no pid obtained( in pid = getFirstLine(inputBuffer); of SshActionExecutor.java);
> issue 2: the double quotes and single quote of the command will also lead to failure as well



--
This message was sent by Atlassian Jira
(v8.3.4#803005)