[
https://issues.apache.org/jira/browse/OOZIE-3611?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17197563#comment-17197563
]
Kinga Marton commented on OOZIE-3611:
-------------------------------------
[~wangdo] can you please upload your patch here to trigger the precommit build?
As described here:
[https://cwiki.apache.org/confluence/display/OOZIE/How+To+Contribute]
> 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)