You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@superset.apache.org by gi...@git.apache.org on 2017/09/12 03:47:48 UTC

[GitHub] flofei opened a new issue #3451: hive error : 'TSaslClientTransport' object has no attribute 'readAll'

flofei opened a new issue #3451: hive error  : 'TSaslClientTransport' object has no attribute 'readAll'
URL: https://github.com/apache/incubator-superset/issues/3451
 
 
   I am having trouble getting SuperSet to connect to hive using the web interface. I go to add a database (using the URI that works in DBVis). My connection string is set as such: hive://user:password@iport/?auth=LDAP. When I test the connection I receive the following error: TSaslClientTransport' object has no attribute 'readAll'
   
   ### Superset version
   superset 0.19.0
   
   ### Expected results
    test is ok
   
   ### Actual results
   
      (fname, mtype, rseqid) = iprot.readMessageBegin()
     File "/usr/local/python3.5/bin/venv/lib/python3.5/site-packages/thrift/protocol/TBinaryProtocol.py", line 134, in readMessageBegin
       sz = self.readI32()
     File "/usr/local/python3.5/bin/venv/lib/python3.5/site-packages/thrift/protocol/TBinaryProtocol.py", line 217, in readI32
       buff = self.trans.readAll(4)
   AttributeError: 'TSaslClientTransport' object has no attribute 'readAll'
   
   ### Steps to reproduce
   
   pip install thrift==0.9.3
   pip install pyhive[hive]
   pip install git+https://github.com/cloudera/thrift_sasl
   
   
   
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services