Return-Path: Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: (qmail 68350 invoked from network); 16 Jul 2010 22:25:46 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 16 Jul 2010 22:25:46 -0000 Received: (qmail 86284 invoked by uid 500); 16 Jul 2010 22:25:46 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 86240 invoked by uid 500); 16 Jul 2010 22:25: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 86228 invoked by uid 99); 16 Jul 2010 22:25:45 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Jul 2010 22:25:45 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Jul 2010 22:25:43 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o6GMHpI9009510 for ; Fri, 16 Jul 2010 22:17:51 GMT Message-ID: <31993425.429331279318671459.JavaMail.jira@thor> Date: Fri, 16 Jul 2010 18:17:51 -0400 (EDT) From: "Fred Emmott (JIRA)" To: issues@hbase.apache.org Subject: [jira] Commented: (HBASE-2526) Fixup script that scans .META., report holes if any and then finds dropped regions in fs if they are present (loading them if asked) 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-2526?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12889360#action_12889360 ] Fred Emmott commented on HBASE-2526: ------------------------------------ A couple of points: - after this runs, the region it inserts appears as the last region for the table. The other regions appeared again after ~ 20 seconds - it assumes that the keys for the table are valid character strings, not arbitrary byte arrays > Fixup script that scans .META., report holes if any and then finds dropped regions in fs if they are present (loading them if asked) > ------------------------------------------------------------------------------------------------------------------------------------- > > Key: HBASE-2526 > URL: https://issues.apache.org/jira/browse/HBASE-2526 > Project: HBase > Issue Type: Task > Components: scripts > Reporter: stack > Attachments: fix_missing_regions.rb > > > I was just at a site that was getting a WRE. Looking at meta, was plain that a region was missing from .META. The install was 0.20.3 (0.20.4 should fix the issue seen but...). Getting things back online involved digging in logs to find info on missing region, what its encoded name was, and then doing a hack version of add_table.rb to add back the dropped region. > A script that could spin through meta could easily find holes. That'd be a help. Subsequent, the script could go looking in fs for the missing region. If present, it could even add back the missing region. This is subtask of hbase-7. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.