[
https://issues.apache.org/jira/browse/HBASE-6439?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13469179#comment-13469179
]
Hudson commented on HBASE-6439:
-------------------------------
Integrated in HBase-TRUNK #3420 (See
[https://builds.apache.org/job/HBase-TRUNK/3420/])
HBASE-6439 Ignore .archive directory as a table (Revision 1393916)
Result = FAILURE
stack :
Files :
*
/hbase/trunk/hbase-common/src/main/java/org/apache/hadoop/hbase/HConstants.java
*
/hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/io/HFileLink.java
*
/hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/util/HFileArchiveUtil.java
*
/hbase/trunk/hbase-server/src/test/java/org/apache/hadoop/hbase/backup/example/TestZooKeeperTableArchiveClient.java
*
/hbase/trunk/hbase-server/src/test/java/org/apache/hadoop/hbase/master/cleaner/TestHFileCleaner.java
*
/hbase/trunk/hbase-server/src/test/java/org/apache/hadoop/hbase/util/TestFSTableDescriptors.java
*
/hbase/trunk/hbase-server/src/test/java/org/apache/hadoop/hbase/util/TestHFileArchiveUtil.java
> 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
> Fix For: 0.96.0
>
> 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