<?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: Cannot Create Hive Connection Pool. in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Cannot-Create-Hive-Connection-Pool/m-p/289985#M45136</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am facing issue still after adding below both hive-site.xml and core-site.xml.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;lt;property&amp;gt;&lt;BR /&gt;&amp;lt;name&amp;gt;hadoop.security.authentication&amp;lt;/name&amp;gt;&lt;BR /&gt;&amp;lt;value&amp;gt;kerberos&amp;lt;/value&amp;gt;&lt;BR /&gt;&amp;lt;/property&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am facing below error&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&lt;FONT color="#FF0000"&gt;org.apache.commons.dbcp.SQLNestedException: Cannot create JDBC driver of class 'org.apache.hive.jdbc.HiveDriver' for connect URL&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT color="#FF0000"&gt;jdbc:hive2://ux329tas101.ux.hostname.net:10000/default;principal=&amp;lt;principal name&amp;gt;;ssl=true&lt;/FONT&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000"&gt;Could you please help&amp;nbsp;me regarding this.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000"&gt;Regards,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000"&gt;Swadesh Mondal&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 18 Feb 2020 16:34:07 GMT</pubDate>
    <dc:creator>Swad</dc:creator>
    <dc:date>2020-02-18T16:34:07Z</dc:date>
    <item>
      <title>Cannot Create Hive Connection Pool.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Cannot-Create-Hive-Connection-Pool/m-p/161704#M45131</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am getting errors while trying to connect to Hive in out Kerberized HADOOP cluster. Here is what i am doing..&lt;/P&gt;&lt;P&gt;Nifi config properties:&lt;/P&gt;&lt;P&gt;# kerberos # &lt;/P&gt;&lt;P&gt;nifi.kerberos.krb5.file=/etc/krb5.conf &lt;/P&gt;&lt;P&gt;# kerberos service principle # &lt;/P&gt;&lt;P&gt;nifi.kerberos.service.principal=nifi/ourserver@ourdomain
nifi.kerberos.service.keytab.location=/etc/security/keytabs/nifi.keytab&lt;/P&gt;&lt;P&gt;Configure Controller Service&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="9072-hive.png" style="width: 726px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/20657iAF27A0FCC17D753D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="9072-hive.png" alt="9072-hive.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;as soon as i enable it i see some warnings..&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="9073-hive2.png" style="width: 1026px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/20658i27FA7980E50C9710/image-size/medium?v=v2&amp;amp;px=400" role="button" title="9073-hive2.png" alt="9073-hive2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG style="font-family: Calibri, sans-serif; font-size: 11pt;" /&gt;and getting these errors when i tried to use the connection in SelectHiveQL process&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="9074-hive3.png" style="width: 773px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/20659i9E4ECC9533195061/image-size/medium?v=v2&amp;amp;px=400" role="button" title="9074-hive3.png" alt="9074-hive3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;DIV&gt;16:33:08 UTC
ERROR
7c2b4a17-f772-1ea7-54c9-99cc4d8dea09
&lt;PRE&gt;HiveConnectionPool[id=7c2b4a17-f772-1ea7-54c9-99cc4d8dea09] Error getting Hive connection&lt;/PRE&gt;&lt;/DIV&gt;&lt;DIV&gt;16:33:08 UTC
ERROR
d3b62ee6-0157-1000-b66f-364970fcfa98
&lt;PRE&gt;SelectHiveQL[id=d3b62ee6-0157-1000-b66f-364970fcfa98] Unable to execute HiveQL select query show tables due to org.apache.nifi.processor.exception.ProcessException: org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Could not open client transport with JDBC Uri: jdbc:hive2://myserver:10000/hdf_moat;principal=hive/myserver@mydomain: GSS initiate failed). No FlowFile to route to failure: org.apache.nifi.processor.exception.ProcessException: org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Could not open client transport with JDBC Uri: jdbc:hive2://myserver:10000/hdf_moat;principal=hive/mydomain: GSS initiate failed)&lt;/PRE&gt;
&lt;/DIV&gt;&lt;P&gt;Regards,&lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2019 11:51:42 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Cannot-Create-Hive-Connection-Pool/m-p/161704#M45131</guid>
      <dc:creator>saikrishna_tara</dc:creator>
      <dc:date>2019-08-18T11:51:42Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot Create Hive Connection Pool.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Cannot-Create-Hive-Connection-Pool/m-p/161705#M45132</link>
      <description>&lt;P&gt;The Hive processors share some code with the Hadoop processors (in terms of Kerberos, etc.), they expect "hadoop.security.authentication" to be set to "kerberos" in your config file(s) (core-site, hive-site, e.g.)&lt;/P&gt;</description>
      <pubDate>Wed, 02 Nov 2016 23:45:18 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Cannot-Create-Hive-Connection-Pool/m-p/161705#M45132</guid>
      <dc:creator>mburgess</dc:creator>
      <dc:date>2016-11-02T23:45:18Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot Create Hive Connection Pool.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Cannot-Create-Hive-Connection-Pool/m-p/161706#M45133</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/641/mburgess.html" nodeid="641" target="_blank"&gt;@Matt Burgess&lt;/A&gt;&lt;/P&gt;&lt;P&gt;in those both files it's set as Kerberos , here are some properties from hive-site.xml. is there any other files that i need to be checking. &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="9076-hivedb.png" style="width: 592px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/20656i0EE1BE5DFE1DB9BD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="9076-hivedb.png" alt="9076-hivedb.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2019 11:51:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Cannot-Create-Hive-Connection-Pool/m-p/161706#M45133</guid>
      <dc:creator>saikrishna_tara</dc:creator>
      <dc:date>2019-08-18T11:51:23Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot Create Hive Connection Pool.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Cannot-Create-Hive-Connection-Pool/m-p/161707#M45134</link>
      <description>&lt;P&gt;In your snippet above, the property set to "KERBEROS" is "hive.server2.authentication", not "hadoop.security.authentication". If "hadoop.security.authentication" is set to "kerberos" in your core-site.xml, ensure the path to your core-site.xml is in the Hive Configuration Resources property. That property accepts a comma-separated list of files, so you can include your hive-site.xml (as you've done in your above screenshot) as well as the core-site.xml file (which has the aforementioned property set).&lt;/P&gt;</description>
      <pubDate>Thu, 03 Nov 2016 00:34:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Cannot-Create-Hive-Connection-Pool/m-p/161707#M45134</guid>
      <dc:creator>mburgess</dc:creator>
      <dc:date>2016-11-03T00:34:26Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot Create Hive Connection Pool.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Cannot-Create-Hive-Connection-Pool/m-p/161708#M45135</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/641/mburgess.html" nodeid="641" target="_blank"&gt;@Matt Burgess&lt;/A&gt; &lt;/P&gt;&lt;P&gt;adding core-site.xml eliminated the warning. But i had to change the kerberos principal to fully qualified name , then it started working..thanks for the help..&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="9081-hivedb.png" style="width: 798px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/20655i54AA88942BCE06DE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="9081-hivedb.png" alt="9081-hivedb.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2019 11:51:15 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Cannot-Create-Hive-Connection-Pool/m-p/161708#M45135</guid>
      <dc:creator>saikrishna_tara</dc:creator>
      <dc:date>2019-08-18T11:51:15Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot Create Hive Connection Pool.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Cannot-Create-Hive-Connection-Pool/m-p/289985#M45136</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am facing issue still after adding below both hive-site.xml and core-site.xml.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;lt;property&amp;gt;&lt;BR /&gt;&amp;lt;name&amp;gt;hadoop.security.authentication&amp;lt;/name&amp;gt;&lt;BR /&gt;&amp;lt;value&amp;gt;kerberos&amp;lt;/value&amp;gt;&lt;BR /&gt;&amp;lt;/property&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am facing below error&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&lt;FONT color="#FF0000"&gt;org.apache.commons.dbcp.SQLNestedException: Cannot create JDBC driver of class 'org.apache.hive.jdbc.HiveDriver' for connect URL&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT color="#FF0000"&gt;jdbc:hive2://ux329tas101.ux.hostname.net:10000/default;principal=&amp;lt;principal name&amp;gt;;ssl=true&lt;/FONT&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000"&gt;Could you please help&amp;nbsp;me regarding this.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000"&gt;Regards,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000"&gt;Swadesh Mondal&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Feb 2020 16:34:07 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Cannot-Create-Hive-Connection-Pool/m-p/289985#M45136</guid>
      <dc:creator>Swad</dc:creator>
      <dc:date>2020-02-18T16:34:07Z</dc:date>
    </item>
  </channel>
</rss>

