Support Questions

Find answers, ask questions, and share your expertise
Announcements
Check out our newest addition to the community, the Cloudera Data Analytics (CDA) group hub.

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

Expert Contributor

Check the map logs under yarn application for errors.

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

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

Take a Tour of the Community
Don't have an account?
Your experience may be limited. Sign in to explore more.