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 75010DFCD for ; Thu, 4 Oct 2012 00:27:08 +0000 (UTC) Received: (qmail 33209 invoked by uid 500); 4 Oct 2012 00:27:08 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 33125 invoked by uid 500); 4 Oct 2012 00:27:08 -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 33114 invoked by uid 99); 4 Oct 2012 00:27:08 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Oct 2012 00:27:08 +0000 Date: Thu, 4 Oct 2012 11:27:08 +1100 (NCT) From: "Jesse Yates (JIRA)" To: issues@hbase.apache.org Message-ID: <1924149459.162919.1349310428209.JavaMail.jiratomcat@arcas> In-Reply-To: <2021848648.88011.1342973975371.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Commented] (HBASE-6439) Ignore .archive directory as a table 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-6439?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13469026#comment-13469026 ] Jesse Yates commented on HBASE-6439: ------------------------------------ [~stack] I think this test failure is due to this patch, not due to it flapping (again). I'll look into it. But yeah, it should remove that warning. > Ignore .archive directory as a table > ------------------------------------ > > Key: HBASE-6439 > URL: https://issues.apache.org/jira/browse/HBASE-6439 > Project: HBase > Issue Type: Bug > Components: io, regionserver > Affects Versions: 0.96.0 > Reporter: Jesse Yates > Assignee: Jesse Yates > Labels: newbie > Attachments: hbase-6439-r0.patch > > > From a recent test run: > {quote} > 2012-07-22 02:27:30,699 WARN [IPC Server handler 0 on 47087] util.FSTableDescriptors(168): The following folder is in HBase's root directory and doesn't contain a table descriptor, do consider deleting it: .archive > {quote} > With the addition of HBASE-5547, table-level folders are no-longer all table folders. FSTableDescriptors needs to then have a 'gold-list' that we can update with directories that aren't tables so we don't have this kind of thing showing up in the logs. > Currently, we have the following block: > {quote} > invocations++; > if (HTableDescriptor.ROOT_TABLEDESC.getNameAsString().equals(tablename)) { > cachehits++; > return HTableDescriptor.ROOT_TABLEDESC; > } > if (HTableDescriptor.META_TABLEDESC.getNameAsString().equals(tablename)) { > cachehits++; > return HTableDescriptor.META_TABLEDESC; > } > {quote} > to handle special cases, but that's a bit clunky and not clean in terms of table-level directories that need to be ignored. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira