Support Questions

Find answers, ask questions, and share your expertise

JARS are missing, can you please let me know which jars are missing in Sqoop? SQOOP import issue

avatar
Explorer
jars.txt

I have attached all the jars text copy also for your reference. Could you please let me know what jars are missing and need to update to execute the job?

1 ACCEPTED SOLUTION

avatar
Super Guru

@fnu rasool

You are missing "hadoop-yarn-api.jar" jar file, below is the location where you can find the jar.

/usr/hdp/<version>/hadoop-yarn//hadoop-yarn-api-<version>.jar

View solution in original post

12 REPLIES 12

avatar
Super Collaborator

Looks like hadoop-yarn-common-x.x.x.jar is missing.

avatar
Explorer

I checked the jars and its available.

Please review the attached copy. -thanks,hadoopyarncommonjars.jpg

avatar
Super Guru

@fnu rasool

You are missing "hadoop-yarn-api.jar" jar file, below is the location where you can find the jar.

/usr/hdp/<version>/hadoop-yarn//hadoop-yarn-api-<version>.jar

avatar
Explorer

Yadav,

The first jar is hadoop-yarn-api-2.7.1.2.4.0.0-169

Can you please review the jpg. Thank you.

avatar
Super Guru

@fnu rasool

That's true but these jars are not accessible by sqoop due to class path issue, can you please try setting below env variable just before running sqoop command?

SQOOP_HOME=c:\hdp

avatar
Explorer

Yes.

Its was SQOOP_HOME=C:\hdp\sqoop-1.4.6.2.4.0.0-169

I changed to SQOOP_HOME=C:\hdp but no luck.

avatar
Super Guru

@fnu rasool

Ok then lets try to set CLASSPATH manually.

set CLASSPATH=%CLASSPATH%;<\directory location where jar file exist>

avatar
Explorer

Both jars are not same? Do I need to copy the second jar?

hadoop-yarn-api-2.7.1.2.4.0.0-169 / hadoop-yarn-api.jar

avatar
Explorer

Jithedra is it able to contact me? I am able to share the details. Please let me know.

fnu.rasool@gmail.com

Thanks,

Rasool.