hbase Number of empty REGIONINFO_QUALIFIER rows in hbase:meta: 1

当机房断电后,Hbase出现错误,hbck工具检测到hbase:meta表中存在空的REGIONINFO_QUALIFIER行。根据http://blackproof.iteye.com/blog/2052898的帖子,可以删除这些多余行来解决问题。使用'hbase hbck -details'命令能详细显示问题行,删除相应row即可解决该错误。

机房断电

 

hbase产生漏洞,用http://blackproof.iteye.com/blog/2052898这个帖子,可以删除多余的meta上的region

 

在hbase hbck报错:ERROR: Empty REGIONINFO_QUALIFIER found in hbase:meta

 

需要用hbase hbck -details才能显示有问题的row

ERROR: Empty REGIONINFO_QUALIFIER found in hbase:meta
.2015-07-14 15:23:23,082 INFO  [main] client.HConnectionManager$HConnectionImplementation: Closing zookeeper sessionid=0xd34e8a5d42640f98
2015-07-14 15:23:23,103 INFO  [main] zookeeper.ZooKeeper: Session: 0xd34e8a5d42640f98 closed
2015-07-14 15:23:23,103 INFO  [main-EventThread] zookeeper.ClientCnxn: EventThread shut down

Number of empty REGIONINFO_QUALIFIER rows in hbase:meta: 1
  keyvalues={cm_5030,e7fe439c83090fc8f8a363b326e7682a,1431340448662.94442185ff9f9d015314d8ccffd56d0f./info:seqnumDuringOpen/1435106262504/Put/vlen=8/mvcc=0, cm_5030,e7fe439c83090fc8f8a363b326e7682
a,1431340448662.94442185ff9f9d015314d8ccffd56d0f./info:server/1435106262504/Put/vlen=14/mvcc=0, cm_5030,e7fe439c83090fc8f8a363b326e7682a,1431340448662.94442185ff9f9d015314d8ccffd56d0f./info:server
startcode/1435106262504/Put/vlen=8/mvcc=0}

 

删除这个row就哦了

 

 

 

 

 

翻译OTE: As of HBase version 2.0, the hbck tool is significantly changed. In general, all Read-Only options are supported and can be be used safely. Most -fix/ -repair options are NOT supported. Please see usage below for details on which options are not supported. ----------------------------------------------------------------------- Usage: fsck [opts] {only tables} where [opts] are: -help Display help options (this) -details Display full report of all regions. -timelag <timeInSeconds> Process only regions that have not experienced any metadata updates in the last <timeInSeconds> seconds. -sleepBeforeRerun <timeInSeconds> Sleep this many seconds before checking if the fix worked if run with -fix -summary Print only summary of the tables and status. -metaonly Only check the state of the hbase:meta table. -sidelineDir <hdfs://> HDFS path to backup existing meta. -boundaries Verify that regions boundaries are the same between META and store files. -exclusive Abort if another hbck is exclusive or fixing. Datafile Repair options: (expert features, use with caution!) -checkCorruptHFiles Check all Hfiles by opening them to make sure they are valid -sidelineCorruptHFiles Quarantine corrupted HFiles. implies -checkCorruptHFiles Replication options -fixReplication Deletes replication queues for removed peers Metadata Repair options supported as of version 2.0: (expert features, use with caution!) -fixVersionFile Try to fix missing hbase.version file in hdfs. -fixReferenceFiles Try to offline lingering reference store files -fixHFileLinks Try to offline lingering HFileLinks -noHdfsChecking Don't load/check region info from HDFS. Assumes hbase:meta region info is good. Won't check/fix any HDFS issue, e.g. hole, orphan, or overlap -ignorePreCheckPermission ignore filesystem permission pre-check NOTE: Following options are NOT supported as of HBase version 2.0+. UNSUPPORTED Metadata Repair options: (expert features, use with caution!) -fix Try to fix region assignments. This is for backwards compatiblity -fixAssignments Try to fix region assignments. Replaces the old -fix -fixMeta Try to fix meta problems. This assumes HDFS region info is good. -fixHdfsHoles Try to fix region holes in hdfs. -fixHdfsOrphans Try to fix region dirs with no .regioninfo file in hdfs -fixTableOrphans Try to fix table dirs with no .tableinfo file in hdfs (online mode only) -fixHdfsOverlaps Try to fix region overlaps in hdfs. -maxMerge <n> When fixing region overlaps, allow at most <n> regions to merge. (n=5 by default) -sidelineBigOverlaps When fixing region overlaps, allow to sideline big overlaps -maxOverlapsToSideline <n> When fixing region overlaps, allow at most <n> regions to sideline per group. (n=2 by default) -fixSplitParents Try to force offline split parents to be online. -removeParents Try to offline and sideline lingering parents and keep daughter regions. -fixEmptyMetaCells Try to fix hbase:meta entries not referencing any region (empty REGIONINFO_QUALIFIER rows) UNSUPPORTED Metadata Repair shortcuts -repair Shortcut for -fixAssignments -fixMeta -fixHdfsHoles -fixHdfsOrphans -fixHdfsOverlaps -fixVersionFile -sidelineBigOverlaps -fixReferenceFiles-fixHFileLinks -repairHoles Shortcut for -fixAssignments -fixMeta -fixHdfsHoles Replication options -fixReplication Deletes replication queues for removed peers -cleanReplicationBrarier [tableName] clean the replication barriers of a specified table, tableName is required 25/05/30 11:00:17 INFO zookeeper.ClientCnxn: Opening socket connection to server cloudcdp03.hadoop.com/172.21.35.195:2181. Will not attempt to authenticate using SASL (unknown error) 25/05/30 11:00:17 INFO zookeeper.ClientCnxn: Socket connection established, initiating session, client: /172.21.35.166:34326, server: cloudcdp03.hadoop.com/172.21.35.195:2181 25/05/30 11:00:17 INFO zookeeper.ClientCnxn: Session establishment complete on server cloudcdp03.hadoop.com/172.21.35.195:2181, sessionid = 0xff9503965e37ba94, negotiated timeout = 60000 25/05/30 11:00:17 INFO zookeeper.ZooKeeper: Session: 0xff9503965e37ba94 closed 25/05/30 11:00:17 INFO zookeeper.ClientCnxn: EventThread shut down
最新发布
05-31
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符  | 博主筛选后可见
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值