You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oozie.apache.org by "Andras Piros (JIRA)" <ji...@apache.org> on 2018/08/03 07:59:00 UTC

[jira] [Commented] (OOZIE-3319) Log SSH action callback error output

    [ https://issues.apache.org/jira/browse/OOZIE-3319?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16567924#comment-16567924 ] 

Andras Piros commented on OOZIE-3319:
-------------------------------------

Thanks for the contribution [~ericlin]! +1 LGTM. [~asasvari] can you please also review?

> Log SSH action callback error output
> ------------------------------------
>
>                 Key: OOZIE-3319
>                 URL: https://issues.apache.org/jira/browse/OOZIE-3319
>             Project: Oozie
>          Issue Type: Improvement
>          Components: core
>    Affects Versions: trunk
>            Reporter: Eric Lin
>            Assignee: Eric Lin
>            Priority: Minor
>         Attachments: OOZIE-3319.patch
>
>
> When SSH callback fails, there is no error message logged to tell us what was going on
> {code}
> if $callback; then
>     echo "Callback operation successful."
> else
>     echo "Not able to perform callback operation." >>${stderr}
> fi
> {code}
> The only message showed in the remote machine's log was "Not able to perform callback operation." which is useless.
> Request to log the stderr out of the $callback action to stderr log as well.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)