我尝试将happpybase 1.1.0
与hbase2.X.X
一起使用,但是出现传输异常。我在happybase中将transport和protocol参数设置为“ framed”和“ compat”,并且在启动节俭服务时也进行了设置。
文件“ /usr/local/lib/python3.6/dist-packages/happybase/table.py”,行 402,在扫描self.name中,扫描{})文件 “ /usr/local/lib/python3.6/dist-packages/thriftpy/thrift.py”,第198行, 在_req返回self._recv(_api)文件 “ /usr/local/lib/python3.6/dist-packages/thriftpy/thrift.py”,第210行, 在_recv fname,mtype,rseqid = self._iprot.read_message_begin()文件中 “ thriftpy / protocol / cybin / cybin.pyx”,第429行,在 cybin.TCyBinaryProtocol.read_message_begin (thriftpy / protocol / cybin / cybin.c:6325)
文件cybin.read_i32中的文件“ thriftpy / protocol / cybin / cybin.pyx”,第60行 (thriftpy / protocol / cybin / cybin.c:1546)
文件“ thriftpy / transport / buffered / cybuffered.pyx”,第65行,在 thriftpy.transport.buffered.cybuffered.TCyBufferedTransport.c_read (thriftpy / transport / buffered / cybuffered.c:1881)
文件“ thriftpy / transport / buffered / cybuffered.pyx”,第69行,在 thriftpy.transport.buffered.cybuffered.TCyBufferedTransport.read_trans (thriftpy / transport / buffered / cybuffered.c:1948)
文件“ thriftpy / transport / cybase.pyx”,第61行,在 thriftpy.transport.cybase.TCyBuffer.read_trans (thriftpy / transport / cybase.c:1472)
文件 “ /usr/local/lib/python3.6/dist-packages/thriftpy/transport/socket.py”, 第125行,在读取消息=“ TSocket读取0字节”中) thriftpy.transport.TTransportException:TTransportException(type = 4, message ='TSocket读取0个字节')