<?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 Getting timeout while connecting to impala from DBWeaver in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Getting-timeout-while-connecting-to-impala-from-DBWeaver/m-p/325118#M229529</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to connect to impala form dbweaver and constantly getting the below error. I have imported all the necessary drivers.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[Simba][ImpalaJDBCDriver](500164) Error initialized or created transport for authentication: java.net.ConnectException: Connection refused: connect.&lt;BR /&gt;java.net.ConnectException: Connection refused: connect&lt;BR /&gt;java.net.ConnectException: Connection refused: connect&lt;BR /&gt;Connection refused: connect&lt;BR /&gt;Connection refused: connect&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;connection string format:-&amp;nbsp;jdbc:impala://hostname:21050/pmmcounter_db&lt;/P&gt;</description>
    <pubDate>Thu, 23 Sep 2021 04:04:03 GMT</pubDate>
    <dc:creator>golibrary</dc:creator>
    <dc:date>2021-09-23T04:04:03Z</dc:date>
    <item>
      <title>Getting timeout while connecting to impala from DBWeaver</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Getting-timeout-while-connecting-to-impala-from-DBWeaver/m-p/325118#M229529</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to connect to impala form dbweaver and constantly getting the below error. I have imported all the necessary drivers.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[Simba][ImpalaJDBCDriver](500164) Error initialized or created transport for authentication: java.net.ConnectException: Connection refused: connect.&lt;BR /&gt;java.net.ConnectException: Connection refused: connect&lt;BR /&gt;java.net.ConnectException: Connection refused: connect&lt;BR /&gt;Connection refused: connect&lt;BR /&gt;Connection refused: connect&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;connection string format:-&amp;nbsp;jdbc:impala://hostname:21050/pmmcounter_db&lt;/P&gt;</description>
      <pubDate>Thu, 23 Sep 2021 04:04:03 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Getting-timeout-while-connecting-to-impala-from-DBWeaver/m-p/325118#M229529</guid>
      <dc:creator>golibrary</dc:creator>
      <dc:date>2021-09-23T04:04:03Z</dc:date>
    </item>
    <item>
      <title>Re: Getting timeout while connecting to impala from DBWeaver</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Getting-timeout-while-connecting-to-impala-from-DBWeaver/m-p/325203#M229557</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/92176"&gt;@golibrary&lt;/a&gt;&amp;nbsp;It looks it fails with authentication. Please try with "&lt;SPAN&gt;AuthMech" property based on your Cluster setup.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV class="page"&gt;&lt;DIV class="layoutArea"&gt;&lt;DIV class="column"&gt;&lt;P&gt;&lt;SPAN&gt;Using No Authentication &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;To use no authentication: &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN&gt;Set the AuthMech property to 0 For example: &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;jdbc:impala://localhost:21050;AuthMech=0 &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Using Kerberos &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;For information on operating Kerberos, refer to the documentation for your operating system. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;To configure the Cloudera JDBC Driver for Impala to use Kerberos authentication: &lt;/SPAN&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;Set the &lt;/SPAN&gt;&lt;SPAN&gt;AuthMech &lt;/SPAN&gt;&lt;SPAN&gt;property to 1. &lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;If your Kerberos setup does not define a default realm or if the realm of your Impala server is not the default, then set the appropriate realm using the KrbRealm property. &lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;Set the &lt;/SPAN&gt;&lt;SPAN&gt;KrbHostFQDN &lt;/SPAN&gt;&lt;SPAN&gt;property to the fully qualified domain name of the Impala host. &lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;Set the &lt;/SPAN&gt;&lt;SPAN&gt;KrbServiceName &lt;/SPAN&gt;&lt;SPAN&gt;property to the service name of the Impala server. &lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;SPAN&gt;For example: &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;jdbc:impala://localhost:21050;AuthMech=1;KrbRealm=EXAMPLE.COM;Krb HostFQDN=impala.example.com;KrbServiceName=impala&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;Please refer the below document&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P class="p1"&gt;Check&amp;nbsp;&lt;SPAN&gt;Authentication&amp;nbsp;&lt;/SPAN&gt;informations on page number -&amp;gt; 13 &amp;amp; 14&lt;/P&gt;&lt;P class="p1"&gt;&lt;A href="https://docs.cloudera.com/documentation/other/connectors/impala-jdbc/2-5-24/Cloudera-JDBC-Driver-for-Impala-Install-Guide-2-5-24.pdf" target="_blank"&gt;https://docs.cloudera.com/documentation/other/connectors/impala-jdbc/2-5-24/Cloudera-JDBC-Driver-for-Impala-Install-Guide-2-5-24.pdf&lt;/A&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers!&lt;/SPAN&gt;&lt;BR /&gt;&lt;I&gt;Was your question answered? Make sure to mark the answer as the accepted solution.&lt;/I&gt;&lt;BR /&gt;&lt;I&gt;If you find a reply useful, say thanks by clicking on the thumbs up button.&lt;/I&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 24 Sep 2021 07:28:37 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Getting-timeout-while-connecting-to-impala-from-DBWeaver/m-p/325203#M229557</guid>
      <dc:creator>Chella</dc:creator>
      <dc:date>2021-09-24T07:28:37Z</dc:date>
    </item>
    <item>
      <title>Re: Getting timeout while connecting to impala from DBWeaver</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Getting-timeout-while-connecting-to-impala-from-DBWeaver/m-p/325306#M229600</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/78142"&gt;@Chella&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the reply, I have already set AuthMech = 0 in DbWeaver driver properties, but i still see the same error&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="golibrary_0-1632617622450.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/32419iEA74DC855349D4A4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="golibrary_0-1632617622450.png" alt="golibrary_0-1632617622450.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="golibrary_1-1632617655272.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/32420iC00D06BF24D5D044/image-size/medium?v=v2&amp;amp;px=400" role="button" title="golibrary_1-1632617655272.png" alt="golibrary_1-1632617655272.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;url format is like :-&amp;nbsp;jdbc:impala://&amp;lt;domain_name&amp;gt;:21050/&amp;lt;schema_name&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i have imported the drivers like below&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="golibrary_2-1632617962504.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/32421i3472F5177FF40CFD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="golibrary_2-1632617962504.png" alt="golibrary_2-1632617962504.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please advise.&lt;/P&gt;</description>
      <pubDate>Sun, 26 Sep 2021 00:59:29 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Getting-timeout-while-connecting-to-impala-from-DBWeaver/m-p/325306#M229600</guid>
      <dc:creator>golibrary</dc:creator>
      <dc:date>2021-09-26T00:59:29Z</dc:date>
    </item>
  </channel>
</rss>

