<?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 Impala-shell: Not connected to Impala, could not execute queries. in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Impala-shell-Not-connected-to-Impala-could-not-execute/m-p/83519#M12798</link>
    <description>&lt;P&gt;Hi.&lt;/P&gt;
&lt;P&gt;I run Impala-shell command&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;impala-shell -i hdp01.***.***.ru:21051 -k -f /tmp/qql.sql&lt;/PRE&gt;
&lt;P&gt;and catch such error:&lt;/P&gt;
&lt;PRE&gt;Starting Impala Shell using Kerberos authentication
Using service name 'impala'
Error connecting: TTransportException, TSocket read 0 bytes
Not connected to Impala, could not execute queries.&lt;/PRE&gt;
&lt;P&gt;That's all.&lt;/P&gt;
&lt;P&gt;No logs. No special error description. Noghing.&amp;nbsp;Just "not connected to Impala".&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However, Impala works fine. In Hue i can exec queries.&lt;/P&gt;
&lt;P&gt;And "host:port" is fine. If i set other combination of it, i get:&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;Starting Impala Shell using Kerberos authentication&lt;BR /&gt;Using service name 'impala'&lt;BR /&gt;Error connecting: TTransportException, Could not connect to any.other.port.ru:21050&lt;/PRE&gt;
&lt;P&gt;So, we can see, that server available. But Impala is not.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Why? And how to fix it?&lt;/P&gt;
&lt;P&gt;I even can't google&amp;nbsp;any solution by my error: "Error connecting: TTransportException, TSocket read 0 bytes" or "Not connected to Impala, could not execute queries."&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please, help me.&lt;/P&gt;</description>
    <pubDate>Fri, 16 Sep 2022 13:58:17 GMT</pubDate>
    <dc:creator>Vhodnoylogin</dc:creator>
    <dc:date>2022-09-16T13:58:17Z</dc:date>
  </channel>
</rss>

