[
https://issues.apache.org/jira/browse/HBASE-7794?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Matteo Bertozzi updated HBASE-7794:
-----------------------------------
Description:
Currently the CompactionTool requires an HStore to run the compaction,
but with the StorageEngine (HBASE-7678) 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}
was:
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}
> 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 (HBASE-7678) 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