<?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 -b: no such option in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/impala-shell-b-no-such-option/m-p/69216#M79709</link>
    <description>&lt;P&gt;Reviewing the Github repo of Apache Impala, I noticed that the code to the Impala Shell differs of the code in /opt/cloudera/parcels/CDH-5.15.0-1.cdh5.15.0.p0.21/lib/impala-shell/impala-_shell.py.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In Github (&lt;A href="https://github.com/apache/impala/blob/master/shell/impala_shell.py" target="_blank"&gt;https://github.com/apache/impala/blob/master/shell/impala_shell.py&lt;/A&gt;) the parameter kerberos_host_fqdn is defined as follows:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;self.impalad = None&lt;BR /&gt;self.kerberos_host_fqdn = options.kerberos_host_fqdn&lt;BR /&gt;self.use_kerberos = options.use_kerberos&lt;BR /&gt;self.kerberos_service_name = options.kerberos_service_name&lt;BR /&gt;self.use_ssl = options.ssl&lt;BR /&gt;self.ca_cert = options.ca_cert&lt;BR /&gt;self.user = options.user&lt;BR /&gt;self.ldap_password = options.ldap_password&lt;BR /&gt;self.ldap_password_cmd = options.ldap_password_cmd&lt;BR /&gt;self.use_ldap = options.use_ldap&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;def _new_impala_client(self):&lt;BR /&gt;return ImpalaClient(self.impalad, self.kerberos_host_fqdn, self.use_kerberos,&lt;BR /&gt;self.kerberos_service_name, self.use_ssl,&lt;BR /&gt;self.ca_cert, self.user, self.ldap_password,self.use_ldap)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But in /opt/cloudera/parcels/CDH-5.15.0-1.cdh5.15.0.p0.21/lib/impala-shell/impala-_shell.py only appears this parameters:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;def __init__(self, options, query_options):&lt;BR /&gt;cmd.Cmd.__init__(self)&lt;BR /&gt;self.is_alive = True&lt;/P&gt;&lt;P&gt;self.impalad = None&lt;BR /&gt;self.use_kerberos = options.use_kerberos&lt;BR /&gt;self.kerberos_service_name = options.kerberos_service_name&lt;BR /&gt;self.use_ssl = options.ssl&lt;BR /&gt;self.ca_cert = options.ca_cert&lt;BR /&gt;self.user = options.user&lt;BR /&gt;self.ldap_password = options.ldap_password&lt;BR /&gt;self.use_ldap = options.use_ldap&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;self.verbose = options.verbose&lt;BR /&gt;self.prompt = ImpalaShell.DISCONNECTED_PROMPT&lt;BR /&gt;self.server_version = ImpalaShell.UNKNOWN_SERVER_VERSION&lt;BR /&gt;self.webserver_address = ImpalaShell.UNKNOWN_WEBSERVER&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is a bug&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 19 Jun 2018 14:47:43 GMT</pubDate>
    <dc:creator>rlopez</dc:creator>
    <dc:date>2018-06-19T14:47:43Z</dc:date>
    <item>
      <title>impala-shell -b: no such option</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/impala-shell-b-no-such-option/m-p/69211#M79708</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've just upgraded our environment to CDH and Cloudera Manager 5.15.0.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Reviewing the changelog of the version, I saw that this feature is implemented in Impala v2.12:&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-center" image-alt="impala -b option.png" style="width: 600px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/4257i5D0C5DF02C053855/image-size/large?v=v2&amp;amp;px=999" role="button" title="impala -b option.png" alt="impala -b option.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I tried this command, Impala-shell gives this output:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;[root@clouderapre-mgr lib]# impala-shell -i clouderapre-node1 -k -b clouderapre-mgr&lt;BR /&gt;Usage: impala_shell.py [options]&lt;/P&gt;&lt;P&gt;impala_shell.py: error: no such option: -b&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The version is the correct one:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[root@clouderapre-mgr lib]# impala-shell --version&lt;BR /&gt;Impala Shell v2.12.0-cdh5.15.0 (23f5745) built on Thu May 24 04:07:31 PDT 2018&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas of this problem?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 13:21:49 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/impala-shell-b-no-such-option/m-p/69211#M79708</guid>
      <dc:creator>rlopez</dc:creator>
      <dc:date>2022-09-16T13:21:49Z</dc:date>
    </item>
    <item>
      <title>Re: impala-shell -b: no such option</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/impala-shell-b-no-such-option/m-p/69216#M79709</link>
      <description>&lt;P&gt;Reviewing the Github repo of Apache Impala, I noticed that the code to the Impala Shell differs of the code in /opt/cloudera/parcels/CDH-5.15.0-1.cdh5.15.0.p0.21/lib/impala-shell/impala-_shell.py.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In Github (&lt;A href="https://github.com/apache/impala/blob/master/shell/impala_shell.py" target="_blank"&gt;https://github.com/apache/impala/blob/master/shell/impala_shell.py&lt;/A&gt;) the parameter kerberos_host_fqdn is defined as follows:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;self.impalad = None&lt;BR /&gt;self.kerberos_host_fqdn = options.kerberos_host_fqdn&lt;BR /&gt;self.use_kerberos = options.use_kerberos&lt;BR /&gt;self.kerberos_service_name = options.kerberos_service_name&lt;BR /&gt;self.use_ssl = options.ssl&lt;BR /&gt;self.ca_cert = options.ca_cert&lt;BR /&gt;self.user = options.user&lt;BR /&gt;self.ldap_password = options.ldap_password&lt;BR /&gt;self.ldap_password_cmd = options.ldap_password_cmd&lt;BR /&gt;self.use_ldap = options.use_ldap&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;def _new_impala_client(self):&lt;BR /&gt;return ImpalaClient(self.impalad, self.kerberos_host_fqdn, self.use_kerberos,&lt;BR /&gt;self.kerberos_service_name, self.use_ssl,&lt;BR /&gt;self.ca_cert, self.user, self.ldap_password,self.use_ldap)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But in /opt/cloudera/parcels/CDH-5.15.0-1.cdh5.15.0.p0.21/lib/impala-shell/impala-_shell.py only appears this parameters:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;def __init__(self, options, query_options):&lt;BR /&gt;cmd.Cmd.__init__(self)&lt;BR /&gt;self.is_alive = True&lt;/P&gt;&lt;P&gt;self.impalad = None&lt;BR /&gt;self.use_kerberos = options.use_kerberos&lt;BR /&gt;self.kerberos_service_name = options.kerberos_service_name&lt;BR /&gt;self.use_ssl = options.ssl&lt;BR /&gt;self.ca_cert = options.ca_cert&lt;BR /&gt;self.user = options.user&lt;BR /&gt;self.ldap_password = options.ldap_password&lt;BR /&gt;self.use_ldap = options.use_ldap&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;self.verbose = options.verbose&lt;BR /&gt;self.prompt = ImpalaShell.DISCONNECTED_PROMPT&lt;BR /&gt;self.server_version = ImpalaShell.UNKNOWN_SERVER_VERSION&lt;BR /&gt;self.webserver_address = ImpalaShell.UNKNOWN_WEBSERVER&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is a bug&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jun 2018 14:47:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/impala-shell-b-no-such-option/m-p/69216#M79709</guid>
      <dc:creator>rlopez</dc:creator>
      <dc:date>2018-06-19T14:47:43Z</dc:date>
    </item>
    <item>
      <title>Re: impala-shell -b: no such option</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/impala-shell-b-no-such-option/m-p/69224#M79710</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/27651"&gt;@rlopez&lt;/a&gt;we sometimes decide to include features in the CDH release that aren't in the base Apache Impala release or vice-versa. In this case the feature wasn't quite ready so we didn't include it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It looks like we need to fix the docs.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jun 2018 18:11:31 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/impala-shell-b-no-such-option/m-p/69224#M79710</guid>
      <dc:creator>Tim Armstrong</dc:creator>
      <dc:date>2018-06-19T18:11:31Z</dc:date>
    </item>
    <item>
      <title>Re: impala-shell -b: no such option</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/impala-shell-b-no-such-option/m-p/69314#M79711</link>
      <description>&lt;DIV&gt;Hello @Tim,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;So this feature will be included in the next Cloudera 5.15.x version? It's so interesting&lt;/DIV&gt;</description>
      <pubDate>Fri, 22 Jun 2018 09:51:03 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/impala-shell-b-no-such-option/m-p/69314#M79711</guid>
      <dc:creator>rlopez</dc:creator>
      <dc:date>2018-06-22T09:51:03Z</dc:date>
    </item>
    <item>
      <title>Re: impala-shell -b: no such option</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/impala-shell-b-no-such-option/m-p/69342#M79712</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/27651"&gt;@rlopez&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for reporting this. The 5.15.x documentations have been corrected:&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.cloudera.com/documentation/enterprise/5-15-x/topics/impala_shell_options.html#shell_options" target="_blank"&gt;https://www.cloudera.com/documentation/enterprise/5-15-x/topics/impala_shell_options.html#shell_options&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please continue checking back on the release notes below for when this will drop:&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.cloudera.com/documentation/enterprise/release-notes/topics/cdh_rn_new_features.html" target="_blank"&gt;https://www.cloudera.com/documentation/enterprise/release-notes/topics/cdh_rn_new_features.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Vincent.&lt;/P&gt;</description>
      <pubDate>Sat, 23 Jun 2018 19:22:32 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/impala-shell-b-no-such-option/m-p/69342#M79712</guid>
      <dc:creator>vttran</dc:creator>
      <dc:date>2018-06-23T19:22:32Z</dc:date>
    </item>
  </channel>
</rss>

