<?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: MapReduce - error in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/MapReduce-error/m-p/121827#M51212</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/3576/rguruvannagari.html" nodeid="3576"&gt;@rguruvannagari -
&lt;/A&gt;&lt;/P&gt;&lt;P&gt;actually the file - /usr/share/java/ojdbc6.jar does not exist, though the symlink exists.&lt;/P&gt;&lt;P&gt;This is the default installation, so wondering how come the symlink exists but the file does not !&lt;/P&gt;&lt;P&gt;so, what needs to be done to fix this ? drop the symlink ?&lt;/P&gt;&lt;P&gt;
&lt;A rel="user" href="https://community.cloudera.com/users/3576/rguruvannagari.html" nodeid="3576"&gt;&lt;/A&gt; &lt;/P&gt;</description>
    <pubDate>Tue, 10 Jan 2017 14:16:52 GMT</pubDate>
    <dc:creator>karan_alang1</dc:creator>
    <dc:date>2017-01-10T14:16:52Z</dc:date>
    <item>
      <title>MapReduce - error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/MapReduce-error/m-p/121825#M51210</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I'm running a mapReduce java program using the command shown below, the mapreduce program scans Hbase table and puts the data into hdfs. &lt;/P&gt;&lt;P&gt;mr.jar -&amp;gt; has the .class files
&lt;/P&gt;&lt;P&gt;HADOOP_CLASSPATH=$(ls -1 /usr/hdp/current/hbase-client/lib/* | tr '\n', ':')  yarn jar mr.jar hbase.labfiles.Exercise5.ProductAnalyzer -libjars $(ls -1 /usr/hdp/current/hbase-client/lib/* | tr '\n', ',')&lt;/P&gt;&lt;P&gt;This gives the following error -&amp;gt; &lt;/P&gt;&lt;P&gt;Exception in thread "main" java.io.FileNotFoundException: File /usr/hdp/current/hbase-client/lib/ojdbc6.jar does not exist.
   at org.apache.hadoop.util.GenericOptionsParser.validateFiles(GenericOptionsParser.java:405)
   at org.apache.hadoop.util.GenericOptionsParser.processGeneralOptions(GenericOptionsParser.java:299)
   at org.apache.hadoop.util.GenericOptionsParser.parseGeneralOptions(GenericOptionsParser.java:487)
   at org.apache.hadoop.util.GenericOptionsParser.&amp;lt;init&amp;gt;(GenericOptionsParser.java:170)
   at org.apache.hadoop.util.GenericOptionsParser.&amp;lt;init&amp;gt;(GenericOptionsParser.java:153)
   at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
   at hbase.labfiles.Exercise5.ProductAnalyzer.main(ProductAnalyzer.java:69)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.lang.reflect.Method.invoke(Method.java:606)
   at org.apache.hadoop.util.RunJar.run(RunJar.java:221)
   at org.apache.hadoop.util.RunJar.main(RunJar.java:136)&lt;/P&gt;&lt;P&gt;However, the file actually exists &lt;/P&gt;&lt;P&gt;[root@sandbox Exercise5]# ls -lrt /usr/hdp/current/hbase-client/lib/ojdbc6.jar
lrwxrwxrwx 1 root root 26 2016-03-14 14:11 /usr/hdp/current/hbase-client/lib/ojdbc6.jar -&amp;gt; /usr/share/java/ojdbc6.jar&lt;/P&gt;&lt;P&gt;Any ideas what the issue is &amp;amp; how to fix this ?&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jan 2017 14:10:39 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/MapReduce-error/m-p/121825#M51210</guid>
      <dc:creator>karan_alang1</dc:creator>
      <dc:date>2017-01-10T14:10:39Z</dc:date>
    </item>
    <item>
      <title>Re: MapReduce - error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/MapReduce-error/m-p/121826#M51211</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/14047/karanalang.html" nodeid="14047"&gt;@Karan Alang&lt;/A&gt;&lt;P&gt;Can you check if /usr/share/java/ojdbc6.jar file exist. "/usr/hdp/current/hbase-client/lib/ojdbc6.jar" is symlink to /usr/share/java/ojdbc6.jar.
&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jan 2017 14:12:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/MapReduce-error/m-p/121826#M51211</guid>
      <dc:creator>rguruvannagari</dc:creator>
      <dc:date>2017-01-10T14:12:36Z</dc:date>
    </item>
    <item>
      <title>Re: MapReduce - error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/MapReduce-error/m-p/121827#M51212</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/3576/rguruvannagari.html" nodeid="3576"&gt;@rguruvannagari -
&lt;/A&gt;&lt;/P&gt;&lt;P&gt;actually the file - /usr/share/java/ojdbc6.jar does not exist, though the symlink exists.&lt;/P&gt;&lt;P&gt;This is the default installation, so wondering how come the symlink exists but the file does not !&lt;/P&gt;&lt;P&gt;so, what needs to be done to fix this ? drop the symlink ?&lt;/P&gt;&lt;P&gt;
&lt;A rel="user" href="https://community.cloudera.com/users/3576/rguruvannagari.html" nodeid="3576"&gt;&lt;/A&gt; &lt;/P&gt;</description>
      <pubDate>Tue, 10 Jan 2017 14:16:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/MapReduce-error/m-p/121827#M51212</guid>
      <dc:creator>karan_alang1</dc:creator>
      <dc:date>2017-01-10T14:16:52Z</dc:date>
    </item>
    <item>
      <title>Re: MapReduce - error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/MapReduce-error/m-p/121828#M51213</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/14047/karanalang.html" nodeid="14047"&gt;@Karan Alang&lt;/A&gt;Download ojdbc6.jar  and copy to the location /usr/share/java/
You can download ojdbc6.jar from &lt;A href="http://www.oracle.com/technetwork/apps-tech/jdbc-111060-084321.html" target="_blank"&gt;http://www.oracle.com/technetwork/apps-tech/jdbc-111060-084321.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jan 2017 14:23:35 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/MapReduce-error/m-p/121828#M51213</guid>
      <dc:creator>rguruvannagari</dc:creator>
      <dc:date>2017-01-10T14:23:35Z</dc:date>
    </item>
    <item>
      <title>Re: MapReduce - error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/MapReduce-error/m-p/121829#M51214</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/3576/rguruvannagari.html" nodeid="3576"&gt;@rguruvannagari  
&lt;/A&gt;&lt;/P&gt;&lt;P&gt;thanks, that fixed the issue.
&lt;A rel="user" href="https://community.cloudera.com/users/3576/rguruvannagari.html" nodeid="3576"&gt;&lt;/A&gt; &lt;/P&gt;</description>
      <pubDate>Tue, 10 Jan 2017 14:30:55 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/MapReduce-error/m-p/121829#M51214</guid>
      <dc:creator>karan_alang1</dc:creator>
      <dc:date>2017-01-10T14:30:55Z</dc:date>
    </item>
  </channel>
</rss>

