diff --git a/hbase-server/src/main/jamon/org/apache/hadoop/hbase/tmpl/master/RegionServerListTmpl.jamon b/hbase-server/src/main/jamon/org/apache/hadoop/hbase/tmpl/master/RegionServerListTmpl.jamon index c6c7fc3b1c7..67d330584bc 100644 --- a/hbase-server/src/main/jamon/org/apache/hadoop/hbase/tmpl/master/RegionServerListTmpl.jamon +++ b/hbase-server/src/main/jamon/org/apache/hadoop/hbase/tmpl/master/RegionServerListTmpl.jamon @@ -383,7 +383,7 @@ if (totalCompactingCells > 0) {
If the replication delay is UNKNOWN, that means this walGroup doesn't start replicate yet and it may get disabled.
<%else>No Peers Metrics
diff --git a/hbase-server/src/main/jamon/org/apache/hadoop/hbase/tmpl/regionserver/RSStatusTmpl.jamon b/hbase-server/src/main/jamon/org/apache/hadoop/hbase/tmpl/regionserver/RSStatusTmpl.jamon index c9bfcc95eba..646d8359275 100644 --- a/hbase-server/src/main/jamon/org/apache/hadoop/hbase/tmpl/regionserver/RSStatusTmpl.jamon +++ b/hbase-server/src/main/jamon/org/apache/hadoop/hbase/tmpl/regionserver/RSStatusTmpl.jamon @@ -121,6 +121,10 @@ org.apache.hadoop.hbase.zookeeper.MasterAddressTracker; <& RegionListTmpl; regionServer = regionServer; onlineRegions = onlineRegions; &> +If the replication delay is UNKNOWN, that means this walGroup doesn't start replicate yet and it may get disabled. + If the size of log is 0, it means we are replicating current HLog, thus we can't get accurate size since it's not closed yet.
+ +<%else> +No Replication Metrics for Peers
+%if> + +<%def currentLog> +<%args> + MapPeerId | +WalGroup | +Current Log | +Size | +Queue Size | +Offset | +
---|---|---|---|---|---|
<% entry.getValue().getPeerId() %> | +<% entry.getValue().getWalGroup() %> | +<% entry.getValue().getCurrentPath() %> | +<% StringUtils.humanSize(entry.getValue().getFileSize()) %> | +<% entry.getValue().getQueueSize() %> | +<% StringUtils.humanSize(entry.getValue().getCurrentPosition()) %> | +
PeerId | +WalGroup | +Current Log | +Last Shipped Age | +Replication Delay | +
---|---|---|---|---|
<% entry.getValue().getPeerId() %> | +<% entry.getValue().getWalGroup() %> | +<% entry.getValue().getCurrentPath() %> | +<% StringUtils.humanTimeDiff(entry.getValue().getAgeOfLastShippedOp()) %> | +<% entry.getValue().getReplicationDelay() == Long.MAX_VALUE ? "UNKNOWN" : StringUtils.humanTimeDiff(entry.getValue().getReplicationDelay()) %> | +