You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "BELUGA BEHR (JIRA)" <ji...@apache.org> on 2017/12/31 03:47:00 UTC
[jira] [Updated] (HBASE-19677) Miscellaneous HFileCleaner.java
Improvements
[ https://issues.apache.org/jira/browse/HBASE-19677?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
BELUGA BEHR updated HBASE-19677:
--------------------------------
Attachment: HBASE-19677.1.patch
> Miscellaneous HFileCleaner.java Improvements
> --------------------------------------------
>
> Key: HBASE-19677
> URL: https://issues.apache.org/jira/browse/HBASE-19677
> Project: HBase
> Issue Type: Improvement
> Components: hbase
> Affects Versions: 3.0.0
> Reporter: BELUGA BEHR
> Priority: Trivial
> Attachments: HBASE-19677.1.patch
>
>
> * Remove superfluous logging code guards
> * Introduce SLF4J parameter logging
> * Some simplifying:
> {code}
> - for (HFileDeleteTask task : largeFileQueue) {
> - leftOverTasks.add(task);
> - }
> - for (HFileDeleteTask task : smallFileQueue) {
> - leftOverTasks.add(task);
> - }
> + leftOverTasks.addAll(largeFileQueue);
> + leftOverTasks.addAll(smallFileQueue);
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)