accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ctubb...@apache.org
Subject [1/2] accumulo git commit: ACCUMULO-4061 Added version to the REST API
Date Mon, 24 Jul 2017 23:31:29 GMT
Repository: accumulo
Updated Branches:
  refs/heads/master cbce8101b -> ff55fab2f


ACCUMULO-4061 Added version to the REST API

This closes #282

Signed-off-by: Christopher Tubbs <ctubbsii@apache.org>


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

Branch: refs/heads/master
Commit: 1e785e2dfb2ff1777956d5ad20555498b91b31fd
Parents: cbce810
Author: Luis Tavarez <zeravat@outlook.com>
Authored: Fri Jul 21 16:31:48 2017 -0400
Committer: Christopher Tubbs <ctubbsii@apache.org>
Committed: Mon Jul 24 17:31:45 2017 -0400

----------------------------------------------------------------------
 .../accumulo/monitor/rest/tservers/TabletServerInformation.java    | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/accumulo/blob/1e785e2d/server/monitor/src/main/java/org/apache/accumulo/monitor/rest/tservers/TabletServerInformation.java
----------------------------------------------------------------------
diff --git a/server/monitor/src/main/java/org/apache/accumulo/monitor/rest/tservers/TabletServerInformation.java
b/server/monitor/src/main/java/org/apache/accumulo/monitor/rest/tservers/TabletServerInformation.java
index eef202b..e0eb725 100644
--- a/server/monitor/src/main/java/org/apache/accumulo/monitor/rest/tservers/TabletServerInformation.java
+++ b/server/monitor/src/main/java/org/apache/accumulo/monitor/rest/tservers/TabletServerInformation.java
@@ -47,6 +47,7 @@ public class TabletServerInformation {
   public long lastContact;
   public long responseTime;
   public double osload;
+  public String version;
 
   public CompactionsTypes compactions;
 
@@ -137,6 +138,7 @@ public class TabletServerInformation {
     this.compactions = new CompactionsTypes(scansCompacting, major, minor);
 
     this.osload = thriftStatus.osLoad;
+    this.version = thriftStatus.version;
     this.lookups = thriftStatus.lookups;
 
     this.dataCacheHits = thriftStatus.dataCacheHits;


Mime
View raw message