Created 05-02-2016 07:14 AM
I have an oozie task that uses sqoop.
/user/oozie folder has /shared/lib/lib_xyz/ fodler which has the sqoop folder and relevant jars in it.
My job.properties looks like this:
nameNode=hdfs://serverFQDN:8020 jobTracker=serverFQDN:8050 queueName=default oozie.use.system.libpath=true oozie.action.sharelib.for.sqoop=hive,hcatalog,sqoop ozie.libpath=hdfs://serverFQDN:8020/user/oozie/share/lib oozie.coord.application.path=${nameNode}/user/${user.name}/scheduledimport start=2016-04-26T00:00Z end=2016-12-31T00:00Z workflowAppUri=${nameNode}/user/${user.name}/scheduledimport
I get an error on sqoop task:
java.lang.ClassNotFoundException: Class org.apache.oozie.action.hadoop.SqoopMain not found
How do I fix this?
Created 05-13-2016 04:17 AM
Not really. I had to do a fresh reinstall.
Created 05-02-2016 07:52 PM
Hi @simran kaur
This error is indicating that the jars are not available through the classpath. Are you submitting using oozie.use.system.libpath=true? Could you post the launcher log?
Created 05-03-2016 12:00 PM
@Ryan Cicak : Which file would be launcher logs? submitting using oozie.use.system.libpath=true? I do have it in my job.properties file if that is what you were asking? I did check the job logs and could not find sqoopMain exception is all that it gets in there.
Created 05-02-2016 11:07 PM
Hi @simran kaur
Change ozie.libpath=hdfs://serverFQDN:8020/user/oozie/share/lib to
ozie.libpath=hdfs://serverFQDN:8020/user/oozie/shared/lib as you mentioned your oozie lib is under /user/oozie/shared/lib dir.
Created 05-03-2016 04:32 AM
@Ajay:No, No. Shared was a typo. It's in share/lib only
Created 05-12-2016 04:07 PM
Created 05-13-2016 04:17 AM
Not really. I had to do a fresh reinstall.
Created 02-24-2017 09:12 AM
@simran kaur Is the issue is solved for you? I am getting the same error (java.lang.ClassNotFoundException: Class org.apache.oozie.action.hadoop.SqoopMain not found)
Can somebody please help.
Created 02-24-2017 11:47 AM
Please post as new question and supply relevant logs and configs