accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From afu...@apache.org
Subject accumulo git commit: ACCUMULO-2282 applied patch
Date Mon, 02 Mar 2015 22:27:47 GMT
Repository: accumulo
Updated Branches:
  refs/heads/master a81e6170c -> 293340ac6


ACCUMULO-2282 applied patch


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

Branch: refs/heads/master
Commit: 293340ac64309d644a308e44d3a2c9219167ccfd
Parents: a81e617
Author: Adam Fuchs <adam@sqrrl.com>
Authored: Mon Mar 2 17:17:11 2015 -0500
Committer: Adam Fuchs <adam@sqrrl.com>
Committed: Mon Mar 2 17:17:11 2015 -0500

----------------------------------------------------------------------
 .../org/apache/accumulo/monitor/servlets/DefaultServlet.java     | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/accumulo/blob/293340ac/server/monitor/src/main/java/org/apache/accumulo/monitor/servlets/DefaultServlet.java
----------------------------------------------------------------------
diff --git a/server/monitor/src/main/java/org/apache/accumulo/monitor/servlets/DefaultServlet.java
b/server/monitor/src/main/java/org/apache/accumulo/monitor/servlets/DefaultServlet.java
index 3347647..21aba35 100644
--- a/server/monitor/src/main/java/org/apache/accumulo/monitor/servlets/DefaultServlet.java
+++ b/server/monitor/src/main/java/org/apache/accumulo/monitor/servlets/DefaultServlet.java
@@ -258,7 +258,7 @@ public class DefaultServlet extends BasicServlet {
           try {
             // Calculate the amount of space used by Accumulo on the FileSystem
             ContentSummary accumuloSummary = fs.getContentSummary(basePath);
-            long bytesUsedByAcuOnFs = accumuloSummary.getSpaceConsumed();
+            long bytesUsedByAcuOnFs = accumuloSummary.getLength();
             totalAcuBytesUsed += bytesUsedByAcuOnFs;
 
             // Catch the overflow -- this is big data
@@ -270,7 +270,7 @@ public class DefaultServlet extends BasicServlet {
 
             // Calculate the total amount of space used on the FileSystem
             ContentSummary volumeSummary = fs.getContentSummary(new Path("/"));
-            long bytesUsedOnVolume = volumeSummary.getSpaceConsumed();
+            long bytesUsedOnVolume = volumeSummary.getLength();
             totalHdfsBytesUsed += bytesUsedOnVolume;
 
             // Catch the overflow -- this is big data


Mime
View raw message