<?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.exec.post.hooks Class not found:org.apache.atlas.hive.hook.HiveHook FAILED: Hive Internal Error: java.lang.ClassNotFoundException(org.apache.atlas.hive.hook.HiveHook) in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/hive-exec-post-hooks-Class-not-found-org-apache-atlas-hive/m-p/158379#M20929</link>
    <description>&lt;P&gt;No from the hive.xxx.hooks parameters in the hive-site.xml. They define hooks. If atlas is not added there he doesn't even look for the class ( because the hook is never called ) &lt;/P&gt;</description>
    <pubDate>Thu, 25 Feb 2016 22:19:03 GMT</pubDate>
    <dc:creator>bleonhardi</dc:creator>
    <dc:date>2016-02-25T22:19:03Z</dc:date>
    <item>
      <title>hive.exec.post.hooks Class not found:org.apache.atlas.hive.hook.HiveHook FAILED: Hive Internal Error: java.lang.ClassNotFoundException(org.apache.atlas.hive.hook.HiveHook)</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/hive-exec-post-hooks-Class-not-found-org-apache-atlas-hive/m-p/158375#M20925</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;My hive action with oozie is failing with below error.&lt;/P&gt;&lt;P&gt;hive.exec.post.hooks Class not found:org.apache.atlas.hive.hook.HiveHook FAILED: Hive Internal Error: java.lang.ClassNotFoundException(org.apache.atlas.hive.hook.HiveHook)&lt;/P&gt;&lt;P&gt;Please note that this error started after upgrade only from 2.2 to 2.3.&lt;/P&gt;&lt;P&gt;I have implemented below solution as well but still getting error, can anyone please help me to get it resolve. &lt;/P&gt;&lt;P&gt;&lt;A href="http://stackoverflow.com/questions/32759933/hive-internal-error-java-lang-classnotfoundexceptionorg-apache-atlas-hive-hook" target="_blank"&gt;http://stackoverflow.com/questions/32759933/hive-internal-error-java-lang-classnotfoundexceptionorg-apache-atlas-hive-hook&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 10:05:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/hive-exec-post-hooks-Class-not-found-org-apache-atlas-hive/m-p/158375#M20925</guid>
      <dc:creator>SK1</dc:creator>
      <dc:date>2022-09-16T10:05:46Z</dc:date>
    </item>
    <item>
      <title>Re: hive.exec.post.hooks Class not found:org.apache.atlas.hive.hook.HiveHook FAILED: Hive Internal Error: java.lang.ClassNotFoundException(org.apache.atlas.hive.hook.HiveHook)</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/hive-exec-post-hooks-Class-not-found-org-apache-atlas-hive/m-p/158376#M20926</link>
      <description>&lt;P&gt;One quick fix is to remove the Atlas Hook from the hive-site.xml&lt;/P&gt;&lt;P&gt;Find all the hook parameters ( below is the post hook ) and remove the Atlas class from this. &lt;/P&gt;&lt;P&gt;hive.exec.post.hooks&lt;/P&gt;&lt;P&gt;Or do you want to use Atlas? In that case adding the atlas libraries to shared should help. Did you restart oozie after adding the libraries to the shared folder?&lt;/P&gt;&lt;P&gt;You can also check in the output of the hive action if he actually put the atlas jars into the execution directory of the action. &lt;/P&gt;</description>
      <pubDate>Thu, 25 Feb 2016 19:58:02 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/hive-exec-post-hooks-Class-not-found-org-apache-atlas-hive/m-p/158376#M20926</guid>
      <dc:creator>bleonhardi</dc:creator>
      <dc:date>2016-02-25T19:58:02Z</dc:date>
    </item>
    <item>
      <title>Re: hive.exec.post.hooks Class not found:org.apache.atlas.hive.hook.HiveHook FAILED: Hive Internal Error: java.lang.ClassNotFoundException(org.apache.atlas.hive.hook.HiveHook)</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/hive-exec-post-hooks-Class-not-found-org-apache-atlas-hive/m-p/158377#M20927</link>
      <description>&lt;P&gt;I can almost guarantee you need this oozie.action.sharelib.for.hive=pig,hcatalog,atlas,hive&lt;/P&gt;&lt;P&gt;It's a guess but knowing all oozie pain points I have a good feeling. Make sure atlas is in sharelib. That would also explain that it worked before as Atlas was added recently to our stack.&lt;/P&gt;</description>
      <pubDate>Thu, 25 Feb 2016 20:13:25 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/hive-exec-post-hooks-Class-not-found-org-apache-atlas-hive/m-p/158377#M20927</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2016-02-25T20:13:25Z</dc:date>
    </item>
    <item>
      <title>Re: hive.exec.post.hooks Class not found:org.apache.atlas.hive.hook.HiveHook FAILED: Hive Internal Error: java.lang.ClassNotFoundException(org.apache.atlas.hive.hook.HiveHook)</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/hive-exec-post-hooks-Class-not-found-org-apache-atlas-hive/m-p/158378#M20928</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/168/bleonhardi.html" nodeid="168"&gt;@Benjamin Leonhardi&lt;/A&gt;: You mean remove from hive_env.sh file ?&lt;/P&gt;</description>
      <pubDate>Thu, 25 Feb 2016 21:03:08 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/hive-exec-post-hooks-Class-not-found-org-apache-atlas-hive/m-p/158378#M20928</guid>
      <dc:creator>SK1</dc:creator>
      <dc:date>2016-02-25T21:03:08Z</dc:date>
    </item>
    <item>
      <title>Re: hive.exec.post.hooks Class not found:org.apache.atlas.hive.hook.HiveHook FAILED: Hive Internal Error: java.lang.ClassNotFoundException(org.apache.atlas.hive.hook.HiveHook)</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/hive-exec-post-hooks-Class-not-found-org-apache-atlas-hive/m-p/158379#M20929</link>
      <description>&lt;P&gt;No from the hive.xxx.hooks parameters in the hive-site.xml. They define hooks. If atlas is not added there he doesn't even look for the class ( because the hook is never called ) &lt;/P&gt;</description>
      <pubDate>Thu, 25 Feb 2016 22:19:03 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/hive-exec-post-hooks-Class-not-found-org-apache-atlas-hive/m-p/158379#M20929</guid>
      <dc:creator>bleonhardi</dc:creator>
      <dc:date>2016-02-25T22:19:03Z</dc:date>
    </item>
    <item>
      <title>Re: hive.exec.post.hooks Class not found:org.apache.atlas.hive.hook.HiveHook FAILED: Hive Internal Error: java.lang.ClassNotFoundException(org.apache.atlas.hive.hook.HiveHook)</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/hive-exec-post-hooks-Class-not-found-org-apache-atlas-hive/m-p/158380#M20930</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/2273/saurabhmcakiet.html" nodeid="2273"&gt;@Saurabh Kumar&lt;/A&gt; please see my answer, as well as this link &lt;A href="https://community.hortonworks.com/content/idea/2391/pig-and-hive-actions-should-include-hive-hcatalog.html" target="_blank"&gt;https://community.hortonworks.com/content/idea/2391/pig-and-hive-actions-should-include-hive-hcatalog.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Feb 2016 00:56:54 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/hive-exec-post-hooks-Class-not-found-org-apache-atlas-hive/m-p/158380#M20930</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2016-02-26T00:56:54Z</dc:date>
    </item>
    <item>
      <title>Re: hive.exec.post.hooks Class not found:org.apache.atlas.hive.hook.HiveHook FAILED: Hive Internal Error: java.lang.ClassNotFoundException(org.apache.atlas.hive.hook.HiveHook)</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/hive-exec-post-hooks-Class-not-found-org-apache-atlas-hive/m-p/158381#M20931</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/393/aervits.html" nodeid="393"&gt;@Artem Ervits&lt;/A&gt;: I have added oozie.action.sharelib.for.hive = hive,hcatalog,sqoop but still getting same error.&lt;/P&gt;&lt;P&gt;And when I removed atlas property then it is working fine. But now other user's jobs are failing which are dependent on atlas. So not understanding where is the root cause. &lt;/P&gt;</description>
      <pubDate>Fri, 26 Feb 2016 18:44:53 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/hive-exec-post-hooks-Class-not-found-org-apache-atlas-hive/m-p/158381#M20931</guid>
      <dc:creator>SK1</dc:creator>
      <dc:date>2016-02-26T18:44:53Z</dc:date>
    </item>
    <item>
      <title>Re: hive.exec.post.hooks Class not found:org.apache.atlas.hive.hook.HiveHook FAILED: Hive Internal Error: java.lang.ClassNotFoundException(org.apache.atlas.hive.hook.HiveHook)</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/hive-exec-post-hooks-Class-not-found-org-apache-atlas-hive/m-p/158382#M20932</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/2273/saurabhmcakiet.html" nodeid="2273"&gt;@Saurabh&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I have resolved this kind of error for multiple customers by following below steps:&lt;/P&gt;&lt;P&gt;#Command 1:&lt;/P&gt;&lt;PRE&gt;hadoop fs -put /usr/hdp/current/atlas-server/hook/hive/* hdfs://&amp;lt;NN&amp;gt;/user/oozie/share/lib/lib_&amp;lt;Timestamp&amp;gt;/hive/ &lt;/PRE&gt;&lt;P&gt;#Command 2(Please run below command on Oozie server as 'oozie' user):&lt;/P&gt;&lt;PRE&gt;oozie admin -oozie &lt;A href="http://&amp;lt;oozie-server:11000/oozie" target="_blank"&gt;http://&amp;lt;oozie-server:11000/oozie&lt;/A&gt; -sharelibupdate &lt;/PRE&gt;&lt;P&gt;Re-run your Oozie workflow, It should succeed without any issue.&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;&lt;P&gt;Note - Update Oozie sharelib part is missing in the stackoverflow's answer.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Dec 2016 22:30:16 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/hive-exec-post-hooks-Class-not-found-org-apache-atlas-hive/m-p/158382#M20932</guid>
      <dc:creator>KuldeepK</dc:creator>
      <dc:date>2016-12-02T22:30:16Z</dc:date>
    </item>
  </channel>
</rss>

