org.apache.hadoop.hbase.NotServingRegionException: Region is not online 错误

Thu Jan 17 15:30:12 CST 2013, org.apache.hadoop.hbase.client.ScannerCallable@5ec136e9, org.apache.hadoop.hbase.NotServingRegionException: org.apache.hadoop.hbase.NotServingRegionException: Region is not online: statistic_login,2013-01-13 14:57:34:868850013488456,1358244290816.94deb62960731a30e0a009b39350b2ed.at org.apache.hadoop.hbase.client.ServerCallable.withRetries(ServerCallable.java:183)at org.apache.hadoop.hbase.client.ClientScanner.nextScanner(ClientScanner.java:205)at org.apache.hadoop.hbase.client.ClientScanner.<init>(ClientScanner.java:120)at org.apache.hadoop.hbase.client.HTable.getScanner(HTable.java:628)at org.apache.hadoop.hbase.mapreduce.TableRecordReaderImpl.restart(TableRecordReaderImpl.java:80)at org.apache.hadoop.hbase.mapreduce.TableRecordReaderImpl.initialize(TableRecordReaderImpl.java:142)at org.apache.hadoop.hbase.mapreduce.TableRecordReader.initialize(TableRecordReader.java:122)at org.apache.hadoop.hbase.mapreduce.TableInputFormatBase.createRecordReader(TableInputFormatBase.java:131)at org.apache.hadoop.mapred.MapTask$NewTrackingRecordReader.<init>(MapTask.java:489)at org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:731)at org.apache.hadoop.mapred.MapTask.run(MapTask.java:370)at org.apache.hadoop.mapred.Child$4.run(Child.java:255)at java.security.AccessController.doPrivileged(Native Method)at javax.security.auth.Subject.doAs(Subject.java:415)at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1121)at org.apache.hadoop.mapred.Child.main(Child.java:249)

 此时使用hadoop fsck 进行分析 就能看到CORRUPT 的storefile路径 hadoop fs -rm 当前storefile

所以分析原因是 数据损坏大致当前数据存放的regin无法使用,状态应该为CORRUPT 此时 需要手动清除损坏的块 后,才能继续mapreduce

转载于:https://www.cnblogs.com/jerryshao2015/p/4419631.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值