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
File "/usr/local/lib/python3.10/site-packages/TCLIService/TCLIService.py", line 186, in OpenSession
self.send_OpenSession(req)
File "/usr/local/lib/python3.10/site-packages/TCLIService/TCLIService.py", line 195, in send_OpenSession
self._oprot.trans.flush()
File "/usr/local/lib/python3.10/site-packages/pyhive/hive.py", line 81, in flush
super(TCookieHttpClient, self).flush()
File "/usr/local/lib/python3.10/site-packages/thrift/transport/THttpClient.py", line 191, in flush
self.__http.putheader('Cookie', self.headers['Set-Cookie'])
File "/usr/local/lib/python3.10/http/client.py", line 1244, in putheader
raise CannotSendHeader()
Expected behavior
HIve ingestion should work
Workaround
You can get around this behavior by explicitly downgrading thirft to 0.13.0
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Describe the bug
Hive ingestion won't work if using
hive+http
orhive+https
unless you explicitly downgrade Thrift to0.13.0
.Issues aren't supported in
pyhive
so I couldn't raise it there: https://github.com/acryldata/PyHiveThe fix should be to disallow the buggy versions in
setup.py
: https://github.com/acryldata/PyHive/blob/master/setup.py#L62Here's the related pyhive issue (but that project is pretty dead, so maybe it could get fixed here?)
dropbox/PyHive#417
To Reproduce
Steps to reproduce the behavior:
Expected behavior
HIve ingestion should work
Workaround
You can get around this behavior by explicitly downgrading thirft to 0.13.0
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context
This was raised a few months ago: https://datahubspace.slack.com/archives/C029A3M079U/p1669024089697259?thread_ts=1668698117.723649&cid=C029A3M079U
The text was updated successfully, but these errors were encountered: