apache - Hbase ipc.RpcServer responseTooSlow 问题和区域服务器关闭

标签 apache hadoop timeout hbase nutch

我已经使用 Hadoop 2.7.4 配置了 Hbase 1.2.6。我已经在上面配置了 Nutch。 以下是两个 Hbase 站点属性

<property>
  <name>hbase.rpc.timeout</name>
  <value>1200000</value>
  <description>Changed to 20 minutes</description>
</property>

<property>
  <name>hbase.client.scanner.timeout.period</name>
  <value>1200000</value>
  <description>Changed to 10 minutes</description>
</property>

当我开始工作时。警告开始一段时间后,区域服务器关闭。这就是为什么 Job 也失败了。

2017-12-22 17:39:25,660 WARN  [B.defaultRpcServer.handler=18,queue=0,port=16020] ipc.RpcServer: (responseTooSlow): {"call":"Scan(org.apache.hadoop.hbase.protobuf.generated.ClientProtos$ScanRequest)","starttimems":1513946351644,"responsesize":8238,"method":"Scan","param":"scanner_id: 65 number_of_rows: 2147483647 close_scanner: false next_call_seq: 5 client_handles_partials: true client_handles_heartbeats: true track_scan_metrics: false renew: false","processingtimems":14015,"client":"10.11.21.42:36388","queuetimems":0,"class":"HRegionServer","scandetails":"table: use_webpage region: use_webpage,com.blogsky.shayan-pix:http/category/cat-2,1513328565609.09e0aff4d1e1d0e5733825c90f289be5."}
2017-12-22 17:39:37,626 WARN  [B.defaultRpcServer.handler=24,queue=0,port=16020] ipc.RpcServer: (responseTooSlow): {"call":"Scan(org.apache.hadoop.hbase.protobuf.generated.ClientProtos$ScanRequest)","starttimems":1513946357681,"responsesize":8654,"method":"Scan","param":"scanner_id: 64 number_of_rows: 2147483647 close_scanner: false next_call_seq: 5 client_handles_partials: true client_handles_heartbeats: true track_scan_metrics: false renew: false","processingtimems":19945,"client":"10.11.21.42:56252","queuetimems":0,"class":"HRegionServer","scandetails":"table: use_webpage region: use_webpage,ir.persianblog.gae6:http/,1509943454203.6992fa37fa94574aa4797b9ae64a296b."}

最佳答案

注意该区域的位置。如果局部性较低,则对该特定区域进行区域压缩。如果这不能解决这个问题,请为该表运行 Major Compaction。您可以看到几乎所有区域的位置都变为 1。这对我有用。

关于apache - Hbase ipc.RpcServer responseTooSlow 问题和区域服务器关闭,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/47941789/

相关文章:

ruby-on-rails - 使用 Apache POI 从 Ruby on Rails Web 应用程序中的 MS Word (.doc) 文件中提取文本

linux - Apache 虚拟主机配置

apache - 如何即时更新 .htaccess 以有条件地 gzip

csv - 如何在 Hive 中将查询输出导出到 csv

R:用序列化对象创建 CSV

search - 走一棵巨大的游戏树

go - 当请求被取消或超时时如何从 http 处理程序返回

java - 如何通过属性文件使用 log4j 在日志文件中追加输出和错误流打印

hadoop - Mahout 0.7和CDH4

MySQL IO操作超时