Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]
Created on 06-19-2018 06:36 AM - edited 09-16-2022 06:21 AM
Hello,
I've just upgraded our environment to CDH and Cloudera Manager 5.15.0.
Reviewing the changelog of the version, I saw that this feature is implemented in Impala v2.12:
When I tried this command, Impala-shell gives this output:
[root@clouderapre-mgr lib]# impala-shell -i clouderapre-node1 -k -b clouderapre-mgr
Usage: impala_shell.py [options]
impala_shell.py: error: no such option: -b
The version is the correct one:
[root@clouderapre-mgr lib]# impala-shell --version
Impala Shell v2.12.0-cdh5.15.0 (23f5745) built on Thu May 24 04:07:31 PDT 2018
Any ideas of this problem?
Created 06-23-2018 12:22 PM
Hi @rlopez,
Thank you for reporting this. The 5.15.x documentations have been corrected:
Please continue checking back on the release notes below for when this will drop:
https://www.cloudera.com/documentation/enterprise/release-notes/topics/cdh_rn_new_features.html
Cheers,
Vincent.
Created on 06-19-2018 07:35 AM - edited 06-19-2018 07:47 AM
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.
In Github (https://github.com/apache/impala/blob/master/shell/impala_shell.py) the parameter kerberos_host_fqdn is defined as follows:
self.impalad = None
self.kerberos_host_fqdn = options.kerberos_host_fqdn
self.use_kerberos = options.use_kerberos
self.kerberos_service_name = options.kerberos_service_name
self.use_ssl = options.ssl
self.ca_cert = options.ca_cert
self.user = options.user
self.ldap_password = options.ldap_password
self.ldap_password_cmd = options.ldap_password_cmd
self.use_ldap = options.use_ldap
def _new_impala_client(self):
return ImpalaClient(self.impalad, self.kerberos_host_fqdn, self.use_kerberos,
self.kerberos_service_name, self.use_ssl,
self.ca_cert, self.user, self.ldap_password,self.use_ldap)
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:
def __init__(self, options, query_options):
cmd.Cmd.__init__(self)
self.is_alive = True
self.impalad = None
self.use_kerberos = options.use_kerberos
self.kerberos_service_name = options.kerberos_service_name
self.use_ssl = options.ssl
self.ca_cert = options.ca_cert
self.user = options.user
self.ldap_password = options.ldap_password
self.use_ldap = options.use_ldap
self.verbose = options.verbose
self.prompt = ImpalaShell.DISCONNECTED_PROMPT
self.server_version = ImpalaShell.UNKNOWN_SERVER_VERSION
self.webserver_address = ImpalaShell.UNKNOWN_WEBSERVER
This is a bug
Created 06-19-2018 11:11 AM
@rlopezwe 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.
It looks like we need to fix the docs.
Created 06-22-2018 02:51 AM
Created 06-23-2018 12:22 PM
Hi @rlopez,
Thank you for reporting this. The 5.15.x documentations have been corrected:
Please continue checking back on the release notes below for when this will drop:
https://www.cloudera.com/documentation/enterprise/release-notes/topics/cdh_rn_new_features.html
Cheers,
Vincent.