You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oozie.apache.org by IT-DONG <gi...@git.apache.org> on 2016/12/09 10:36:43 UTC
[GitHub] oozie pull request #23: fix '>/somepath' in remote command when SSH action
GitHub user IT-DONG opened a pull request:
https://github.com/apache/oozie/pull/23
fix '>/somepath' in remote command when SSH action
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, one is that the ">" will cause that no pid obtained( in pid = getFirstLine(inputBuffer); of SshActionExecutor.java); and the other issue is that the double quotes and single quote the command will also lead to failure
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/IT-DONG/oozie master
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/oozie/pull/23.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #23
----
commit ff8435bbc61d5cf87739a135b37311770bc2e6d2
Author: IT-DONG <wa...@sina.cn>
Date: 2016-12-09T10:16:40Z
fix '>/somepath' in remote command when SSH action
when executing command on remote machines with SSH, such as: hostname >/tmp/bbb.txt && date '+%F %T' >>/tmp/bbb.txt && date "+%s" >>/tmp/bbb.txt
commit 65f13a4c74f3e6afc590092cfd3b9525993e8559
Author: IT-DONG <wa...@sina.cn>
Date: 2016-12-09T10:17:38Z
fix '>/somepath' in remote command when SSH action
when executing command on remote machines with SSH, such as: hostname >/tmp/bbb.txt && date '+%F %T' >>/tmp/bbb.txt && date "+%s" >>/tmp/bbb.txt
commit 3254be69a4f4e7ac6eb7e000bc95800f46bf4c65
Author: IT-DONG <wa...@sina.cn>
Date: 2016-12-09T10:26:37Z
fix '>/somepath' in remote command when SSH action
when executing command on remote machines with SSH, such as: hostname >/tmp/bbb.txt && date '+%F %T' >>/tmp/bbb.txt && date "+%s" >>/tmp/bbb.txt
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---