栏目分类:
子分类:
返回
名师互学网用户登录
快速导航关闭
当前搜索
当前分类
子分类
实用工具
热门搜索
名师互学网 > IT > 软件开发 > 后端开发 > Java

Hbase遇到的问题

Java 更新时间: 发布时间: IT归档 最新发布 模块sitemap 名妆网 法律咨询 聚返吧 英语巴士网 伯小乐 网商动力

Hbase遇到的问题

1、CallTimeoutException

Caused by: java.net.SocketTimeoutException: callTimeout=60000, callDuration=60101: Call to host:60020 failed on local exception: org.apache.hadoop.hbase.ipc.CallTimeoutException: Call id=51265499, waitTime=60001, operationTimeout=60000 expired. row 'Z1WS3398372561KFTXBJVK' on table 'xxxx:xxxx_execution_result' at region=xxxx:xxxx_execution_result,Z1SQ6815381751HDPMHXES:099017,1593659782440.33ab884014275eaca0493eef8155c7e4., hostname=host,60020,1650769247022, seqNum=40219287

,at org.apache.hadoop.hbase.client.RpcRetryingCaller.callWithRetries(RpcRetryingCaller.java:171)
,at org.apache.hadoop.hbase.client.ResultBoundedCompletionService$QueueingFuture.run(ResultBoundedCompletionService.java:65)
,... 4 more

Caused by: java.io.IOException: Call to host:60020 failed on local exception: org.apache.hadoop.hbase.ipc.CallTimeoutException: Call id=51265499, waitTime=60001, operationTimeout=60000 expired.

定位:

内网环境中有hbase机器性能,机器反应慢,导致超时,因为在使用过程当中由于超时致使了一些操做失败。

所以需调整超时时间,默认为60秒,在配置文件 hbase-site.xml中:、


   hbase.rpc.timeout
   600000


   hbase.client.operation.timeout
   600000


   hbase.client.scanner.timeout.period
   600000


   hbase.regionserver.lease.period
   600000


   phoenix.query.timeoutMs
   600000


   phoenix.query.keepAliveMs
   600000


   hbase.client.ipc.pool.type
   RoundRobinPool


   hbase.client.ipc.pool.size
   10

转载请注明:文章转载自 www.mshxw.com
本文地址:https://www.mshxw.com/it/894453.html
我们一直用心在做
关于我们 文章归档 网站地图 联系我们

版权所有 (c)2021-2022 MSHXW.COM

ICP备案号:晋ICP备2021003244-6号