[ 
https://issues.apache.org/jira/browse/IMPALA-8333?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16853163#comment-16853163
 ] 

ASF subversion and git services commented on IMPALA-8333:
---------------------------------------------------------

Commit 0a37377aa331d6c967be00efaf5028138de5d65d in impala's branch 
refs/heads/master from Andrew Sherman
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=0a37377 ]

IMPALA-8333: Remove Impala Shell warnings part 2

Set IMPALA_TOOLCHAIN_BUILD_ID=40-193a30b3af to pickup "Patch Thrift to
0.9.3-p6 to eliminate ssl warnings"

Set IMPALA_THRIFT_VERSION=0.9.3-p6 to pick up the new thrift build,
which removes an unnecessary and confusing warning.

TESTING

Change the tests in test_client_ssl.py which were looking for specific
deprecation warnings to instead search for any Deprecation Warning.
Ran all end-to-end tests with new toolchain.
Built Impala on all supported platforms.

Change-Id: I8ae7e068894da5981fc083e690051da268bfde4d
Reviewed-on: http://gerrit.cloudera.org:8080/13404
Reviewed-by: Impala Public Jenkins <[email protected]>
Tested-by: Impala Public Jenkins <[email protected]>


> Remove Impala Shell warnings part 2
> -----------------------------------
>
>                 Key: IMPALA-8333
>                 URL: https://issues.apache.org/jira/browse/IMPALA-8333
>             Project: IMPALA
>          Issue Type: Bug
>            Reporter: Andrew Sherman
>            Assignee: Andrew Sherman
>            Priority: Critical
>
> 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/xxx/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 covered by IMPALA-8332
> The 5th warning “DeprecationWarning: Use cert_reqs instead warnings.warn('Use 
> cert_reqs instead', DeprecationWarning)” 
> is caused by a bug in Thrift 0.9.3.
> This can be fixed either by patching Thrift in the Impala toolchain, or by 
> implementing  "IMPALA-7825 Upgrade Thrift version to 0.11.0" where this 
> warning is not present



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to