Hbase由于网络或操作系统故障引起的找不到hbase:meta异常
由于网络或操作系统故障引起的找不到hbase:meta异常
现象描述
在执行MapReduce或者Spark等程序时,可能出现如下异常导致的任务执行失败:
Caused by: java.net.SocketTimeoutException: callTimeout=60000, callDuration=60304: row '' on table 'hbase:meta' at region=hbase:meta,,1.1588230740, hostname=host1,21302,1448886113294, seqNum=0 at org.apache.hadoop.hbase.client.RpcRetryingCaller.callWithRetries(RpcRetryingCaller.java:159) at org.apache.hadoop.hbase.client.ResultBoundedCompletionService$QueueingFuture.run(ResultBoundedCompletionService.java:64) ... 3 more
可能原因
- HDFS服务不可用。
- ZooKeeper上存储的meta region位置数据和实际不符。
定位思路
无。
处理步骤
- 确认HDFS服务是否可用,如果HDFS服务不可用,请先排除HDFS故障。
- 如果HDFS服务无故障,从HBase原生网页中找到hbase:meta表所在节点,重启该节点的RegionServer。