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

wangdo updated OOZIE-3611:
--------------------------
    Priority: Critical  (was: Minor)

> 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
>            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)

Reply via email to