<?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: #Hive #Hbase    java.lang.ClassNotFoundException: org.cliffc.high_scale_lib.Counter in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-Hbase-java-lang-ClassNotFoundException-org-cliffc-high/m-p/24235#M4823</link>
    <description>&lt;P&gt;I added the&amp;nbsp;high-scale-lib-1.1.1.jar&amp;nbsp;in order to make it work. &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 30 Jan 2015 10:19:44 GMT</pubDate>
    <dc:creator>AlinaGHERMAN</dc:creator>
    <dc:date>2015-01-30T10:19:44Z</dc:date>
    <item>
      <title>#Hive #Hbase    java.lang.ClassNotFoundException: org.cliffc.high_scale_lib.Counter</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-Hbase-java-lang-ClassNotFoundException-org-cliffc-high/m-p/24209#M4822</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to join one table that is stored in hbase with another table that is stored as json.&lt;/P&gt;&lt;P&gt;I added the needed jars that I added while creating the hbase table and the serde jar for the join.&lt;/P&gt;&lt;P&gt;When I join the two tables in the hive beeswax everithing works fine.&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, when I do it in an oozie action I get:&lt;/P&gt;&lt;PRE&gt;15/01/29 17:13:30 INFO mr.ExecDriver: adding libjars: /user/agherman/scripts/General/Hive/json-serde-1.3-jar-with-dependencies.jar
  java.lang.NoClassDefFoundError: org/cliffc/high_scale_lib/Counter
  at org.apache.hadoop.hive.hbase.HBaseStorageHandler.configureJobConf(HBaseStorageHandler.java:500)
  at org.apache.hadoop.hive.ql.plan.PlanUtils.configureJobConf(PlanUtils.java:849)
  at org.apache.hadoop.hive.ql.plan.MapWork.configureJobConf(MapWork.java:503)
  at org.apache.hadoop.hive.ql.plan.MapredWork.configureJobConf(MapredWork.java:68)
  at org.apache.hadoop.hive.ql.exec.mr.ExecDriver.execute(ExecDriver.java:368)
  at org.apache.hadoop.hive.ql.exec.mr.MapRedTask.execute(MapRedTask.java:136)
  at org.apache.hadoop.hive.ql.exec.Task.executeTask(Task.java:153)
  at org.apache.hadoop.hive.ql.exec.TaskRunner.runSequential(TaskRunner.java:85)
  at org.apache.hadoop.hive.ql.Driver.launchTask(Driver.java:1554)
  at org.apache.hadoop.hive.ql.Driver.execute(Driver.java:1321)
  at org.apache.hadoop.hive.ql.Driver.runInternal(Driver.java:1139)
  at org.apache.hadoop.hive.ql.Driver.run(Driver.java:962)
  at org.apache.hadoop.hive.ql.Driver.run(Driver.java:952)
  at org.apache.hadoop.hive.cli.CliDriver.processLocalCmd(CliDriver.java:269)
  at org.apache.hadoop.hive.cli.CliDriver.processCmd(CliDriver.java:221)
  at org.apache.hadoop.hive.cli.CliDriver.processLine(CliDriver.java:431)
  at org.apache.hadoop.hive.cli.CliDriver.processLine(CliDriver.java:367)
  at org.apache.hadoop.hive.cli.CliDriver.processReader(CliDriver.java:464)
  at org.apache.hadoop.hive.cli.CliDriver.processFile(CliDriver.java:474)
  at org.apache.hadoop.hive.cli.CliDriver.executeDriver(CliDriver.java:756)
  at org.apache.hadoop.hive.cli.CliDriver.run(CliDriver.java:694)
  at org.apache.hadoop.hive.cli.CliDriver.main(CliDriver.java:633)
  at org.apache.oozie.action.hadoop.HiveMain.runHive(HiveMain.java:323)
  at org.apache.oozie.action.hadoop.HiveMain.run(HiveMain.java:284)
  at org.apache.oozie.action.hadoop.LauncherMain.run(LauncherMain.java:39)
  at org.apache.oozie.action.hadoop.HiveMain.main(HiveMain.java:66)
  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.oozie.action.hadoop.LauncherMapper.map(LauncherMapper.java:227)
  at org.apache.hadoop.mapred.MapRunner.run(MapRunner.java:54)
  at org.apache.hadoop.mapred.MapTask.runOldMapper(MapTask.java:450)
  at org.apache.hadoop.mapred.MapTask.run(MapTask.java:343)
  at org.apache.hadoop.mapred.YarnChild$2.run(YarnChild.java:168)
  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:1642)
  at org.apache.hadoop.mapred.YarnChild.main(YarnChild.java:163)
  Caused by: java.lang.ClassNotFoundException: org.cliffc.high_scale_lib.Counter
  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)
  at java.lang.ClassLoader.loadClass(ClassLoader.java:425)&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;Where should I look for?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 09:20:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-Hbase-java-lang-ClassNotFoundException-org-cliffc-high/m-p/24209#M4822</guid>
      <dc:creator>AlinaGHERMAN</dc:creator>
      <dc:date>2022-09-16T09:20:36Z</dc:date>
    </item>
    <item>
      <title>Re: #Hive #Hbase    java.lang.ClassNotFoundException: org.cliffc.high_scale_lib.Counter</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-Hbase-java-lang-ClassNotFoundException-org-cliffc-high/m-p/24235#M4823</link>
      <description>&lt;P&gt;I added the&amp;nbsp;high-scale-lib-1.1.1.jar&amp;nbsp;in order to make it work. &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Jan 2015 10:19:44 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-Hbase-java-lang-ClassNotFoundException-org-cliffc-high/m-p/24235#M4823</guid>
      <dc:creator>AlinaGHERMAN</dc:creator>
      <dc:date>2015-01-30T10:19:44Z</dc:date>
    </item>
    <item>
      <title>Re: #Hive #Hbase    java.lang.ClassNotFoundException: org.cliffc.high_scale_lib.Counter</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-Hbase-java-lang-ClassNotFoundException-org-cliffc-high/m-p/24388#M4824</link>
      <description>&lt;P&gt;Thanks for letting us know the solution, Alina!&lt;/P&gt;</description>
      <pubDate>Thu, 05 Feb 2015 23:15:31 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-Hbase-java-lang-ClassNotFoundException-org-cliffc-high/m-p/24388#M4824</guid>
      <dc:creator>Clint</dc:creator>
      <dc:date>2015-02-05T23:15:31Z</dc:date>
    </item>
    <item>
      <title>Re: #Hive #Hbase    java.lang.ClassNotFoundException: org.cliffc.high_scale_lib.Counter</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-Hbase-java-lang-ClassNotFoundException-org-cliffc-high/m-p/53842#M4825</link>
      <description>&lt;P&gt;i have an error after that step&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;hive&amp;gt; insert overwrite table hbase_table_2 select concat(ename,":",eno)as key,ename,eno,eage,esalary from emp;&lt;BR /&gt;Query ID = usr_20170419111919_299ad34e-a846-45fa-8334-84291d3dc9f1&lt;BR /&gt;Total jobs = 1&lt;BR /&gt;Launching Job 1 out of 1&lt;BR /&gt;Number of reduce tasks is set to 0 since there's no reduce operator&lt;BR /&gt;Job running in-process (local Hadoop)&lt;BR /&gt;Hadoop job information for Stage-0: number of mappers: 0; number of reducers: 0&lt;BR /&gt;2017-04-19 11:20:15,620 Stage-0 map = 0%,&amp;nbsp; reduce = 0%&lt;BR /&gt;Ended Job = job_local1415977764_0001 with errors&lt;BR /&gt;Error during job, obtaining debugging information...&lt;BR /&gt;Job Tracking URL: http://localhost:8080/&lt;BR /&gt;FAILED: Execution Error, return code 2 from org.apache.hadoop.hive.ql.exec.mr.MapRedTask&lt;BR /&gt;MapReduce Jobs Launched:&lt;BR /&gt;Stage-Stage-0:&amp;nbsp; HDFS Read: 0 HDFS Write: 0 FAIL&lt;BR /&gt;Total MapReduce CPU Time Spent: 0 msec&lt;/P&gt;</description>
      <pubDate>Wed, 19 Apr 2017 06:10:19 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-Hbase-java-lang-ClassNotFoundException-org-cliffc-high/m-p/53842#M4825</guid>
      <dc:creator>Manoj03</dc:creator>
      <dc:date>2017-04-19T06:10:19Z</dc:date>
    </item>
  </channel>
</rss>

