在45分钟工作正常后,TSocket在Thrift服务器上超时

时间:2017-08-04 09:33:57

标签: php hadoop hbase thrift ambari

我编写了一个脚本,使用Thrift Server连接到HBase。每分钟此脚本从HBase获取3200条记录并更新一些信息并保存。前30-45分钟,Ambari Hadoop集群正常运行。之后发生查询异常:

  

异常'Thrift \ Exception \ TTransportException'
  消息'TSocket:超时读取来自192.168.1.55:9090的4个字节'   在/home/responsive/thrift/thrift/lib/Thrift/Transport/TSocket.php:274

要解决此错误,我重新启动了Thrift服务,然后再次正常工作,但我不知道为什么会出现此错误。

你知道造成这种情况的原因是什么吗?

0 个答案:

没有答案