<?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: impala shell connection in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/impala-shell-connection/m-p/318368#M227447</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks for the update.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please find below details:&lt;/P&gt;&lt;P&gt;impalad version 3.4.0-SNAPSHOT RELEASE (build 134517e42b7b6085e758195465f956f431e0e575) Built on Sat Dec 12 11:15:02 UTC 2020&lt;BR /&gt;Version: Cloudera Enterprise 7.1.3 (#4999720 built by jenkins on 20200805-1701 git: fa596184790377f07ba80e9cd4da8b875237939c)&lt;/P&gt;&lt;P&gt;Java VM Name: OpenJDK 64-Bit Server VM&lt;/P&gt;&lt;P&gt;Java Version: 11.0.10&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Roshan&lt;/P&gt;</description>
    <pubDate>Mon, 14 Jun 2021 02:19:37 GMT</pubDate>
    <dc:creator>roshanbi</dc:creator>
    <dc:date>2021-06-14T02:19:37Z</dc:date>
    <item>
      <title>impala shell connection</title>
      <link>https://community.cloudera.com/t5/Support-Questions/impala-shell-connection/m-p/318272#M227429</link>
      <description>&lt;P&gt;Hello Team,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;can you please help me with the connection to impala?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[root@rb-hadoop-02 admin]# impala-shell -i &amp;lt;HUE_IP&amp;gt;:27000 --user=hive&lt;BR /&gt;Starting Impala Shell without Kerberos authentication&lt;BR /&gt;Opened TCP connection to 10.10.104.106:27000&lt;BR /&gt;Socket error 32: [Errno 32] Broken pipe&lt;BR /&gt;***********************************************************************************&lt;BR /&gt;Welcome to the Impala shell.&lt;BR /&gt;(Impala Shell v3.4.0-SNAPSHOT (134517e) built on Sat Dec 12 11:15:02 UTC 2020)&lt;/P&gt;&lt;P&gt;Press TAB twice to see a list of available commands.&lt;BR /&gt;***********************************************************************************&lt;BR /&gt;[Not connected] &amp;gt; show dbs;&lt;BR /&gt;Connection lost, reconnecting...&lt;BR /&gt;Opened TCP connection to 10.10.104.106:27000&lt;BR /&gt;Socket error 32: [Errno 32] Broken pipe&lt;BR /&gt;Query: show dbs&lt;BR /&gt;Not connected (use CONNECT to establish a connection)&lt;BR /&gt;[Not connected] &amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Roshan&lt;/P&gt;</description>
      <pubDate>Fri, 11 Jun 2021 12:11:48 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/impala-shell-connection/m-p/318272#M227429</guid>
      <dc:creator>roshanbi</dc:creator>
      <dc:date>2021-06-11T12:11:48Z</dc:date>
    </item>
    <item>
      <title>Re: impala shell connection</title>
      <link>https://community.cloudera.com/t5/Support-Questions/impala-shell-connection/m-p/318345#M227437</link>
      <description>&lt;P&gt;Would be helpful to know which version of CDH or CDP you are using.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Jun 2021 15:54:44 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/impala-shell-connection/m-p/318345#M227437</guid>
      <dc:creator>aakulov</dc:creator>
      <dc:date>2021-06-11T15:54:44Z</dc:date>
    </item>
    <item>
      <title>Re: impala shell connection</title>
      <link>https://community.cloudera.com/t5/Support-Questions/impala-shell-connection/m-p/318368#M227447</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks for the update.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please find below details:&lt;/P&gt;&lt;P&gt;impalad version 3.4.0-SNAPSHOT RELEASE (build 134517e42b7b6085e758195465f956f431e0e575) Built on Sat Dec 12 11:15:02 UTC 2020&lt;BR /&gt;Version: Cloudera Enterprise 7.1.3 (#4999720 built by jenkins on 20200805-1701 git: fa596184790377f07ba80e9cd4da8b875237939c)&lt;/P&gt;&lt;P&gt;Java VM Name: OpenJDK 64-Bit Server VM&lt;/P&gt;&lt;P&gt;Java Version: 11.0.10&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Roshan&lt;/P&gt;</description>
      <pubDate>Mon, 14 Jun 2021 02:19:37 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/impala-shell-connection/m-p/318368#M227447</guid>
      <dc:creator>roshanbi</dc:creator>
      <dc:date>2021-06-14T02:19:37Z</dc:date>
    </item>
    <item>
      <title>Re: impala shell connection</title>
      <link>https://community.cloudera.com/t5/Support-Questions/impala-shell-connection/m-p/318556#M227492</link>
      <description>&lt;P&gt;Hello Roshan,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;THe official documentation for using impala-shell to connect to impala is available here for your version of CDP:&lt;BR /&gt;&lt;A href="https://docs.cloudera.com/cdp-private-cloud-base/7.1.3/impala-manage/topics/impala-shell-connecting.html" target="_blank"&gt;https://docs.cloudera.com/cdp-private-cloud-base/7.1.3/impala-manage/topics/impala-shell-connecting.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note that the default port to connect to impalad is 21000 (not 27000). Please check which port you are using in your deployment (can be done by running&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;netstat -tulpn | grep impalad&lt;/LI-CODE&gt;&lt;P&gt;on the host that's running impalad).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Another thing to check if SSL is enabled on in Impala on your cluster, you'll need to use --ssl option when connecting via impala-shell.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Alex&lt;/P&gt;</description>
      <pubDate>Mon, 14 Jun 2021 19:00:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/impala-shell-connection/m-p/318556#M227492</guid>
      <dc:creator>aakulov</dc:creator>
      <dc:date>2021-06-14T19:00:41Z</dc:date>
    </item>
    <item>
      <title>Re: impala shell connection</title>
      <link>https://community.cloudera.com/t5/Support-Questions/impala-shell-connection/m-p/318645#M227510</link>
      <description>&lt;P&gt;Hello Alex,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have checked the port.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;netstat -tulpn | grep impalad&lt;BR /&gt;tcp 0 0 &amp;lt;IP&amp;gt;:27000 0.0.0.0:* LISTEN 23290/impalad&lt;BR /&gt;tcp 0 0 0.0.0.0:25000 0.0.0.0:* LISTEN 23290/impalad&lt;BR /&gt;tcp6 0 0 :::22000 :::* LISTEN 23290/impalad&lt;BR /&gt;tcp6 0 0 :::23000 :::* LISTEN 23290/impalad&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the port is 23290&lt;BR /&gt;I checked on Cloudera whether there is SSL for impala. Only Ranger configured.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[root@rb-hadoop-02 admin]# impala-shell -i &amp;lt;IP&amp;gt;:23290 --user=hive --ssl&lt;BR /&gt;Starting Impala Shell without Kerberos authentication&lt;BR /&gt;SSL is enabled. Impala server certificates will NOT be verified (set --ca_cert to change)&lt;BR /&gt;No handlers could be found for logger "thrift.transport.TSSLSocket"&lt;BR /&gt;Error connecting: TTransportException, Could not connect to &amp;lt;IP&amp;gt;:23290: [Errno 111] Connection refused&lt;BR /&gt;***********************************************************************************&lt;BR /&gt;Welcome to the Impala shell.&lt;BR /&gt;(Impala Shell v3.4.0-SNAPSHOT (134517e) built on Sat Dec 12 11:15:02 UTC 2020)&lt;/P&gt;&lt;P&gt;After running a query, type SUMMARY to see a summary of where time was spent.&lt;BR /&gt;***********************************************************************************&lt;BR /&gt;[Not connected] &amp;gt; exit;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Roshan&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jun 2021 13:07:40 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/impala-shell-connection/m-p/318645#M227510</guid>
      <dc:creator>roshanbi</dc:creator>
      <dc:date>2021-06-15T13:07:40Z</dc:date>
    </item>
    <item>
      <title>Re: impala shell connection</title>
      <link>https://community.cloudera.com/t5/Support-Questions/impala-shell-connection/m-p/318750#M227524</link>
      <description>&lt;P&gt;Ok, so now it's a "connection refused error". Can you try without --ssl option, since you said Impala is not enabled with TLS/SSL.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Are you able to ping the IP of your impalad server from the host where you are running impala-shell?&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jun 2021 20:00:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/impala-shell-connection/m-p/318750#M227524</guid>
      <dc:creator>aakulov</dc:creator>
      <dc:date>2021-06-15T20:00:17Z</dc:date>
    </item>
    <item>
      <title>Re: impala shell connection</title>
      <link>https://community.cloudera.com/t5/Support-Questions/impala-shell-connection/m-p/319177#M227707</link>
      <description>&lt;P&gt;&lt;A href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/81707" target="_blank"&gt;@roshanbi&lt;/A&gt;,&amp;nbsp;have you resolved your issue? If so, please mark the appropriate reply as the solution, as it will make it easier for others to find the answer in the future.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="cjervis_0-1624451551299.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/31638i8E22973B55008FE1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="cjervis_0-1624451551299.png" alt="cjervis_0-1624451551299.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jun 2021 12:32:40 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/impala-shell-connection/m-p/319177#M227707</guid>
      <dc:creator>cjervis</dc:creator>
      <dc:date>2021-06-23T12:32:40Z</dc:date>
    </item>
  </channel>
</rss>

