<?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 Hive2 action in kerberized cluster using HS2 http transport in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Oozie-Hive2-action-in-kerberized-cluster-using-HS2-http/m-p/115998#M78792</link>
    <description>&lt;P&gt;Can you share your workflow? Did you add the Hive2Credential in the action?&lt;/P&gt;&lt;P&gt;Actually not completely sure if needed in a Hive2 Action but I assume so. He gets the information like keytab from the hive-site.xml&lt;/P&gt;&lt;P&gt;&lt;A href="https://oozie.apache.org/docs/4.2.0/DG_ActionAuthentication.html" target="_blank"&gt;https://oozie.apache.org/docs/4.2.0/DG_ActionAuthentication.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Does the same URL work from beeline?&lt;/P&gt;</description>
    <pubDate>Tue, 08 Mar 2016 19:17:29 GMT</pubDate>
    <dc:creator>bleonhardi</dc:creator>
    <dc:date>2016-03-08T19:17:29Z</dc:date>
    <item>
      <title>Oozie Hive2 action in kerberized cluster using HS2 http transport</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Oozie-Hive2-action-in-kerberized-cluster-using-HS2-http/m-p/115997#M78791</link>
      <description>&lt;P&gt;&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/2680-workflow.xml"&gt;workflow.xml&lt;/A&gt;Trying to run an Oozie Hive2 action in kerberized cluster with HS2 transport set to http (to support Knox), I'm getting the following error: &lt;/P&gt;&lt;PRE&gt;ACTION[0000010-1...6-oozie-oozi-W@hive2-node] Exception in addtoJobConforg.apache.hive.service.cli.HiveSQLException: Delegation token only supported over kerberos authentication&lt;/PRE&gt;&lt;P&gt;I set &lt;/P&gt;&lt;PRE&gt;jdbcUrl=jdbc:hive2://oozie1.example.com:10000/default;ssl=false;transportMode=http;httpPath=cliservice&lt;/PRE&gt;&lt;P&gt;and hive principal to &lt;A href="mailto:hive/hive2.example.com@EXAMPLE.COM"&gt;hive/hive2.example.com@EXAMPLE.COM&lt;/A&gt; and I can see in the log that the final URL was constructed correctly by concat-ing jdbcUrl and the principal, but I get the exception. Has anybody been able to make this run and how? BTW, Hive's doAs=false, as I found some articles claiming this to be the solution, but not for me &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Attaching the workflow, it's from Oozie examples, with added credentials and the password. jdbcUrl and the principal are given above.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Mar 2016 18:12:22 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Oozie-Hive2-action-in-kerberized-cluster-using-HS2-http/m-p/115997#M78791</guid>
      <dc:creator>pminovic</dc:creator>
      <dc:date>2016-03-08T18:12:22Z</dc:date>
    </item>
    <item>
      <title>Re: Oozie Hive2 action in kerberized cluster using HS2 http transport</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Oozie-Hive2-action-in-kerberized-cluster-using-HS2-http/m-p/115998#M78792</link>
      <description>&lt;P&gt;Can you share your workflow? Did you add the Hive2Credential in the action?&lt;/P&gt;&lt;P&gt;Actually not completely sure if needed in a Hive2 Action but I assume so. He gets the information like keytab from the hive-site.xml&lt;/P&gt;&lt;P&gt;&lt;A href="https://oozie.apache.org/docs/4.2.0/DG_ActionAuthentication.html" target="_blank"&gt;https://oozie.apache.org/docs/4.2.0/DG_ActionAuthentication.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Does the same URL work from beeline?&lt;/P&gt;</description>
      <pubDate>Tue, 08 Mar 2016 19:17:29 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Oozie-Hive2-action-in-kerberized-cluster-using-HS2-http/m-p/115998#M78792</guid>
      <dc:creator>bleonhardi</dc:creator>
      <dc:date>2016-03-08T19:17:29Z</dc:date>
    </item>
    <item>
      <title>Re: Oozie Hive2 action in kerberized cluster using HS2 http transport</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Oozie-Hive2-action-in-kerberized-cluster-using-HS2-http/m-p/115999#M78793</link>
      <description>&lt;P&gt;Just put the workflow.xml, and yes, the same URL with the principal works from beeline.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Mar 2016 20:01:21 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Oozie-Hive2-action-in-kerberized-cluster-using-HS2-http/m-p/115999#M78793</guid>
      <dc:creator>pminovic</dc:creator>
      <dc:date>2016-03-08T20:01:21Z</dc:date>
    </item>
    <item>
      <title>Re: Oozie Hive2 action in kerberized cluster using HS2 http transport</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Oozie-Hive2-action-in-kerberized-cluster-using-HS2-http/m-p/116000#M78794</link>
      <description>&lt;P&gt;HTTP transport mode of HS2 + kerberos + Oozie Hive2 action is not supported in current releases of HDP. It will be fixed in next maintenance release of HDP 2.4 .&lt;/P&gt;&lt;P&gt;This is the apache jira tracking it - &lt;A href="https://issues.apache.org/jira/browse/HIVE-13169" target="_blank"&gt;https://issues.apache.org/jira/browse/HIVE-13169&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Mar 2016 02:24:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Oozie-Hive2-action-in-kerberized-cluster-using-HS2-http/m-p/116000#M78794</guid>
      <dc:creator>thejas</dc:creator>
      <dc:date>2016-03-09T02:24:52Z</dc:date>
    </item>
    <item>
      <title>Re: Oozie Hive2 action in kerberized cluster using HS2 http transport</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Oozie-Hive2-action-in-kerberized-cluster-using-HS2-http/m-p/116001#M78795</link>
      <description>&lt;P&gt;Thanks for chiming in! It seems it was resolved just a few days ago. We'll be waiting for the fix.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Mar 2016 08:58:42 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Oozie-Hive2-action-in-kerberized-cluster-using-HS2-http/m-p/116001#M78795</guid>
      <dc:creator>pminovic</dc:creator>
      <dc:date>2016-03-09T08:58:42Z</dc:date>
    </item>
  </channel>
</rss>

