You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "Andrew Sherman (JIRA)" <ji...@apache.org> on 2019/03/21 16:55:00 UTC
[jira] [Updated] (IMPALA-8332) Remove Impala Shell warnings part 1
[ https://issues.apache.org/jira/browse/IMPALA-8332?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrew Sherman updated IMPALA-8332:
-----------------------------------
Description:
When connecting to a secure cluster, Impala-shell produces several Thrift-related warnings.
This has been happening since “IMPALA-5690: Part 2: Upgrade thrift to 0.9.3-p4”.
[root@nightly61x-2 ~]# impala-shell -i nightly61x-2.xxx.com:25003 -d default -k --ssl --ca_cert=/etc/xxxf/CA_STANDARD/truststore.pem
Starting Impala Shell using Kerberos authentication
Using service name 'impala'
SSL is enabled
/opt/cloudera/parcels/CDH-6.1.x-1.cdh6.1.x.p0.972267/lib/impala-shell/lib/thrift/transport/TSSLSocket.py:80: DeprecationWarning: 3th positional argument is deprecated. Use keyward argument insteand.
DeprecationWarning)
/opt/cloudera/parcels/CDH-6.1.x-1.cdh6.1.x.p0.972267/lib/impala-shell/lib/thrift/transport/TSSLSocket.py:80: DeprecationWarning: 4th positional argument is deprecated. Use keyward argument insteand.
DeprecationWarning)
/opt/cloudera/parcels/CDH-6.1.x-1.cdh6.1.x.p0.972267/lib/impala-shell/lib/thrift/transport/TSSLSocket.py:80: DeprecationWarning: 5th positional argument is deprecated. Use keyward argument insteand.
DeprecationWarning)
/opt/cloudera/parcels/CDH-6.1.x-1.cdh6.1.x.p0.972267/lib/impala-shell/lib/thrift/transport/TSSLSocket.py:216: DeprecationWarning: validate is deprecated. Use cert_reqs=ssl.CERT_REQUIRED instead
DeprecationWarning)
/opt/cloudera/parcels/CDH-6.1.x-1.cdh6.1.x.p0.972267/lib/impala-shell/lib/thrift/transport/TSSLSocket.py:227: DeprecationWarning: Use cert_reqs instead
warnings.warn('Use cert_reqs instead', DeprecationWarning)
Opened TCP connection tonightly61x-2.xxx.com:25003
The first 4 of these warnings are caused by our usage of the TSSLSocket initialiser TSSLSocket.__init__.
In Thrift 0.9.3 this initialiser prints warnings if positional parameters are used.
The 5th warning is covered by IMPALA-8333 Remove Impala Shell warnings part 2
was:
When connecting to a secure cluster, Impala-shell produces several Thrift-related warnings.
This has been happening since “IMPALA-5690: Part 2: Upgrade thrift to 0.9.3-p4”.
[root@nightly61x-2 ~]# impala-shell -i nightly61x-2.xxx.com:25003 -d default -k --ssl --ca_cert=/etc/xxxf/CA_STANDARD/truststore.pem
Starting Impala Shell using Kerberos authentication
Using service name 'impala'
SSL is enabled
/opt/cloudera/parcels/CDH-6.1.x-1.cdh6.1.x.p0.972267/lib/impala-shell/lib/thrift/transport/TSSLSocket.py:80: DeprecationWarning: 3th positional argument is deprecated. Use keyward argument insteand.
DeprecationWarning)
/opt/cloudera/parcels/CDH-6.1.x-1.cdh6.1.x.p0.972267/lib/impala-shell/lib/thrift/transport/TSSLSocket.py:80: DeprecationWarning: 4th positional argument is deprecated. Use keyward argument insteand.
DeprecationWarning)
/opt/cloudera/parcels/CDH-6.1.x-1.cdh6.1.x.p0.972267/lib/impala-shell/lib/thrift/transport/TSSLSocket.py:80: DeprecationWarning: 5th positional argument is deprecated. Use keyward argument insteand.
DeprecationWarning)
/opt/cloudera/parcels/CDH-6.1.x-1.cdh6.1.x.p0.972267/lib/impala-shell/lib/thrift/transport/TSSLSocket.py:216: DeprecationWarning: validate is deprecated. Use cert_reqs=ssl.CERT_REQUIRED instead
DeprecationWarning)
/opt/cloudera/parcels/CDH-6.1.x-1.cdh6.1.x.p0.972267/lib/impala-shell/lib/thrift/transport/TSSLSocket.py:227: DeprecationWarning: Use cert_reqs instead
warnings.warn('Use cert_reqs instead', DeprecationWarning)
Opened TCP connection tonightly61x-2.xxx.com:25003
The first 4 of these warnings are caused by our usage of the TSSLSocket initialiser TSSLSocket.__init__.
In Thrift 0.9.3 this initialiser prints warnings if positional parameters are used.
> Remove Impala Shell warnings part 1
> -----------------------------------
>
> Key: IMPALA-8332
> URL: https://issues.apache.org/jira/browse/IMPALA-8332
> Project: IMPALA
> Issue Type: Bug
> Reporter: Andrew Sherman
> Assignee: Andrew Sherman
> Priority: Major
>
> When connecting to a secure cluster, Impala-shell produces several Thrift-related warnings.
> This has been happening since “IMPALA-5690: Part 2: Upgrade thrift to 0.9.3-p4”.
> [root@nightly61x-2 ~]# impala-shell -i nightly61x-2.xxx.com:25003 -d default -k --ssl --ca_cert=/etc/xxxf/CA_STANDARD/truststore.pem
> Starting Impala Shell using Kerberos authentication
> Using service name 'impala'
> SSL is enabled
> /opt/cloudera/parcels/CDH-6.1.x-1.cdh6.1.x.p0.972267/lib/impala-shell/lib/thrift/transport/TSSLSocket.py:80: DeprecationWarning: 3th positional argument is deprecated. Use keyward argument insteand.
> DeprecationWarning)
> /opt/cloudera/parcels/CDH-6.1.x-1.cdh6.1.x.p0.972267/lib/impala-shell/lib/thrift/transport/TSSLSocket.py:80: DeprecationWarning: 4th positional argument is deprecated. Use keyward argument insteand.
> DeprecationWarning)
> /opt/cloudera/parcels/CDH-6.1.x-1.cdh6.1.x.p0.972267/lib/impala-shell/lib/thrift/transport/TSSLSocket.py:80: DeprecationWarning: 5th positional argument is deprecated. Use keyward argument insteand.
> DeprecationWarning)
> /opt/cloudera/parcels/CDH-6.1.x-1.cdh6.1.x.p0.972267/lib/impala-shell/lib/thrift/transport/TSSLSocket.py:216: DeprecationWarning: validate is deprecated. Use cert_reqs=ssl.CERT_REQUIRED instead
> DeprecationWarning)
> /opt/cloudera/parcels/CDH-6.1.x-1.cdh6.1.x.p0.972267/lib/impala-shell/lib/thrift/transport/TSSLSocket.py:227: DeprecationWarning: Use cert_reqs instead
> warnings.warn('Use cert_reqs instead', DeprecationWarning)
> Opened TCP connection tonightly61x-2.xxx.com:25003
> The first 4 of these warnings are caused by our usage of the TSSLSocket initialiser TSSLSocket.__init__.
> In Thrift 0.9.3 this initialiser prints warnings if positional parameters are used.
> The 5th warning is covered by IMPALA-8333 Remove Impala Shell warnings part 2
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org