Stargate
outgoingzy
V2EX  ›  HBase

使用 happybase 调用 put 方法时出错,别的都不会报错

  •  
  •   outgoingzy · May 19, 2020 · 2814 views
    This topic created in 2183 days ago, the information mentioned may be changed or developed.

    已经测试过,如果在连接时加入 protocol='compact'和 transport='framed'的选项,那么连 table.scan()都会报错: thriftpy2.transport.base.TTransportException: TTransportException(type=4, message='TSocket read 0 bytes')

    并且与此同时,在 thrift 的服务界面会报如下的错误: ERROR [thrift-worker-1] thrift.TBoundedThreadPoolServer: Error occurred during processing of message. java.lang.IllegalArgumentException: Invalid famAndQf provided.

    我不知道是哪里有问题,hbase shell 下执行任何命令都没有问题,只要调用 table.put()就会报错,已经两天了,还是没有找到问题在哪,拜托大家帮帮我

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5634 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 34ms · UTC 07:22 · PVG 15:22 · LAX 00:22 · JFK 03:22
    ♥ Do have faith in what you're doing.