hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matteo Bertozzi (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-7794) Cleanup CompactionTool using the StorageEngine
Date Fri, 08 Feb 2013 14:09:12 GMT
Matteo Bertozzi created HBASE-7794:
--------------------------------------

             Summary: Cleanup CompactionTool using the StorageEngine
                 Key: HBASE-7794
                 URL: https://issues.apache.org/jira/browse/HBASE-7794
             Project: HBase
          Issue Type: Improvement
          Components: Compaction, regionserver
    Affects Versions: 0.96.0
            Reporter: Matteo Bertozzi
            Assignee: Matteo Bertozzi
            Priority: Trivial


Currently the CompactionTool requires an HStore to run the compaction, 
but with the StorageEngine in place we can cleanup this code
{code}
return new HStore(tmpDir, region, hcd, fs, conf) {
  @Override
  public FileStatus[] getStoreFiles() throws IOException {
    return this.fs.listStatus(getHomedir());
  }

  @Override
  Path createStoreHomeDir(FileSystem fs, Path homedir) throws IOException {
    return storeDir;
  }
};
{code}

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