You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "BELUGA BEHR (JIRA)" <ji...@apache.org> on 2017/12/31 03:47:00 UTC

[jira] [Created] (HBASE-19677) Miscellaneous HFileCleaner.java Improvements

BELUGA BEHR created HBASE-19677:
-----------------------------------

             Summary: 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


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