参考: 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