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 4B9449119 for ; Thu, 12 Apr 2012 05:55:06 +0000 (UTC) Received: (qmail 62903 invoked by uid 500); 12 Apr 2012 05:55:06 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 62874 invoked by uid 500); 12 Apr 2012 05:55:06 -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 62857 invoked by uid 99); 12 Apr 2012 05:55:05 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Apr 2012 05:55:05 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Apr 2012 05:55:04 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 5DDA036611D for ; Thu, 12 Apr 2012 05:54:44 +0000 (UTC) Date: Thu, 12 Apr 2012 05:54:44 +0000 (UTC) From: "Hudson (Commented) (JIRA)" To: issues@hbase.apache.org Message-ID: <687342409.16180.1334210084412.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <680535154.30416.1332125917965.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HBASE-5599) [hbck] handle NO_VERSION_FILE and SHOULD_NOT_BE_DEPLOYED inconsistencies MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HBASE-5599?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13252226#comment-13252226 ] Hudson commented on HBASE-5599: ------------------------------- Integrated in HBase-TRUNK-security #168 (See [https://builds.apache.org/job/HBase-TRUNK-security/168/]) HBASE-5599 [hbck] handle NO_VERSION_FILE and SHOULD_NOT_BE_DEPLOYED inconsistencies (fulin wang) (Revision 1324881) Result = FAILURE jmhsieh : Files : * /hbase/trunk/src/main/java/org/apache/hadoop/hbase/client/RetriesExhaustedWithDetailsException.java * /hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/HBaseFsck.java * /hbase/trunk/src/test/java/org/apache/hadoop/hbase/util/TestHBaseFsck.java * /hbase/trunk/src/test/java/org/apache/hadoop/hbase/util/hbck/HbckTestingUtil.java > [hbck] handle NO_VERSION_FILE and SHOULD_NOT_BE_DEPLOYED inconsistencies > ------------------------------------------------------------------------ > > Key: HBASE-5599 > URL: https://issues.apache.org/jira/browse/HBASE-5599 > Project: HBase > Issue Type: New Feature > Components: hbck > Affects Versions: 0.90.6 > Reporter: fulin wang > Assignee: fulin wang > Fix For: 0.90.7, 0.92.2, 0.94.0, 0.96.0 > > Attachments: 0.90-surefire-report-hbck.html, hbase-5599-0.90.patch, hbase-5599-0.90_v2.patch, hbase-5599-0.90_v3.patch, hbase-5599-0.90_v5.patch, hbase-5599-0.90_v6.patch, hbase-5599-0.90_v7.patch, hbase-5599-0.90_v8, hbase-5599-0.92_v5.patch, hbase-5599-0.94_v5.patch, hbase-5599-92-v8.patch, hbase-5599-trunk_v5.patch, hbase-5599-trunk_v7.patch, hbase-5599-trunk_v8.patch, license.png > > > The hbck tool can not fix the six scenarios. > 1. Version file does not exist in root dir. > Fix: I try to create a version file by 'FSUtils.setVersion' method. > > 2. [REGIONNAME][KEY] on HDFS, but not listed in META or deployed on any region server. > Fix: I get region info form the hdfs file, this region info write to '.META.' table. > > 3. [REGIONNAME][KEY] not in META, but deployed on [SERVERNAME] > Fix: I get region info form the hdfs file, this region info write to '.META.' table. > > 4. [REGIONNAME] should not be deployed according to META, but is deployed on [SERVERNAME] > Fix: Close this region. > > 5. First region should start with an empty key. You need to create a new region and regioninfo in HDFS to plug the hole. > Fix: The region info is not in hdfs and .META., so it create a empty region for this error. > 6. There is a hole in the region chain between [KEY] and [KEY]. You need to create a new regioninfo and region dir in hdfs to plug the hole. > Fix: The region info is not in hdfs and .META., so it create a empty region for this hole. > -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira