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 "Michael Smith (Jira)" <ji...@apache.org> on 2022/06/08 22:18:00 UTC

[jira] [Work started] (IMPALA-11343) impala-shell --ssl fails in PyPI install

     [ https://issues.apache.org/jira/browse/IMPALA-11343?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on IMPALA-11343 started by Michael Smith.
----------------------------------------------
> impala-shell --ssl fails in PyPI install
> ----------------------------------------
>
>                 Key: IMPALA-11343
>                 URL: https://issues.apache.org/jira/browse/IMPALA-11343
>             Project: IMPALA
>          Issue Type: Bug
>    Affects Versions: Impala 4.2.0
>            Reporter: Michael Smith
>            Assignee: Michael Smith
>            Priority: Blocker
>
> Attempting to start a PyPI install of impala-shell with {{--ssl}} results in
> {code}
> $ impala-shell --ssl
> Starting Impala Shell with no authentication using Python 2.7.18
> SSL is enabled. Impala server certificates will NOT be verified (set --ca_cert to change)
> No handlers could be found for logger "impala_shell.thrift.transport.sslcompat"
> Error connecting: ValueError, non-zero flags not allowed in calls to recv() on <class 'ssl.SSLSocket'>
> Traceback (most recent call last):
>   File "./shell/build/py2_venv/bin/impala-shell", line 11, in <module>
>     load_entry_point('impala-shell===install-test', 'console_scripts', 'impala-shell')()
>   File "/home/michael/Impala/shell/build/py2_venv/local/lib/python2.7/site-packages/impala_shell/impala_shell.py", line 2106, in impala_shell_main
>     with ImpalaShell(options, query_options) as shell:
>   File "/home/michael/Impala/shell/build/py2_venv/local/lib/python2.7/site-packages/impala_shell/impala_shell.py", line 294, in __init__
>     self.do_connect(options.impalad)
>   File "/home/michael/Impala/shell/build/py2_venv/local/lib/python2.7/site-packages/impala_shell/impala_shell.py", line 952, in do_connect
>     self._connect()
>   File "/home/michael/Impala/shell/build/py2_venv/local/lib/python2.7/site-packages/impala_shell/impala_shell.py", line 1053, in _connect
>     self.close_connection()
>   File "/home/michael/Impala/shell/build/py2_venv/local/lib/python2.7/site-packages/impala_shell/impala_shell.py", line 634, in close_connection
>     self.imp_client.close_connection()
>   File "/home/michael/Impala/shell/build/py2_venv/local/lib/python2.7/site-packages/impala_shell/impala_client.py", line 705, in close_connection
>     self._close_transport()
>   File "/home/michael/Impala/shell/build/py2_venv/local/lib/python2.7/site-packages/impala_shell/impala_client.py", line 226, in _close_transport
>     if self.transport and self.transport.isOpen():
>   File "/home/michael/Impala/shell/build/py2_venv/local/lib/python2.7/site-packages/impala_shell/thrift/transport/TTransport.py", line 150, in isOpen
>     return self.__trans.isOpen()
>   File "/home/michael/Impala/shell/build/py2_venv/local/lib/python2.7/site-packages/thrift/transport/TSocket.py", line 92, in isOpen
>     peeked_bytes = self.handle.recv(1, socket.MSG_PEEK)
>   File "/usr/lib/python2.7/ssl.py", line 753, in recv
>     self.__class__)
> ValueError: non-zero flags not allowed in calls to recv() on <class 'ssl.SSLSocket'>
> {code}
> This started after IMPALA-11313.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org