You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Matteo Bertozzi (JIRA)" <ji...@apache.org> on 2013/02/08 15:09:12 UTC
[jira] [Created] (HBASE-7794) Cleanup CompactionTool using the
StorageEngine
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