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.

Launcher ERROR, reason: Main class [org.apache.oozie.action.hadoop.ShellMain], exit code [1]

Solved Go to solution

Launcher ERROR, reason: Main class [org.apache.oozie.action.hadoop.ShellMain], exit code [1]

Contributor

Hi,

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 [1]

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?

Thanks,
Priya

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Launcher ERROR, reason: Main class [org.apache.oozie.action.hadoop.ShellMain], exit code [1]

Contributor

@mathieu.d,

 

Thanks for reply, will try this and let you know.

2 REPLIES 2
Highlighted

Re: Launcher ERROR, reason: Main class [org.apache.oozie.action.hadoop.ShellMain], exit code [1]

Super Collaborator

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.

Re: Launcher ERROR, reason: Main class [org.apache.oozie.action.hadoop.ShellMain], exit code [1]

Contributor

@mathieu.d,

 

Thanks for reply, will try this and let you know.

Don't have an account?
Coming from Hortonworks? Activate your account here