<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: JARS are missing, can you please let me know which jars are missing in Sqoop? SQOOP import issue in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/JARS-are-missing-can-you-please-let-me-know-which-jars-are/m-p/115195#M26145</link>
    <description>&lt;P&gt;Yes.&lt;/P&gt;&lt;P&gt;Its was SQOOP_HOME=C:\hdp\sqoop-1.4.6.2.4.0.0-169&lt;/P&gt;&lt;P&gt;I changed to SQOOP_HOME=C:\hdp                                              but no luck. &lt;/P&gt;</description>
    <pubDate>Tue, 26 Apr 2016 02:40:39 GMT</pubDate>
    <dc:creator>fnu_rasool</dc:creator>
    <dc:date>2016-04-26T02:40:39Z</dc:date>
    <item>
      <title>JARS are missing, can you please let me know which jars are missing in Sqoop? SQOOP import issue</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/JARS-are-missing-can-you-please-let-me-know-which-jars-are/m-p/115186#M26136</link>
      <description>&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/3668-jars.txt"&gt;jars.txt&lt;/A&gt;&lt;P&gt;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?&lt;/P&gt;</description>
      <pubDate>Tue, 26 Apr 2016 01:29:55 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/JARS-are-missing-can-you-please-let-me-know-which-jars-are/m-p/115186#M26136</guid>
      <dc:creator>fnu_rasool</dc:creator>
      <dc:date>2016-04-26T01:29:55Z</dc:date>
    </item>
    <item>
      <title>Re: JARS are missing, can you please let me know which jars are missing in Sqoop? SQOOP import issue</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/JARS-are-missing-can-you-please-let-me-know-which-jars-are/m-p/115187#M26137</link>
      <description>&lt;P&gt;Looks like &lt;STRONG&gt;hadoop-yarn-common-x.x.x.jar&lt;/STRONG&gt; is missing.&lt;/P&gt;</description>
      <pubDate>Tue, 26 Apr 2016 01:49:22 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/JARS-are-missing-can-you-please-let-me-know-which-jars-are/m-p/115187#M26137</guid>
      <dc:creator>mjohansson</dc:creator>
      <dc:date>2016-04-26T01:49:22Z</dc:date>
    </item>
    <item>
      <title>Re: JARS are missing, can you please let me know which jars are missing in Sqoop? SQOOP import issue</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/JARS-are-missing-can-you-please-let-me-know-which-jars-are/m-p/115188#M26138</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/3776/fnurasool.html" nodeid="3776"&gt;@fnu rasool&lt;/A&gt;&lt;/P&gt;&lt;P&gt;You are missing &lt;STRONG&gt;"&lt;/STRONG&gt;&lt;STRONG&gt;hadoop-yarn-api.jar" &lt;/STRONG&gt;jar&lt;STRONG&gt; &lt;/STRONG&gt;file&lt;STRONG&gt;, &lt;/STRONG&gt;below is the location where you can find the jar.&lt;/P&gt;&lt;P&gt;/usr/hdp/&lt;STRONG&gt;&amp;lt;version&amp;gt;&lt;/STRONG&gt;/hadoop-yarn//hadoop-yarn-api-&lt;STRONG&gt;&amp;lt;version&amp;gt;&lt;/STRONG&gt;.jar&lt;/P&gt;</description>
      <pubDate>Tue, 26 Apr 2016 01:56:37 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/JARS-are-missing-can-you-please-let-me-know-which-jars-are/m-p/115188#M26138</guid>
      <dc:creator>jyadav</dc:creator>
      <dc:date>2016-04-26T01:56:37Z</dc:date>
    </item>
    <item>
      <title>Re: JARS are missing, can you please let me know which jars are missing in Sqoop? SQOOP import issue</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/JARS-are-missing-can-you-please-let-me-know-which-jars-are/m-p/115189#M26139</link>
      <description>&lt;P&gt;I checked the jars and its available.&lt;/P&gt;&lt;P&gt;Please review the attached copy. -thanks,&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/3669-hadoopyarncommonjars.jpg"&gt;hadoopyarncommonjars.jpg&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Apr 2016 02:01:28 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/JARS-are-missing-can-you-please-let-me-know-which-jars-are/m-p/115189#M26139</guid>
      <dc:creator>fnu_rasool</dc:creator>
      <dc:date>2016-04-26T02:01:28Z</dc:date>
    </item>
    <item>
      <title>Re: JARS are missing, can you please let me know which jars are missing in Sqoop? SQOOP import issue</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/JARS-are-missing-can-you-please-let-me-know-which-jars-are/m-p/115190#M26140</link>
      <description>&lt;P&gt; &lt;A rel="user" href="https://community.cloudera.com/users/3776/fnurasool.html" nodeid="3776"&gt;@fnu rasool&lt;/A&gt; Are you running HDP on Windows?  Make sure all your paths are set in the PATH environment variable. See here for details. &lt;A href="http://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.4.0-Win/bk_HDP_Install_Win/content/ch07s03.html" target="_blank"&gt;http://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.4.0-Win/bk_HDP_Install_Win/content/ch07s03.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Apr 2016 02:02:16 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/JARS-are-missing-can-you-please-let-me-know-which-jars-are/m-p/115190#M26140</guid>
      <dc:creator>SQLShaw</dc:creator>
      <dc:date>2016-04-26T02:02:16Z</dc:date>
    </item>
    <item>
      <title>Re: JARS are missing, can you please let me know which jars are missing in Sqoop? SQOOP import issue</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/JARS-are-missing-can-you-please-let-me-know-which-jars-are/m-p/115191#M26141</link>
      <description>&lt;P&gt;Yadav,&lt;/P&gt;&lt;P&gt;The first jar is hadoop-yarn-api-2.7.1.2.4.0.0-169 &lt;/P&gt;&lt;P&gt;Can you please review the jpg. Thank you. &lt;/P&gt;</description>
      <pubDate>Tue, 26 Apr 2016 02:07:37 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/JARS-are-missing-can-you-please-let-me-know-which-jars-are/m-p/115191#M26141</guid>
      <dc:creator>fnu_rasool</dc:creator>
      <dc:date>2016-04-26T02:07:37Z</dc:date>
    </item>
    <item>
      <title>Re: JARS are missing, can you please let me know which jars are missing in Sqoop? SQOOP import issue</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/JARS-are-missing-can-you-please-let-me-know-which-jars-are/m-p/115192#M26142</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I checked all the paths and all set. But its giving this exception. not sure what jar is missing?&lt;/P&gt;&lt;P&gt;Exception in thread "main"
java.lang.NoClassDefFoundError: org/apache/hadoop/yarn/exceptions/YarnException

        at org.apache.hadoop.mapred.YarnClientProtocolProvider.create(YarnClientProtocolProvider.java:34)

        at org.apache.hadoop.mapreduce.Cluster.initialize(Cluster.java:95)

        at org.apache.hadoop.mapreduce.Cluster.&amp;lt;init&amp;gt;(Cluster.java:82)

        at org.apache.hadoop.mapreduce.Cluster.&amp;lt;init&amp;gt;(Cluster.java:75)

        at org.apache.hadoop.mapreduce.Job$9.run(Job.java:1260)

        at org.apache.hadoop.mapreduce.Job$9.run(Job.java:1256)

        at java.security.AccessController.doPrivileged(Native
Method)

        at javax.security.auth.Subject.doAs(Subject.java:415)

        at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1657)

        at org.apache.hadoop.mapreduce.Job.connect(Job.java:1255)

        at org.apache.hadoop.mapreduce.Job.submit(Job.java:1284)

        at org.apache.hadoop.mapreduce.Job.waitForCompletion(Job.java:1308)

        at org.apache.sqoop.mapreduce.ImportJobBase.doSubmitJob(ImportJobBase.java:196)

        at org.apache.sqoop.mapreduce.ImportJobBase.runJob(ImportJobBase.java:169)

        at org.apache.sqoop.mapreduce.ImportJobBase.runImport(ImportJobBase.java:266)

        at org.apache.sqoop.manager.SqlManager.importTable(SqlManager.java:673)

        at org.apache.sqoop.manager.OracleManager.importTable(OracleManager.java:444)

        at org.apache.sqoop.tool.ImportTool.importTable(ImportTool.java:497)

        at org.apache.sqoop.tool.ImportTool.run(ImportTool.java:605)

        at org.apache.sqoop.Sqoop.run(Sqoop.java:148)

        at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:76)

        at org.apache.sqoop.Sqoop.runSqoop(Sqoop.java:184)

        at org.apache.sqoop.Sqoop.runTool(Sqoop.java:226)

        at org.apache.sqoop.Sqoop.runTool(Sqoop.java:235)

        at org.apache.sqoop.Sqoop.main(Sqoop.java:244)

Caused by: java.lang.ClassNotFoundException:
org.apache.hadoop.yarn.exceptions.YarnException

        at java.net.URLClassLoader$1.run(URLClassLoader.java:366)

        at java.net.URLClassLoader$1.run(URLClassLoader.java:355)

        at java.security.AccessController.doPrivileged(Native
Method)

        at java.net.URLClassLoader.findClass(URLClassLoader.java:354)&lt;/P&gt;</description>
      <pubDate>Tue, 26 Apr 2016 02:15:24 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/JARS-are-missing-can-you-please-let-me-know-which-jars-are/m-p/115192#M26142</guid>
      <dc:creator>fnu_rasool</dc:creator>
      <dc:date>2016-04-26T02:15:24Z</dc:date>
    </item>
    <item>
      <title>Re: JARS are missing, can you please let me know which jars are missing in Sqoop? SQOOP import issue</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/JARS-are-missing-can-you-please-let-me-know-which-jars-are/m-p/115193#M26143</link>
      <description>&lt;P&gt;Both jars are not same? Do I need to copy the second jar?&lt;/P&gt;&lt;P&gt;hadoop-yarn-api-2.7.1.2.4.0.0-169 / &lt;STRONG&gt;hadoop-yarn-api.jar &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;
&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Apr 2016 02:17:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/JARS-are-missing-can-you-please-let-me-know-which-jars-are/m-p/115193#M26143</guid>
      <dc:creator>fnu_rasool</dc:creator>
      <dc:date>2016-04-26T02:17:43Z</dc:date>
    </item>
    <item>
      <title>Re: JARS are missing, can you please let me know which jars are missing in Sqoop? SQOOP import issue</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/JARS-are-missing-can-you-please-let-me-know-which-jars-are/m-p/115194#M26144</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/3776/fnurasool.html" nodeid="3776"&gt;@fnu rasool&lt;/A&gt; &lt;/P&gt;&lt;P&gt;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?&lt;/P&gt;&lt;PRE&gt;SQOOP_HOME=c:\hdp&lt;/PRE&gt;</description>
      <pubDate>Tue, 26 Apr 2016 02:26:30 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/JARS-are-missing-can-you-please-let-me-know-which-jars-are/m-p/115194#M26144</guid>
      <dc:creator>jyadav</dc:creator>
      <dc:date>2016-04-26T02:26:30Z</dc:date>
    </item>
    <item>
      <title>Re: JARS are missing, can you please let me know which jars are missing in Sqoop? SQOOP import issue</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/JARS-are-missing-can-you-please-let-me-know-which-jars-are/m-p/115195#M26145</link>
      <description>&lt;P&gt;Yes.&lt;/P&gt;&lt;P&gt;Its was SQOOP_HOME=C:\hdp\sqoop-1.4.6.2.4.0.0-169&lt;/P&gt;&lt;P&gt;I changed to SQOOP_HOME=C:\hdp                                              but no luck. &lt;/P&gt;</description>
      <pubDate>Tue, 26 Apr 2016 02:40:39 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/JARS-are-missing-can-you-please-let-me-know-which-jars-are/m-p/115195#M26145</guid>
      <dc:creator>fnu_rasool</dc:creator>
      <dc:date>2016-04-26T02:40:39Z</dc:date>
    </item>
    <item>
      <title>Re: JARS are missing, can you please let me know which jars are missing in Sqoop? SQOOP import issue</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/JARS-are-missing-can-you-please-let-me-know-which-jars-are/m-p/115196#M26146</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/3776/fnurasool.html" nodeid="3776"&gt;@fnu rasool&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Ok then lets try to set CLASSPATH manually.&lt;/P&gt;&lt;PRE&gt;set CLASSPATH=%CLASSPATH%;&amp;lt;\directory location where jar file exist&amp;gt;
&lt;/PRE&gt;</description>
      <pubDate>Tue, 26 Apr 2016 03:12:04 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/JARS-are-missing-can-you-please-let-me-know-which-jars-are/m-p/115196#M26146</guid>
      <dc:creator>jyadav</dc:creator>
      <dc:date>2016-04-26T03:12:04Z</dc:date>
    </item>
    <item>
      <title>Re: JARS are missing, can you please let me know which jars are missing in Sqoop? SQOOP import issue</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/JARS-are-missing-can-you-please-let-me-know-which-jars-are/m-p/115197#M26147</link>
      <description>&lt;P&gt;Jithedra is it able to contact me?  I am able to share the details. Please let me know. &lt;/P&gt;&lt;P&gt;fnu.rasool@gmail.com &lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Rasool. &lt;/P&gt;</description>
      <pubDate>Tue, 26 Apr 2016 03:22:50 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/JARS-are-missing-can-you-please-let-me-know-which-jars-are/m-p/115197#M26147</guid>
      <dc:creator>fnu_rasool</dc:creator>
      <dc:date>2016-04-26T03:22:50Z</dc:date>
    </item>
    <item>
      <title>Re: JARS are missing, can you please let me know which jars are missing in Sqoop? SQOOP import issue</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/JARS-are-missing-can-you-please-let-me-know-which-jars-are/m-p/115198#M26148</link>
      <description>&lt;P&gt;Hi Jitendra, &lt;/P&gt;&lt;P&gt;I am expecting the same error, after following these commands. Can you please review once. &lt;/P&gt;&lt;P&gt;The actuall error I am getting is Could not find or load main org.apache.sqoop.sqoop

I ran this as adminstrator

runas /user:administrator mklink C:\hadoop\hdp\hadoop-2.7.1.2.4.0.0-169\share\hadoop\yarn\hadoop-yarn-api-2.7.1.2.4.0.0-169.jar C:\hadoop\hdp\sqoop-1.4.6.2.4.0.0-169\lib\hadoop-yarn-api-2.7.1.2.4.0.0-169.jar C:\hadoop\hdp\sqoop-1.4.6.2.4.0.0-169\lib


Set Yarn path (Attched the jpg)
set sqoop path (attached the jpg)

Executed the sqoop command after checking the classpath but getting the same error 
Could not find or load main org.apache.sqoop.sqoop&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/3707-loadmainsqoopfail.pdf"&gt;loadmainsqoopfail.pdf&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Apr 2016 22:07:50 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/JARS-are-missing-can-you-please-let-me-know-which-jars-are/m-p/115198#M26148</guid>
      <dc:creator>fnu_rasool</dc:creator>
      <dc:date>2016-04-26T22:07:50Z</dc:date>
    </item>
  </channel>
</rss>

