dropbox / dropbox/PyHive

"TSocket read 0 bytes" error while running SQL query in a docker container

Open
#371 3 comments 3 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
1.7k
Forks
545
PR merge metrics
No merged PRs in 30d

Description

We are running a long-ish SQL query in pyhive from inside a python 3.6 container. The query freezes up after 10-15 mins and the error mentioned above is thrown. We are using the following versions :

thrift==0.13.0
sasl==0.2.1
thrift-sasl==0.4.2
PyHive==0.6.3

Any leads/solutions?

Additionally, when we try to query a different dedicated queue using configuration = {'mapred.job.queue.name' : queue_name} inside connect(), we also get the following error sometimes:

thrift.transport.TTransport.TTransportException: unexpected exception

Thanks!

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.