<?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: does sharelib jars needs to be explicitly included in java action in &amp;lt;file&amp;gt;? in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/does-sharelib-jars-needs-to-be-explicitly-included-in-java/m-p/86553#M34972</link>
    <description>The share-lib in Oozie is modular, so it only adds necessary jars for each&lt;BR /&gt;action type. The java action is the most generic of all action types, and&lt;BR /&gt;therefore receives none of the other action type dependencies (such as&lt;BR /&gt;hive, pig, distcp, spark, etc.).&lt;BR /&gt;&lt;BR /&gt;The article you've linked to carries an answer to the question of 'how do I&lt;BR /&gt;further include jars from action type X into my action type Y', which I've&lt;BR /&gt;quoted below for convenience:&lt;BR /&gt;&lt;BR /&gt;"""&lt;BR /&gt;For example, if you want all Pig actions in one of your Workflows to&lt;BR /&gt;include the HCatalog ShareLib, you would add&lt;BR /&gt;oozie.action.sharelib.for.pig=pig,hcatalog to your job.properties.&lt;BR /&gt;"""&lt;BR /&gt;&lt;BR /&gt;So in your case, you may want to try and add:&lt;BR /&gt;&lt;BR /&gt;oozie.action.sharelib.for.java=java,hive&lt;BR /&gt;</description>
    <pubDate>Sat, 16 Feb 2019 03:13:42 GMT</pubDate>
    <dc:creator>Harsh J</dc:creator>
    <dc:date>2019-02-16T03:13:42Z</dc:date>
    <item>
      <title>does sharelib jars needs to be explicitly included in java action in &lt;file&gt;?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/does-sharelib-jars-needs-to-be-explicitly-included-in-java/m-p/86521#M34971</link>
      <description>&lt;P&gt;does sharelib jars like&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;hive-exec&lt;/LI&gt;&lt;LI&gt;hive-common&lt;/LI&gt;&lt;LI&gt;hive-jdbc&lt;/LI&gt;&lt;LI&gt;hive-serivce&lt;/LI&gt;&lt;LI&gt;libthrift&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;needs to be included explicitly in java action &amp;lt;file&amp;gt; tag or those are auto included?&lt;/P&gt;&lt;P&gt;From this document i see they should be auto included if i am not wrong?&amp;nbsp;&lt;A href="https://blog.cloudera.com/blog/2014/05/how-to-use-the-sharelib-in-apache-oozie-cdh-5/" target="_self"&gt;how-to-use-the-sharelib-in-apache-oozie-cdh-5&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 14:09:50 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/does-sharelib-jars-needs-to-be-explicitly-included-in-java/m-p/86521#M34971</guid>
      <dc:creator>swan</dc:creator>
      <dc:date>2022-09-16T14:09:50Z</dc:date>
    </item>
    <item>
      <title>Re: does sharelib jars needs to be explicitly included in java action in &lt;file&gt;?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/does-sharelib-jars-needs-to-be-explicitly-included-in-java/m-p/86553#M34972</link>
      <description>The share-lib in Oozie is modular, so it only adds necessary jars for each&lt;BR /&gt;action type. The java action is the most generic of all action types, and&lt;BR /&gt;therefore receives none of the other action type dependencies (such as&lt;BR /&gt;hive, pig, distcp, spark, etc.).&lt;BR /&gt;&lt;BR /&gt;The article you've linked to carries an answer to the question of 'how do I&lt;BR /&gt;further include jars from action type X into my action type Y', which I've&lt;BR /&gt;quoted below for convenience:&lt;BR /&gt;&lt;BR /&gt;"""&lt;BR /&gt;For example, if you want all Pig actions in one of your Workflows to&lt;BR /&gt;include the HCatalog ShareLib, you would add&lt;BR /&gt;oozie.action.sharelib.for.pig=pig,hcatalog to your job.properties.&lt;BR /&gt;"""&lt;BR /&gt;&lt;BR /&gt;So in your case, you may want to try and add:&lt;BR /&gt;&lt;BR /&gt;oozie.action.sharelib.for.java=java,hive&lt;BR /&gt;</description>
      <pubDate>Sat, 16 Feb 2019 03:13:42 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/does-sharelib-jars-needs-to-be-explicitly-included-in-java/m-p/86553#M34972</guid>
      <dc:creator>Harsh J</dc:creator>
      <dc:date>2019-02-16T03:13:42Z</dc:date>
    </item>
  </channel>
</rss>

