You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the close() method is called on HS2Service it is possible that the _iprot is already closed, and it raises an exception:
File "/Users/eggdice/.pyenv/versions/3.6.2/lib/python3.6/site-packages/impala/hiveserver2.py", line 71, in close
self.service.close()
File "/Users/eggdice/.pyenv/versions/3.6.2/lib/python3.6/site-packages/impala/hiveserver2.py", line 1171, in close
self.client._iprot.trans.close()
File "/Users/eggdice/.pyenv/versions/3.6.2/lib/python3.6/site-packages/thrift/transport/TTransport.py", line 156, in close
return self.__trans.close()
File "/Users/eggdice/.pyenv/versions/3.6.2/lib/python3.6/site-packages/impala/_thrift_api.py", line 162, in close
self.__http.close()
AttributeError: 'NoneType' object has no attribute 'close'
It should handle this edge case or it should expose an isOpen() method
The text was updated successfully, but these errors were encountered:
If the
close()
method is called onHS2Service
it is possible that the_iprot
is already closed, and it raises an exception:It should handle this edge case or it should expose an
isOpen()
methodThe text was updated successfully, but these errors were encountered: