You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Andrew Purtell (JIRA)" <ji...@apache.org> on 2014/06/08 23:37:04 UTC
[jira] [Resolved] (HBASE-7794) Cleanup CompactionTool using the
StorageEngine
[ https://issues.apache.org/jira/browse/HBASE-7794?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrew Purtell resolved HBASE-7794.
-----------------------------------
Resolution: Won't Fix
Assignee: (was: Matteo Bertozzi)
Stale issue. Reopen if still relevant.
> 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.95.2
> Reporter: 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 was sent by Atlassian JIRA
(v6.2#6252)