accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From els...@apache.org
Subject [08/13] git commit: ACCUMULO-2582 Finally use the right path and add a label for non-textual data
Date Wed, 28 May 2014 00:40:48 GMT
ACCUMULO-2582 Finally use the right path and add a label for non-textual data


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

Branch: refs/heads/ACCUMULO-378
Commit: 9dec25effb895b20f8de1431a8c40d4ae0814bfa
Parents: 3c58a19
Author: Josh Elser <elserj@apache.org>
Authored: Tue May 27 17:30:10 2014 -0400
Committer: Josh Elser <elserj@apache.org>
Committed: Tue May 27 17:30:10 2014 -0400

----------------------------------------------------------------------
 .../apache/accumulo/monitor/servlets/ReplicationServlet.java   | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/accumulo/blob/9dec25ef/server/monitor/src/main/java/org/apache/accumulo/monitor/servlets/ReplicationServlet.java
----------------------------------------------------------------------
diff --git a/server/monitor/src/main/java/org/apache/accumulo/monitor/servlets/ReplicationServlet.java
b/server/monitor/src/main/java/org/apache/accumulo/monitor/servlets/ReplicationServlet.java
index 8655462..6a73892 100644
--- a/server/monitor/src/main/java/org/apache/accumulo/monitor/servlets/ReplicationServlet.java
+++ b/server/monitor/src/main/java/org/apache/accumulo/monitor/servlets/ReplicationServlet.java
@@ -220,7 +220,7 @@ public class ReplicationServlet extends BasicServlet {
       // can't find the status quickly
       String status = "Unknown";
       if (null != data) {
-        String path = new String(filename);
+        String path = new String(data);
         Scanner s = ReplicationTable.getScanner(conn);
         s.setRange(Range.exact(path));
         s.fetchColumn(WorkSection.NAME, target.toText());
@@ -244,9 +244,9 @@ public class ReplicationServlet extends BasicServlet {
               status = "Finished";
             } else {
               if (stat.getInfiniteEnd()) {
-                status = stat.getBegin() + "/&infin;";
+                status = stat.getBegin() + "/&infin; records";
               } else {
-                status = stat.getBegin() + "/" + stat.getEnd();
+                status = stat.getBegin() + "/" + stat.getEnd() + " records";
               }
             }
           } catch (InvalidProtocolBufferException e) {


Mime
View raw message