-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/68182/
-----------------------------------------------------------

Review request for oozie.


Bugs: OOZIE-3319
    https://issues.apache.org/jira/browse/OOZIE-3319


Repository: oozie-git


Description
-------

When SSH callback fails, there is no error message logged to tell us what was 
going on

if $callback; then
    echo "Callback operation successful."
else
    echo "Not able to perform callback operation." >>${stderr}
fi

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.


Diffs
-----

  core/src/main/resources/ssh-wrapper.sh e2e6f7f9 


Diff: https://reviews.apache.org/r/68182/diff/1/


Testing
-------

Manual test. Not sure the good way to add unit test for this, but suggestions 
welcome.


Thanks,

Eric Lin

Reply via email to