You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oozie.apache.org by "Junfan Zhang (Jira)" <ji...@apache.org> on 2019/12/17 08:48:00 UTC
[jira] [Updated] (OOZIE-3569) SSH Action should add checking
success file
[ https://issues.apache.org/jira/browse/OOZIE-3569?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Junfan Zhang updated OOZIE-3569:
--------------------------------
Description:
*Phenomenon*
Currently, {{SSH Action}} checking operation are as following:
Firstly, check operation is to check {{Oozie}} pgid. When pgid does not exist, check whether there is an error file. If the error file does not exist, {{Oozie}} will set action status {{OK}}
However, when {{Oozie}} pgid is killed externally, this action will be incorrectly determined to be successful.
*Solution*
In ssh-wrapper.sh, when command execution is OK, {{Oozie}} should touch a success empty file like touching error file.
In {{SshActionExecutor}} check method, Oozie should add checking the success file existence.
was:
*Phenomenon*
Currently, {{SSH Action}} checking operation are as following:
Firstly, check operation is to check {{Oozie}} pgid. When pgid does not exist, check whether there is an error file. If the error file does not exist, {{Oozie}} will set action status {{OK}}
However, when {{Oozie}} pgid is killed externally, this action will be incorrectly determined to be successful.
*Solution*
In ssh-wrapper.sh, when command execution is OK, {{Oozie}} should touch a success empty file like error file.
In {{SshActionExecutor}} check method, Oozie should add checking the success file.
> SSH Action should add checking success file
> -------------------------------------------
>
> Key: OOZIE-3569
> URL: https://issues.apache.org/jira/browse/OOZIE-3569
> Project: Oozie
> Issue Type: Bug
> Reporter: Junfan Zhang
> Assignee: Junfan Zhang
> Priority: Major
>
> *Phenomenon*
> Currently, {{SSH Action}} checking operation are as following:
> Firstly, check operation is to check {{Oozie}} pgid. When pgid does not exist, check whether there is an error file. If the error file does not exist, {{Oozie}} will set action status {{OK}}
> However, when {{Oozie}} pgid is killed externally, this action will be incorrectly determined to be successful.
> *Solution*
> In ssh-wrapper.sh, when command execution is OK, {{Oozie}} should touch a success empty file like touching error file.
> In {{SshActionExecutor}} check method, Oozie should add checking the success file existence.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)