Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Oozie SSH action never goes to error to

Oozie SSH action never goes to error to

New Contributor

I have an SSH action which runs a shell script. Despite giving an "exit 1" and a "<capture-output/>" the SSH action always succeeds and moves to the next "ok to" action. How can I ensure that SSH action triggers "error to" action when it encounters an exit 1?