hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Purtell (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (HBASE-7794) Cleanup CompactionTool using the StorageEngine
Date Sun, 08 Jun 2014 21:37:04 GMT

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

Mime
View raw message