Created
December 17, 2014 18:29
-
-
Save liondancer/1aac1ad43d4fdc5036c2 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
>>> import pyhs2 | |
>>> pyhs2.connect(host=host_server, port=8088, authMechanism="PLAIN", user=username, password=password, database=database) | |
Traceback (most recent call last): | |
File "<stdin>", line 1, in <module> | |
File "/Library/Python/2.7/site-packages/pyhs2/__init__.py", line 7, in connect | |
return Connection(*args, **kwargs) | |
File "/Library/Python/2.7/site-packages/pyhs2/connections.py", line 46, in __init__ | |
transport.open() | |
File "/Library/Python/2.7/site-packages/pyhs2/cloudera/thrift_sasl.py", line 74, in open | |
status, payload = self._recv_sasl_message() | |
File "/Library/Python/2.7/site-packages/pyhs2/cloudera/thrift_sasl.py", line 95, in _recv_sasl_message | |
payload = self._trans.readAll(length) | |
File "/Library/Python/2.7/site-packages/thrift/transport/TTransport.py", line 58, in readAll | |
chunk = self.read(sz - have) | |
File "/Library/Python/2.7/site-packages/thrift/transport/TSocket.py", line 120, in read | |
message='TSocket read 0 bytes') | |
thrift.transport.TTransport.TTransportException: TSocket read 0 bytes |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment