<?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 -k with ha proxy not working in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/impala-shell-k-with-ha-proxy-not-working/m-p/65151#M74834</link>
    <description>&lt;P&gt;Worked !&lt;BR /&gt;thanks&lt;/P&gt;</description>
    <pubDate>Tue, 06 Mar 2018 20:43:54 GMT</pubDate>
    <dc:creator>maurin</dc:creator>
    <dc:date>2018-03-06T20:43:54Z</dc:date>
    <item>
      <title>impala-shell -k with ha proxy not working</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/impala-shell-k-with-ha-proxy-not-working/m-p/64819#M74830</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;BR /&gt;I have a imapala cluster with kerberos and HA proxy, and everything works fine when I connect using impyla.&lt;/P&gt;&lt;P&gt;But when I do a&amp;nbsp; (after a kinit)&lt;BR /&gt;&amp;nbsp;impala-shell -k&lt;/P&gt;&lt;P&gt;connect myHaproxy:21051;&lt;BR /&gt;I get :&lt;/P&gt;&lt;PRE&gt;Error: Unable to communicate with impalad service. This service may not be an impalad instance. Check host:port and try again.
Traceback (most recent call last):
  File "/opt/cloudera/parcels/CDH-5.14.0-1.cdh5.14.0.p0.24/bin/../lib/impala-shell/impala_shell.py", line 1554, in &amp;lt;module&amp;gt;
    shell.cmdloop(intro)
  File "/usr/lib/python2.7/cmd.py", line 142, in cmdloop
    stop = self.onecmd(line)
  File "/opt/cloudera/parcels/CDH-5.14.0-1.cdh5.14.0.p0.24/bin/../lib/impala-shell/impala_shell.py", line 563, in onecmd
    return cmd.Cmd.onecmd(self, line)
  File "/usr/lib/python2.7/cmd.py", line 221, in onecmd
    return func(arg)
  File "/opt/cloudera/parcels/CDH-5.14.0-1.cdh5.14.0.p0.24/bin/../lib/impala-shell/impala_shell.py", line 717, in do_connect
    self._connect()
  File "/opt/cloudera/parcels/CDH-5.14.0-1.cdh5.14.0.p0.24/bin/../lib/impala-shell/impala_shell.py", line 764, in _connect
    result = self.imp_client.connect()
  File "/opt/cloudera/parcels/CDH-5.14.0-1.cdh5.14.0.p0.24/lib/impala-shell/lib/impala_client.py", line 245, in connect
    result = self.ping_impala_service()
  File "/opt/cloudera/parcels/CDH-5.14.0-1.cdh5.14.0.p0.24/lib/impala-shell/lib/impala_client.py", line 250, in ping_impala_service
    return self.imp_service.PingImpalaService()
  File "/opt/cloudera/parcels/CDH-5.14.0-1.cdh5.14.0.p0.24/lib/impala-shell/gen-py/ImpalaService/ImpalaService.py", line 223, in PingImpalaService
    return self.recv_PingImpalaService()
  File "/opt/cloudera/parcels/CDH-5.14.0-1.cdh5.14.0.p0.24/lib/impala-shell/gen-py/ImpalaService/ImpalaService.py", line 238, in recv_PingImpalaService
    raise x
thrift.Thrift.TApplicationException: Invalid method name: 'PingImpalaService'&lt;/PRE&gt;&lt;P&gt;any idea why?&lt;BR /&gt;&lt;BR /&gt;thanks&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 12:53:34 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/impala-shell-k-with-ha-proxy-not-working/m-p/64819#M74830</guid>
      <dc:creator>maurin</dc:creator>
      <dc:date>2022-09-16T12:53:34Z</dc:date>
    </item>
    <item>
      <title>Re: impala-shell -k with ha proxy not working</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/impala-shell-k-with-ha-proxy-not-working/m-p/65084#M74831</link>
      <description>&lt;P&gt;Does impyla connect with Kerberos authentication, or LDAP?&lt;/P&gt;&lt;P&gt;Connection through HAProxy using LDAP authentication works fine. But in order to use Kerberos authentication, you have to configure your "myHaproxy:21051" as Load Balancer in impala's configuration.&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.cloudera.com/documentation/enterprise/latest/topics/impala_proxy.html#proxy_kerberos" target="_blank"&gt;https://www.cloudera.com/documentation/enterprise/latest/topics/impala_proxy.html#proxy_kerberos&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Mar 2018 20:45:54 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/impala-shell-k-with-ha-proxy-not-working/m-p/65084#M74831</guid>
      <dc:creator>GeKas</dc:creator>
      <dc:date>2018-03-02T20:45:54Z</dc:date>
    </item>
    <item>
      <title>Re: impala-shell -k with ha proxy not working</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/impala-shell-k-with-ha-proxy-not-working/m-p/65122#M74832</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;BR /&gt;Impyla connect using kerberos, we are not using ldap.&amp;nbsp;&lt;BR /&gt;I have configured the Load Balancer as stated in the docs, but still have the same error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;</description>
      <pubDate>Tue, 06 Mar 2018 00:04:42 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/impala-shell-k-with-ha-proxy-not-working/m-p/65122#M74832</guid>
      <dc:creator>maurin</dc:creator>
      <dc:date>2018-03-06T00:04:42Z</dc:date>
    </item>
    <item>
      <title>Re: impala-shell -k with ha proxy not working</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/impala-shell-k-with-ha-proxy-not-working/m-p/65126#M74833</link>
      <description>&lt;P&gt;Sorry, I didn't notice before.&lt;/P&gt;&lt;P&gt;Impyla uses the port 21050 to connect to Impala. This port is also used for JDBC connection. Probably in your HAProxy, you have configured port 21051 in front.&lt;/P&gt;&lt;P&gt;"impala-shell", on the other hand, uses the default port "21000" to connect to impala. So you have to configure an additional block in your HAProxy configuration, to forward that port as well.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can refer to&amp;nbsp;&lt;A href="https://www.cloudera.com/documentation/enterprise/latest/topics/cm_ig_ports_impala.html" target="_blank"&gt;https://www.cloudera.com/documentation/enterprise/latest/topics/cm_ig_ports_impala.html&lt;/A&gt; .&lt;/P&gt;</description>
      <pubDate>Tue, 06 Mar 2018 08:18:21 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/impala-shell-k-with-ha-proxy-not-working/m-p/65126#M74833</guid>
      <dc:creator>GeKas</dc:creator>
      <dc:date>2018-03-06T08:18:21Z</dc:date>
    </item>
    <item>
      <title>Re: impala-shell -k with ha proxy not working</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/impala-shell-k-with-ha-proxy-not-working/m-p/65151#M74834</link>
      <description>&lt;P&gt;Worked !&lt;BR /&gt;thanks&lt;/P&gt;</description>
      <pubDate>Tue, 06 Mar 2018 20:43:54 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/impala-shell-k-with-ha-proxy-not-working/m-p/65151#M74834</guid>
      <dc:creator>maurin</dc:creator>
      <dc:date>2018-03-06T20:43:54Z</dc:date>
    </item>
    <item>
      <title>Re: impala-shell -k with ha proxy not working</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/impala-shell-k-with-ha-proxy-not-working/m-p/82302#M74835</link>
      <description>Hi, I have the same problem, could you please give me some detail guid? Thanks a lot</description>
      <pubDate>Wed, 14 Nov 2018 09:57:31 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/impala-shell-k-with-ha-proxy-not-working/m-p/82302#M74835</guid>
      <dc:creator>DanielDuan</dc:creator>
      <dc:date>2018-11-14T09:57:31Z</dc:date>
    </item>
  </channel>
</rss>

