Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/hskj/anaconda3/lib/python3.5/site-packages/happybase/connection.py", line 242, in tables
names = self.client.getTableNames()
File "/hskj/anaconda3/lib/python3.5/site-packages/thriftpy/thrift.py", line 198, in _req
return self._recv(_api)
File "/hskj/anaconda3/lib/python3.5/site-packages/thriftpy/thrift.py", line 210, in _recv
fname, mtype, rseqid = self._iprot.read_message_begin()
File "thriftpy/protocol/cybin/cybin.pyx", line 439, in cybin.TCyBinaryProtocol.read_message_begin (thriftpy/protocol/cybin/cybin.c:6470)
cybin.ProtocolError: No protocol version header
相关问题
- Serializing a serialized Thrift struct to Kafka in
- Joining two ResultSets from HBase in Java?
- Save CSV file to hbase table using Spark and Phoen
- Thrift python 3.4 TypeError: string argument expec
- Is it possible to use Apache Thrift without RPC?
相关文章
- Cassandra Read a negative frame size
- hbase-client 2.0.x error
- How to use java built-in exception in Thrift IDL
- Building thrift service on Windows 7
- Session management in Thrift
- use protobuf3 with some lib which depends on proto
- Latest compatible version of hadoop and hbase
- Create table in hbase
The problem seems related to the usage of the "strict read/write" flags. There is a non-standard "cybin" implementation of the standard Thrift binary protocol, the error is in this particular code block:
Without having tried, I'd guess that setting the "strict read" flag to false (instead of true) when instantiating the CyBin protocol should do the trick.