Reply
New Contributor
Posts: 1
Registered: ‎10-28-2016

oozie sshand hive return code

[ Edited ]

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

Announcements