superset icon indicating copy to clipboard operation
superset copied to clipboard

thrift connection error

Open xyhc opened this issue 9 years ago • 4 comments

Superset version 0.17.6 Superset use Postgresql version: 9.6.2 Superset connect impala happen error: ERROR: {"error": "Connection failed!\n\nThe error message returned was:\n(exceptions.AttributeError) 'TBufferedTransport' object has no attribute 'trans' [SQL: u'SHOW TABLES IN default']"}

Superset connect hive is seems ok!

How can I solve this problem???

xyhc avatar May 12 '17 01:05 xyhc

Looks like this https://github.com/cloudera/impyla/issues/235

xrmx avatar May 12 '17 07:05 xrmx

Are you using pyhive? which version? I just bumped the pyhive>=0.3.0 (from memory) in an open PR.

I don't think impyla works for SQLAlchemy at the moment

mistercrunch avatar May 12 '17 15:05 mistercrunch

i met the same problem, and it seems ok using the thrift==0.9.3

anddyhuaa avatar May 18 '17 03:05 anddyhuaa

Notice: this issue has been closed because it has been inactive for 340 days. Feel free to comment and request for this issue to be reopened.

mistercrunch avatar Apr 23 '18 15:04 mistercrunch