Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A66C61090C for ; Fri, 18 Oct 2013 19:19:48 +0000 (UTC) Received: (qmail 96006 invoked by uid 500); 18 Oct 2013 19:19:48 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 95842 invoked by uid 500); 18 Oct 2013 19:19:45 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 95814 invoked by uid 99); 18 Oct 2013 19:19:42 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Oct 2013 19:19:42 +0000 Date: Fri, 18 Oct 2013 19:19:42 +0000 (UTC) From: "stack (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-9786) [hbck]: hbck -metaonly incorrectly reports inconsistent regions after HBASE-9698 fix MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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)