Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]
Created 04-25-2016 06:29 PM
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?
Created 04-25-2016 06:56 PM
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
Created 04-25-2016 06:49 PM
Looks like hadoop-yarn-common-x.x.x.jar is missing.
Created 04-25-2016 07:01 PM
I checked the jars and its available.
Please review the attached copy. -thanks,hadoopyarncommonjars.jpg
Created 04-25-2016 06:56 PM
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
Created 04-25-2016 07:07 PM
Yadav,
The first jar is hadoop-yarn-api-2.7.1.2.4.0.0-169
Can you please review the jpg. Thank you.
Created 04-25-2016 07:26 PM
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
Created 04-25-2016 07:40 PM
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.
Created 04-25-2016 08:12 PM
Ok then lets try to set CLASSPATH manually.
set CLASSPATH=%CLASSPATH%;<\directory location where jar file exist>
Created 04-25-2016 07:17 PM
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
Created 04-25-2016 08:22 PM
Jithedra is it able to contact me? I am able to share the details. Please let me know.
Thanks,
Rasool.