我试着用 happpybase 1.1.0
与 hbase2.X.X
但我得到了运输例外。我在happybase中将传输和协议参数设置为“framed”和“compat”,并在启动thrift服务时进行了设置。
文件“/usr/local/lib/python3.6/dist-packages/happybase/table.py”,第402行,在scan self.name,scan,{})文件“/usr/local/lib/python3.6/dist-packages/thriftpy/thrift.py”,第198行,在req return self.\u recv(api)文件“/usr/local/lib/python3.6/dist-packages/thriftpy/thrift.py”,第210行,在recv fname,rseqid=self.\u iprot.read\u message\u begin()文件“thriftpy/protocol/cybin/cybin.pyx”,第429行,在cybin.tcybinaryprotocol.read\u message\u begin(thriftpy/protocol/cybin/cybin.c:6325)
文件“thriftpy/protocol/cybin/cybin.pyx”,第60行,在cybin.read\ i32中(thriftpy/protocol/cybin/cybin.c:1546)
文件“thriftpy/transport/buffered/cybuffered.pyx”,第65行,位于thriftpy.transport.buffered.cybufferedtransport.c\u read(thriftpy/transport/buffered/cybuffered.c:1881)
文件“thriftpy/transport/buffered/cybuffered.pyx”,第69行,位于thriftpy.transport.buffered.cybufferedtransport.read\u trans(thriftpy/transport/buffered/cybuffered.c:1948)
文件“thriftpy/transport/cybase.pyx”,第61行,位于thriftpy.transport.cybase.tcybuffer.read\u trans(thriftpy/transport/cybase.c:1472)
文件“/usr/local/lib/python3.6/dist packages/thriftpy/transport/socket.py”,第125行,在read message='tsocket read 0 bytes')thriftpy.transport.tttransportexception:tttransportexception(type=4,message='tsocket read 0 bytes')
暂无答案!
目前还没有任何答案,快来回答吧!