accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From els...@apache.org
Subject [3/5] accumulo git commit: ACCUMULO-3585 Better log messages.
Date Thu, 12 Feb 2015 22:52:56 GMT
ACCUMULO-3585 Better log messages.


Project: http://git-wip-us.apache.org/repos/asf/accumulo/repo
Commit: http://git-wip-us.apache.org/repos/asf/accumulo/commit/6b12b474
Tree: http://git-wip-us.apache.org/repos/asf/accumulo/tree/6b12b474
Diff: http://git-wip-us.apache.org/repos/asf/accumulo/diff/6b12b474

Branch: refs/heads/master
Commit: 6b12b4746dc7e1eba475a7606f85cfb3bfad38a8
Parents: 653895f
Author: Josh Elser <elserj@apache.org>
Authored: Thu Feb 12 17:33:52 2015 -0500
Committer: Josh Elser <elserj@apache.org>
Committed: Thu Feb 12 17:33:52 2015 -0500

----------------------------------------------------------------------
 .../java/org/apache/accumulo/server/util/TableDiskUsage.java    | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/accumulo/blob/6b12b474/server/base/src/main/java/org/apache/accumulo/server/util/TableDiskUsage.java
----------------------------------------------------------------------
diff --git a/server/base/src/main/java/org/apache/accumulo/server/util/TableDiskUsage.java
b/server/base/src/main/java/org/apache/accumulo/server/util/TableDiskUsage.java
index e48e10a..7f0b725 100644
--- a/server/base/src/main/java/org/apache/accumulo/server/util/TableDiskUsage.java
+++ b/server/base/src/main/java/org/apache/accumulo/server/util/TableDiskUsage.java
@@ -102,10 +102,13 @@ public class TableDiskUsage {
     // Bitset of tables that contain a file and total usage by all files that share that
usage
     Map<List<Integer>,Long> usage = new HashMap<List<Integer>,Long>();
 
+    if (log.isTraceEnabled()) {
+      log.trace("fileSizes " + fileSizes);
+    }
     // For each file w/ referenced-table bitset
     for (Entry<String,Integer[]> entry : tableFiles.entrySet()) {
       if (log.isTraceEnabled()) {
-        log.trace("fileSizes " + fileSizes + " key " + entry.getKey());
+        log.trace("file " + entry.getKey() + " table bitset " + Arrays.toString(entry.getValue()));
       }
       List<Integer> key = Arrays.asList(entry.getValue());
       Long size = fileSizes.get(entry.getKey());


Mime
View raw message