11-02-2017 02:37 AM - last edited on 11-02-2017 05:24 AM by cjervis
We are trying to implement Archival program for HDFS files using mapreduce action and I am getting below error from oozie every time.
JA018 Main class [org.apache.oozie.action.hadoop.ShellMain], exit code 
The Job Browser lists the job as successful but the workflow shows status Kill with the above error.
I checked the hue WebUI as well, there also same error message.
Can you please help me with this error?
11-03-2017 06:43 AM - edited 11-03-2017 06:43 AM
This issue just means that your shell action has exited with a error code (different from 0).
If you want to know the reason then you need to add logging inside the shell script for knowing what happened.
Be aware that the scipt execute localy on a data-node. The log you made with the script will be on that particular data-node.