您当前的位置: 首页 >  hbase

宝哥大数据

暂无认证

  • 0浏览

    0关注

    1029博文

    0收益

  • 0浏览

    0点赞

    0打赏

    0留言

私信
关注
热门博文

hbase 客户端超时问题

宝哥大数据 发布时间:2019-07-23 13:44:10 ,浏览量:0

参考: https://blog.csdn.net/bryce123phy/article/details/51504585 客户端参数:https://blog.csdn.net/jiangshouzhuang/article/details/52355670

hbase 客户端超时
org.apache.hadoop.hbase.client.ScannerTimeoutException: 97622ms passed since the last invocation, timeout is currently set to 60000
Caused by: org.apache.hadoop.hbase.UnknownScannerException: org.apache.hadoop.hbase.UnknownScannerException: Unknown scanner '370838183690117579'. This can happen due to any of the following reasons: a) Scanner id given is wrong, b) Scanner lease expired because of long wait between consecutive client checkins, c) Server may be closing down, d) RegionServer restart during upgrade.
        at org.apache.hadoop.hbase.RemoteExceptionHandler.decodeRemoteException(RemoteExceptionHandler.java:97)
解决: 调节超时时间
		# 这个是针对一次rpc操作时间。
        hbaseConf.setInt("hbase.client.scanner.timeout.period", 600000)
        hbaseConf.setInt("hbase.regionserver.lease.period", 1200000) // 租约时间设置
        hbaseConf.setInt("hbase.rpc.timeout", 600000
关注
打赏
1587549273
查看更多评论
立即登录/注册

微信扫码登录

0.0389s