hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jesse Yates (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-7175) [snapshots] SnapshotFileVisitor should allow short-circuit for skipping directories
Date Fri, 16 Nov 2012 01:05:12 GMT
Jesse Yates created HBASE-7175:
----------------------------------

             Summary: [snapshots] SnapshotFileVisitor should allow short-circuit for skipping
directories
                 Key: HBASE-7175
                 URL: https://issues.apache.org/jira/browse/HBASE-7175
             Project: HBase
          Issue Type: Improvement
    Affects Versions: hbase-6055
            Reporter: Jesse Yates


Often times when we use the FileVisitor, we don't need to collect all the files in the snapshot,
but really just a subset. In the current implementation, we still look at all the files in
all the subfolders in the the snapshot, which puts extra stress on an already stressed namenode.

A simple implementation can just use a simple PathFilter to determine which files/directories
should be passed to the FileVisitor.

--
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

Mime
View raw message