<?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: Oozie Hive Action Class Not Found Exception in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Oozie-Hive-Action-Class-Not-Found-Exception/m-p/175864#M138121</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/7629/joshuapersinger.html" nodeid="7629"&gt;@Josh Persinger&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Sometimes it happens when Oozie is having trouble referencing the proper &lt;EM&gt;&lt;STRONG&gt;oozie-sharelib-hive-&amp;lt;HDP Version&amp;gt;.jar&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;
You should try to regenerate the oozie sharelib&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1. Get a listing of hive sharelib content:
&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;# oozie admin -oozie &lt;A href="http://${OOZIE_HOST}:11000/oozie" target="_blank"&gt;http://${OOZIE_HOST}:11000/oozie&lt;/A&gt; -shareliblist hive* &amp;gt; /tmp/hive_shareliblist_OLD.txt 2&amp;gt;&amp;amp;1&lt;/PRE&gt;&lt;P&gt;
&lt;STRONG&gt;2. Now we will recreate the sharelib&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;# /usr/hdp/&amp;lt;HDP Version&amp;gt;/oozie/bin/oozie-setup.sh sharelib create -fs hdfs://${NAMENODE}&lt;/PRE&gt;&lt;P&gt;
&lt;STRONG&gt;3. Again list the hive sharelib contents now.&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;# oozie admin -oozie &lt;A href="http://${OOZIE_HOST}:11000/oozie" target="_blank"&gt;http://${OOZIE_HOST}:11000/oozie&lt;/A&gt; -shareliblist hive* &amp;gt; /tmp/hive_shareliblist_NEW.txt 2&amp;gt;&amp;amp;1&lt;/PRE&gt;&lt;P&gt;
&lt;STRONG&gt;4. For double verification list all hive sharelib directories in HDFS&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;# hdfs dfs -ls -R /user/oozie/share/lib/*/hive/* &amp;gt; /tmp/hive_libs_on_hdfs.txt 2&amp;gt;&amp;amp;1&lt;/PRE&gt;&lt;P&gt;
&lt;STRONG&gt;5. Edit the "workflow.xml" and remove the line:&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;&amp;lt;property&amp;gt; 
     &amp;lt;name&amp;gt;oozie.libpath&amp;lt;/name&amp;gt; 
     &amp;lt;value&amp;gt;${nameNodeHost:8020}/user/oozie/share/lib/lib_20170116233431&amp;lt;/value&amp;gt;
&amp;lt;/property&amp;gt;&lt;/PRE&gt;&lt;P&gt;
&lt;STRONG&gt;6. Modify the "job.properties" file and set the following property to true. The restart the oozie/job&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;oozie.use.system.libpath=true &lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;</description>
    <pubDate>Tue, 28 Mar 2017 14:27:35 GMT</pubDate>
    <dc:creator>jsensharma</dc:creator>
    <dc:date>2017-03-28T14:27:35Z</dc:date>
  </channel>
</rss>

