Hbase Thrift/Happybase 错误:TTransportException

原因是HBase判断超时,强制中断连接

需要在hbase-site.xml中手动加入如下两项(如果指定超时时间为一天)

<property>
         <name>hbase.thrift.server.socket.read.timeout</name>
         <value>86400000</value>
</property>

<property>
         <name>hbase.thrift.connection.max-idletime</name>
         <value>86400000</value>
</property>

重启Hbase和Thrift,即可

参考文献:

https://blog.51cto.com/13103353/2107257

https://blog.csdn.net/wwlhz/article/details/56012053

https://blog.csdn.net/qq_36330643/article/details/83106759

原文地址:https://www.cnblogs.com/jhc888007/p/10561232.html