diff --git hbase-server/src/main/jamon/org/apache/hadoop/hbase/tmpl/common/TaskMonitorTmpl.jamon hbase-server/src/main/jamon/org/apache/hadoop/hbase/tmpl/common/TaskMonitorTmpl.jamon index 4379ef5..83973b9 100644 --- hbase-server/src/main/jamon/org/apache/hadoop/hbase/tmpl/common/TaskMonitorTmpl.jamon +++ hbase-server/src/main/jamon/org/apache/hadoop/hbase/tmpl/common/TaskMonitorTmpl.jamon @@ -66,9 +66,9 @@ boolean first = true; View as JSON <%if tasks.isEmpty()%> - No tasks currently running on this node. +
No tasks currently running on this node.
<%else> -| Start Time | Description | diff --git hbase-server/src/main/jamon/org/apache/hadoop/hbase/tmpl/master/AssignmentManagerStatusTmpl.jamon hbase-server/src/main/jamon/org/apache/hadoop/hbase/tmpl/master/AssignmentManagerStatusTmpl.jamon index c912ad5..2e4c85d 100644 --- hbase-server/src/main/jamon/org/apache/hadoop/hbase/tmpl/master/AssignmentManagerStatusTmpl.jamon +++ hbase-server/src/main/jamon/org/apache/hadoop/hbase/tmpl/master/AssignmentManagerStatusTmpl.jamon @@ -74,27 +74,26 @@ if (toRemove > 0) { %java> -
|---|
| Region | State | RIT time (ms) |
|---|---|---|
| <% entry.getKey() %> | <% entry.getValue().toDescriptiveString() %> | -<% (currentTime - entry.getValue().getStamp()) %> |
| Total number of Regions in Transition for more than <% ritThreshold %> milliseconds | <% numOfRITOverThreshold %> | - |
| Total number of Regions in Transition | <% rit.size() %> | - |
| Region | State | RIT time (ms) |
|---|---|---|
| <% entry.getKey() %> | <% entry.getValue().toDescriptiveString() %> | +<% (currentTime - entry.getValue().getStamp()) %> |
| Total number of Regions in Transition for more than <% ritThreshold %> milliseconds | <% numOfRITOverThreshold %> | + |
| Total number of Regions in Transition | <% rit.size() %> | + |
-| Attribute Name | Value | Description |
|---|---|---|
| HBase Version | <% org.apache.hadoop.hbase.util.VersionInfo.getVersion() %>, r<% org.apache.hadoop.hbase.util.VersionInfo.getRevision() %> | HBase version and revision |
| HBase Compiled | <% org.apache.hadoop.hbase.util.VersionInfo.getDate() %>, <% org.apache.hadoop.hbase.util.VersionInfo.getUser() %> | When HBase version was compiled and by whom |
| Hadoop Version | <% org.apache.hadoop.util.VersionInfo.getVersion() %>, r<% org.apache.hadoop.util.VersionInfo.getRevision() %> | Hadoop version and revision |
| Hadoop Compiled | <% org.apache.hadoop.util.VersionInfo.getDate() %>, <% org.apache.hadoop.util.VersionInfo.getUser() %> | When Hadoop version was compiled and by whom |
| HBase Root Directory | <% FSUtils.getRootDir(master.getConfiguration()).toString() %> | Location of HBase home directory |
| HBase Cluster ID | <% master.getClusterId() != null ? master.getClusterId() : "Not set" %> | Unique identifier generated for each HBase cluster |
| Load average | <% StringUtils.limitDecimalTo2(master.getServerManager().getAverageLoad()) %> | Average number of regions per regionserver. Naive computation. |
| Fragmentation | <% frags.get("-TOTAL-") != null ? frags.get("-TOTAL-").intValue() + "%" : "n/a" %> | Overall fragmentation of all tables, including .META. and -ROOT-. |
| Zookeeper Quorum | <% master.getZooKeeperWatcher().getQuorum() %> | Addresses of all registered ZK servers. For more, see zk dump. |
| - Coprocessors | <% java.util.Arrays.toString(master.getCoprocessors()) %> - | -Coprocessors currently loaded loaded by the master | -
| HMaster Start Time | <% new Date(master.getMasterStartTime()) %> | Date stamp of when this HMaster was started |
| HMaster Active Time | <% new Date(master.getMasterActiveTime()) %> | Date stamp of when this HMaster became active |
+ | Attribute Name | +Value | +Description | +
|---|---|---|
| HBase Version | +<% org.apache.hadoop.hbase.util.VersionInfo.getVersion() %>, r<% org.apache.hadoop.hbase.util.VersionInfo.getRevision() %> | HBase version and revision | +
| HBase Compiled | +<% org.apache.hadoop.hbase.util.VersionInfo.getDate() %>, <% org.apache.hadoop.hbase.util.VersionInfo.getUser() %> | +When HBase version was compiled and by whom | +
| Hadoop Version | +<% org.apache.hadoop.util.VersionInfo.getVersion() %>, r<% org.apache.hadoop.util.VersionInfo.getRevision() %> | +Hadoop version and revision | +
| Hadoop Compiled | +<% org.apache.hadoop.util.VersionInfo.getDate() %>, <% org.apache.hadoop.util.VersionInfo.getUser() %> | +When Hadoop version was compiled and by whom | +
| HBase Root Directory | +<% FSUtils.getRootDir(master.getConfiguration()).toString() %> | +Location of HBase home directory | +
| HBase Cluster ID | +<% master.getClusterId() != null ? master.getClusterId() : "Not set" %> | +Unique identifier generated for each HBase cluster | +
| Load average | +<% StringUtils.limitDecimalTo2(master.getServerManager().getAverageLoad()) %> | +Average number of regions per regionserver. Naive computation. | +
| Fragmentation | +<% frags.get("-TOTAL-") != null ? frags.get("-TOTAL-").intValue() + "%" : "n/a" %> | +Overall fragmentation of all tables, including .META. and -ROOT-. | +
| Zookeeper Quorum | +<% master.getZooKeeperWatcher().getQuorum() %> | +Addresses of all registered ZK servers. For more, see zk dump. | +
| Coprocessors | +<% java.util.Arrays.toString(master.getCoprocessors()) %> | +Coprocessors currently loaded loaded by the master | +
| HMaster Start Time | +<% new Date(master.getMasterStartTime()) %> | +Date stamp of when this HMaster was started | +
| HMaster Active Time | +<% new Date(master.getMasterActiveTime()) %> | +Date stamp of when this HMaster became active | +
| Catalog Table | +Table Name | <%if (frags != null) %>Frag. | %if> @@ -161,7 +265,7 @@ org.apache.hadoop.hbase.HBaseConfiguration; %if>The .META. table holds references to all User Table regions |
|---|
| User Table | -<%if (frags != null) %> -Frag. | -%if> -Description | -||||
|---|---|---|---|---|---|---|
| ><% htDesc.getNameAsString() %> | - <%if (frags != null) %> -<% frags.get(htDesc.getNameAsString()) != null ? frags.get(htDesc.getNameAsString()).intValue() + "%" : "n/a" %> | - %if> -<% htDesc.toStringCustomizedValues() %> | -
| Table Name | + <%if (frags != null) %> +Frag. | + %if> +Description | +
|---|---|---|
| ><% htDesc.getNameAsString() %> | + <%if (frags != null) %> +<% frags.get(htDesc.getNameAsString()) != null ? frags.get(htDesc.getNameAsString()).intValue() + "%" : "n/a" %> | + %if> +<% htDesc.toStringCustomizedValues() %> | +
| ServerName | Start time | Load | |
|---|---|---|---|
| <% serverName %> | <% new Date(startcode) %> | <% loadStr %> | |
| Total: | servers: <% servers.size() %> | requestsPerSecond=<% totalRequests %>, numberOfOnlineRegions=<% totalRegions %> |
Load is requests per second and count of regions loaded
-%if> -%def> <%def deadRegionServers> -| ServerName | ||||||
|---|---|---|---|---|---|---|
| <% deadServerName %> | ||||||
| Total: | servers: <% deadServers.size() %> |
| + | ServerName | +
|---|---|
| <% deadServerName %> | +|
| Total: | +servers: <% deadServers.size() %> | +
| ServerName | +Start time | +Requests Per Second | +Num. Regions | +
|---|---|---|---|
| <& serverNameLink; serverName=serverName; &> | +<% new Date(startcode) %> | +<% requestsPerSecond %> | +<% numRegionsOnline %> | +
| Total:<% servers.size() %> | ++ | <% totalRequests %> | +<% totalRegions %> | +
| ServerName | +Used Heap | +Max Heap | +Memstore Size | + +||
|---|---|---|---|---|---|
| <& serverNameLink; serverName=serverName; &> | +<% sl.getUsedHeapMB() %>MB | +<% sl.getMaxHeapMB() %>MB | +<% sl.getMemstoreSizeMB() %>MB | + +||
| <& serverNameLink; serverName=serverName; &> | ++ | + | + | + | + |
| ServerName | +Request Per Second | +Read Request Count | +Write Request Count | +
|---|---|---|---|
| <& serverNameLink; serverName=serverName; &> | +<% sl.getRequestsPerSecond() %> | +<% sl.getReadRequestsCount() %> | +<% sl.getWriteRequestsCount() %> | +
| <& serverNameLink; serverName=serverName; &> | ++ | + | + |
| ServerName | +Num. Stores | +Num. Storefiles | +Storefile Size Uncompressed | +Storefile Size | +Index Size | +Bloom Size | +
|---|---|---|---|---|---|---|
| <& serverNameLink; serverName=serverName; &> | +<% sl.getStores() %> | +<% sl.getStorefiles() %> | +<% sl.getStoreUncompressedSizeMB() %>MB | +<% sl.getStorefileSizeMB() %>MB | +<% sl.getTotalStaticIndexSizeKB() %>KB | +<% sl.getTotalStaticBloomSizeKB() %>KB | +
| <& serverNameLink; serverName=serverName; &> | ++ | + | + | + | + | + |
| ServerName | +Num. Compacting KVs | +Num. Compacted KVs | +Compaction Progress | +
|---|---|---|---|
| <& serverNameLink; serverName=serverName; &> | +<% sl.getTotalCompactingKVs() %> | +<% sl.getCurrentCompactedKVs() %> | +<% percentDone %> | +
| <& serverNameLink; serverName=serverName; &> | ++ | + | + |
-| Attribute Name | Value | Description |
|---|---|---|
| HBase Version | <% org.apache.hadoop.hbase.util.VersionInfo.getVersion() %>, r<% org.apache.hadoop.hbase.util.VersionInfo.getRevision() %> | HBase version and revision |
| HBase Compiled | <% org.apache.hadoop.hbase.util.VersionInfo.getDate() %>, <% org.apache.hadoop.hbase.util.VersionInfo.getUser() %> | When HBase version was compiled and by whom |
| Metrics | <% metrics.toString() %> | RegionServer Metrics; file and heap sizes are in megabytes |
| Zookeeper Quorum | <% regionServer.getZooKeeper().getQuorum() %> | Addresses of all registered ZK servers |
| Coprocessors | -- <% java.util.Arrays.toString(regionServer.getCoprocessors()) %> - | -Coprocessors currently loaded by this regionserver |
| RS Start Time | <% new Date(regionServer.getStartcode()) %> | Date stamp of when this region server was started |
| HBase Master | -<%if (masterInfoPort < 0) %> -No hbase.master.info.port found -<%else> -<%java> -String host = regionServer.getMasterAddressManager().getMasterAddress().getHostname() + ":" + masterInfoPort; -String url = "http://" + host + "/"; -%java> -<% host %> -%if> - | Address of HBase Master |
| Region Name | Start Key | End Key | Metrics |
|---|---|---|---|
| <% r.getRegionNameAsString() %> | -<% Bytes.toStringBinary(r.getStartKey()) %> | <% Bytes.toStringBinary(r.getEndKey()) %> | -<% load == null? "null": load.toString() %> | -
Region names are made of the containing table's name, a comma, -the start key, a comma, and a randomly generated region id. To illustrate, -the region named -domains,apache.org,5464829424211263407 is party to the table -domains, has an id of 5464829424211263407 and the first key -in the region is apache.org. The -ROOT- -and .META. 'tables' are internal sytem tables (or 'catalog' tables in db-speak). -The -ROOT- keeps a list of all regions in the .META. table. The .META. table -keeps a list of all regions in the system. The empty key is used to denote -table start and table end. A region with an empty start key is the first region in a table. -If region has both an empty start and an empty end key, its the only region in the table. See -HBase Home for further explication.
-<%else> -
Not serving regions
-%if> +
+ | Attribute Name | +Value | +Description | +
|---|---|---|
| HBase Version | +<% org.apache.hadoop.hbase.util.VersionInfo.getVersion() %>, r<% org.apache.hadoop.hbase.util.VersionInfo.getRevision() %> | +HBase version and revision | +
| HBase Compiled | +<% org.apache.hadoop.hbase.util.VersionInfo.getDate() %>, <% org.apache.hadoop.hbase.util.VersionInfo.getUser() %> | +When HBase version was compiled and by whom | +
| Metrics | +<% metrics.toString() %> | +RegionServer Metrics; file and heap sizes are in megabytes | +
| Zookeeper Quorum | +<% regionServer.getZooKeeper().getQuorum() %> | +Addresses of all registered ZK servers | +
| Coprocessors | +<% java.util.Arrays.toString(regionServer.getCoprocessors()) %> | +Coprocessors currently loaded by this regionserver | +
| RS Start Time | +<% new Date(regionServer.getStartcode()) %> | +Date stamp of when this region server was started | +
| HBase Master | ++ <%if (masterInfoPort < 0) %> + No hbase.master.info.port found + <%else> + <%java> + String host = regionServer.getMasterAddressManager().getMasterAddress().getHostname() + ":" + masterInfoPort; + String url = "http://" + host + "/"; + %java> + <% host %> + %if> + | +Address of HBase Master | +
Region names are made of the containing table's name, a comma, + the start key, a comma, and a randomly generated region id. To illustrate, + the region named + domains,apache.org,5464829424211263407 is party to the table + domains, has an id of 5464829424211263407 and the first key + in the region is apache.org. The -ROOT- + and .META. 'tables' are internal sytem tables (or 'catalog' tables in db-speak). + The -ROOT- keeps a list of all regions in the .META. table. The .META. table + keeps a list of all regions in the system. The empty key is used to denote + table start and table end. A region with an empty start key is the first region in a table. + If region has both an empty start and an empty end key, its the only region in the table. See + HBase Home for further explication.
+<%else> +
Not serving regions
+%if> + +<%def baseInfo> +<%args> + List| Region Name | +Start Key | +End Key | +
|---|---|---|
| <% r.getRegionNameAsString() %> | +<% Bytes.toStringBinary(r.getStartKey()) %> | +<% Bytes.toStringBinary(r.getEndKey()) %> | +
| Region Name | +Read Request Count | +Write Request Count | +
|---|---|---|
| <% r.getRegionNameAsString() %> | +<% load.getReadRequestsCount() %> | +<% load.getWriteRequestsCount() %> | +
| Region Name | +Num. Stores | +Num. Storefiles | +Storefile Size Uncompressed | +Storefile Size | +Index Size | +Bloom Size | +
|---|---|---|---|---|---|---|
| <% r.getRegionNameAsString() %> | +<% load.getStores() %> | +<% load.getStorefiles() %> | +<% load.getStoreUncompressedSizeMB() %>MB | +<% load.getStorefileSizeMB() %>MB | +<% load.getTotalStaticIndexSizeKB() %>KB | +<% load.getTotalStaticBloomSizeKB() %>KB | +
| Region Name | +Num. Compacting KVs | +Num. Compacted KVs | +Compaction Progress | +
|---|---|---|---|
| <% r.getRegionNameAsString() %> | +<% load.getTotalCompactingKVs() %> | +<% load.getCurrentCompactedKVs() %> | +<% percentDone %> | +
| Name | Region Server | Start Key | End Key | Requests |
|---|
| Name | Region Server | Start Key | End Key | Requests |
|---|