hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "stack (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-9786) [hbck]: hbck -metaonly incorrectly reports inconsistent regions after HBASE-9698 fix
Date Fri, 18 Oct 2013 19:19:42 GMT

    [ https://issues.apache.org/jira/browse/HBASE-9786?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13799426#comment-13799426
] 

stack commented on HBASE-9786:
------------------------------

+1

> [hbck]: hbck -metaonly incorrectly reports inconsistent regions after HBASE-9698 fix
> ------------------------------------------------------------------------------------
>
>                 Key: HBASE-9786
>                 URL: https://issues.apache.org/jira/browse/HBASE-9786
>             Project: HBase
>          Issue Type: Bug
>          Components: hbck
>    Affects Versions: 0.98.0, 0.96.0
>            Reporter: Aleksandr Shulman
>            Assignee: Matteo Bertozzi
>             Fix For: 0.98.0, 0.96.0
>
>         Attachments: HBASE-9786-v0.patch
>
>
> In my testing, I found that this call began to fail:
> {code}sudo -u hbase hbase hbck -metaonly
> {code}
> The checking after which it began to fail is:  after this checkin: https://github.com/apache/hbase/commit/818749ff9f261aac4206054d331189e92290b408
> The full output is below. The issue seems the patch does not include -metaOnly
> Testing done:
> I build 0.96 up to commit a6f208d91efff207860b049eb8466a069f0c71a9 and the test passes.
> The output:
> {code}
> $ hbase org.apache.hadoop.hbase.PerformanceEvaluation --rows=10000 sequentialWrite 1
> $ hbase hbck -metaonly
> ...
> 2013-10-16 23:52:24,075 DEBUG [main] util.HBaseFsck: There are 1 region info entries
> ERROR: There is a hole in the region chain between  and .  You need to create a new .regioninfo
and region dir in hdfs to plug the hole.
> ERROR: Found inconsistency in table TestTable
> ERROR: There is a hole in the region chain between  and .  You need to create a new .regioninfo
and region dir in hdfs to plug the hole.
> ERROR: Found inconsistency in table hbase:namespace
> 2013-10-16 23:52:24,182 INFO  [main] zookeeper.ZooKeeper: Initiating client connection,
connectString=localhost:2181 sessionTimeout=90000 watcher=hbase Fsck
> 2013-10-16 23:52:24,183 INFO  [main] zookeeper.RecoverableZooKeeper: Process identifier=hbase
Fsck connecting to ZooKeeper ensemble=localhost:2181
> 2013-10-16 23:52:24,183 INFO  [main-SendThread(localhost:2181)] zookeeper.ClientCnxn:
Opening socket connection to server localhost/127.0.0.1:2181. Will not attempt to authenticate
using SASL (unknown error)
> 2013-10-16 23:52:24,184 INFO  [main-SendThread(localhost:2181)] zookeeper.ClientCnxn:
Socket connection established to localhost/127.0.0.1:2181, initiating session
> 2013-10-16 23:52:24,188 INFO  [main-SendThread(localhost:2181)] zookeeper.ClientCnxn:
Session establishment complete on server localhost/127.0.0.1:2181, sessionid = 0x141c377e423000d,
negotiated timeout = 40000
> Summary:
>   TestTable is okay.
>     Number of regions: 0
>     Deployed on:
>   hbase:meta is okay.
>     Number of regions: 1
>     Deployed on:  localhost,49217,1381963918103
>   hbase:namespace is okay.
>     Number of regions: 0
>     Deployed on:
> 2 inconsistencies detected.
> Status: INCONSISTENT
> {code}



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message