Created 05-16-2016 04:27 PM
I am using Shell action to call Spark code. I have used Shell action as I was getting kerberos error in the Spark action. I am unable to capture the actual error message in oozie when the code fails. Instead, I am getting generic error message as below.
Oozie EL Function: ${wf:errorMessage(wf:lastErrorNode())}
Error Message: Main class [org.apache.oozie.action.hadoop.ShellMain], exit code [1]
Is there any way to capture the underlying error message while using Shell action?
Created 05-16-2016 05:44 PM
Shell action's stdout and stderr output are redirected to the Oozie Launcher map-reduce job task STDOUT that runs the shell command. You could redirect STDERR to STDOUT and use the capture-output element of shell action.
Created 05-17-2016 01:49 AM
Ok, In order to capture the STDOUT, it should be in name=value format right?
Created 05-16-2016 05:52 PM
Did you check launcher logs? If not then can you please check it, I believe it should give you more information about an error.
Refer this to see launcher logs.
Created 07-31-2019 04:46 PM
Hi,
I can't run an "mkdir" script via oozie.
Following the log details as mentionned in the reference. Any Help please.log.txt