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 sshand hive return code

oozie sshand hive return code

New Contributor

hi,

i'm trying to build a conditional workflow and i havz some troubles to identify and use the proper return code.

my conditional node is based on ${wf:actionData('sshAction')['ERROR']} but i m not aware of the return code value.

Should i force the shel with 'exit $rc' ?

Is there a reference for all EL entities?

 

For istance i ve got a shell that do just exit 0 but ${wf:actionData('sshAction')['ERROR']}  is equal to 23892

Thanks in advance