Support Questions
Find answers, ask questions, and share your expertise

while I am running Sqoop action in Oozie Im getting error Main class [org.apache.oozie.action.hadoop.SqoopMain], exit code [1]?

Highlighted

while I am running Sqoop action in Oozie Im getting error Main class [org.apache.oozie.action.hadoop.SqoopMain], exit code [1]?

While I am running Sqoop action in Oozie im getting following error

Main class [org.apache.oozie.action.hadoop.SqoopMain], exit code [1]
What may be the reason, when I check in Resource Manager it showing Success.
3 REPLIES 3
Highlighted

Re: while I am running Sqoop action in Oozie Im getting error Main class [org.apache.oozie.action.hadoop.SqoopMain], exit code [1]?

Expert Contributor

Check the map logs under yarn application for errors.

Highlighted

Re: while I am running Sqoop action in Oozie Im getting error Main class [org.apache.oozie.action.hadoop.SqoopMain], exit code [1]?

Hi @schhabra, Thanks for response ..

Good day...,Details are as attached.

Job.Properties

nameNode=hdfs://ssehdp101.biz:8020

jobTracker=ssehdp102.biz:8050

queueName=Process

examplesRoot=ravi

oozie.use.system.libpath=true

oozie.libpath=${nameNode}/user/oozie/share/lib/lib_20170922104734/

oozie.wf.rerun.failnodes=true

oozie.wf.application.path=${nameNode}/user/${user.name}/ravi/workflow.xml

oozie.action.sharelib.for.sqoop=sqoop,hive

resourcemanager-logs.txtwfl-logs.txt

Highlighted

Re: while I am running Sqoop action in Oozie Im getting error Main class [org.apache.oozie.action.hadoop.SqoopMain], exit code [1]?

Expert Contributor
@Ravikiran Dasari

Make sure you have Sqoop clients installed on all the nodes. can you please check the map logs, the given logs doesn't have much information.

Thanks

Venkat