regionInfo
@@ -87,10 +90,10 @@
boolean showFragmentation = conf.getBoolean("hbase.master.ui.fragmentation.enabled", false);
boolean readOnly = conf.getBoolean("hbase.master.ui.readonly", false);
int numMetaReplicas = conf.getInt(HConstants.META_REPLICAS_NUM,
- HConstants.DEFAULT_META_REPLICA_NUM);
+ HConstants.DEFAULT_META_REPLICA_NUM);
MapName | Region Server | ReadRequests | WriteRequests | StorefileSize | Num.Storefiles | MemSize | Locality | Start Key | End Key | ReplicaID |
---|
Name | Region Server | ReadRequests | WriteRequests | StorefileSize | Num.Storefiles | MemSize | Locality | Start Key | End Key |
---|
Name | +Region Server | +ReadRequests | +WriteRequests | +StorefileSize | +Num.Storefiles | +MemSize | +Locality | +Start Key | +End Key | + <% + if (withReplica) { + %> +ReplicaID | + <% + } + %> +
---|---|---|---|---|---|---|---|---|---|---|
<%= escapeXml(meta.getRegionNameAsString()) %> | +<%= StringEscapeUtils.escapeHtml4(hostAndPort) %> | +<%= readReq%> | +<%= writeReq%> | +<%= fileSize%> | +<%= fileCount%> | +<%= memSize%> | +<%= locality%> | +<%= escapeXml(Bytes.toString(meta.getStartKey())) %> | +<%= escapeXml(Bytes.toString(meta.getEndKey())) %> | + <% + if (withReplica) { + %> +<%= meta.getReplicaId() %> | + <% + } + %> +
Name | +Region Server | +Num. Compacting Cells | +Num. Compacted Cells | +Remaining Cells | +Compaction Progress | +
---|---|---|---|---|---|
<%= escapeXml(meta.getRegionNameAsString()) %> | +<%= StringEscapeUtils.escapeHtml4(hostAndPort) %> | +<%= String.format("%,1d", compactingCells)%> | +<%= String.format("%,1d", compactedCells)%> | +<%= String.format("%,1d", compactingCells - compactedCells)%> | +<%= compactionProgress%> | +
Attribute Name | -Value | -Description | -||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Enabled | -<%= master.getAssignmentManager().isTableEnabled(table.getName()) %> | -Is the table enabled | -||||||||||
Compaction | --<% - if (master.getAssignmentManager().isTableEnabled(table.getName())) { - try { - CompactionState compactionState = admin.getCompactionState(table.getName()).get(); - %><%= compactionState %><% - } catch (Exception e) { - // Nothing really to do here - for(StackTraceElement element : e.getStackTrace()) { - %><%= StringEscapeUtils.escapeHtml4(element.toString()) %><% - } - %> Unknown <% - } - } else { - %><%= CompactionState.NONE %><% - } -%> - | -Is the table compacting | -||||||||||
Fragmentation | -<%= frags.get(fqtn) != null ? frags.get(fqtn).intValue() + "%" : "n/a" %> | -How fragmented is the table. After a major compaction it is 0%. | -||||||||||
Space Quota | -
-
|
- Information about a Space Quota on this table, if set. | -||||||||||
Throttle Quota | -
-
|
- Information about a Throttle Quota on this table, if set. | -
Column Family Name | -- | ||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
<%= StringEscapeUtils.escapeHtml4(family.getNameAsString()) %> | -
+ RegionLocator r = master.getConnection().getRegionLocator(table.getName());
+ try { %>
+ Table Attributes
Table Schema+
|
-
Name(<%= String.format("%,1d", regions.size())%>) | -Region Server | -ReadRequests (<%= String.format("%,1d", totalReadReq)%>) |
-WriteRequests (<%= String.format("%,1d", totalWriteReq)%>) |
-StorefileSize (<%= totalSizeStr %>) |
-Num.Storefiles (<%= String.format("%,1d", totalStoreFileCount)%>) |
-MemSize (<%= totalMemSizeStr %>) |
-Locality | -Start Key | -End Key | -<% - if (withReplica) { -%> -ReplicaID | -<% - } -%> -|
---|---|---|---|---|---|---|---|---|---|---|---|
<%= escapeXml(Bytes.toStringBinary(regionInfo.getRegionName())) %> | - <% - if (urlRegionServer != null) { - %> -- <%= addr == null? "-": StringEscapeUtils.escapeHtml4(addr.getHostname().toString()) + ":" + master.getRegionServerInfoPort(addr) %> - | - <% - } else { - %> -not deployed | - <% - } - %> -<%= readReq%> | -<%= writeReq%> | -<%= regionSize%> | -<%= fileCount%> | -<%= memSize%> | -<%= locality%> | -<%= escapeXml(Bytes.toStringBinary(regionInfo.getStartKey()))%> | -<%= escapeXml(Bytes.toStringBinary(regionInfo.getEndKey()))%> | - <% - if (withReplica) { - %> -<%= regionInfo.getReplicaId() %> | - <% - } - %> -
This table has <%= numRegions %> regions in total, in order to improve the page load time, - only <%= numRegionsRendered %> regions are displayed here, click - here to see all regions.
-<% } %> -Region Server | Region Count | Primary Region Count |
---|
Name(<%= String.format("%,1d", regions.size())%>) | +Region Server | +ReadRequests (<%= String.format("%,1d", totalReadReq)%>) |
+ WriteRequests (<%= String.format("%,1d", totalWriteReq)%>) |
+ StorefileSize (<%= totalSizeStr %>) |
+ Num.Storefiles (<%= String.format("%,1d", totalStoreFileCount)%>) |
+ MemSize (<%= totalMemSizeStr %>) |
+ Locality | +Start Key | +End Key | +Region State | + <% + if (withReplica) { + %> +ReplicaID | + <% + } + %> +|
---|---|---|---|---|---|---|---|---|---|---|---|---|
<%= escapeXml(Bytes.toStringBinary(regionInfo.getRegionName())) %> | + <% + if (urlRegionServer != null) { + %> ++ <%= addr == null? "-": StringEscapeUtils.escapeHtml4(addr.getHostname().toString()) + ":" + master.getRegionServerInfoPort(addr) %> + | + <% + } else { + %> +not deployed | + <% + } + %> +<%= readReq%> | +<%= writeReq%> | +<%= regionSize%> | +<%= fileCount%> | +<%= memSize%> | +<%= locality%> | +<%= escapeXml(Bytes.toStringBinary(regionInfo.getStartKey()))%> | +<%= escapeXml(Bytes.toStringBinary(regionInfo.getEndKey()))%> | +<%= state%> | + <% + if (withReplica) { + %> +<%= regionInfo.getReplicaId() %> | + <% + } + %> +
This table has <%= numRegions %> regions in total, in order to improve the page load time, + only <%= numRegionsRendered %> regions are displayed here, click + here to see all regions.
+ <% } %> +Name(<%= String.format("%,1d", regions.size())%>) | +Region Server | +Num. Compacting Cells (<%= String.format("%,1d", totalCompactingCells)%>) |
+ Num. Compacted Cells (<%= String.format("%,1d", totalCompactedCells)%>) |
+ Remaining Cells (<%= String.format("%,1d", totalCompactingCells-totalCompactedCells)%>) |
+ Compaction Progress (<%= totalCompactionProgress %>) |
+ |
---|---|---|---|---|---|---|
<%= escapeXml(Bytes.toStringBinary(regionInfo.getRegionName())) %> | + <% + if (urlRegionServer != null) { + %> ++ <%= addr == null? "-": StringEscapeUtils.escapeHtml4(addr.getHostname().toString()) + ":" + master.getRegionServerInfoPort(addr) %> + | + <% + } else { + %> +not deployed | + <% + } + %> +<%= String.format("%,1d", compactingCells)%> | +<%= String.format("%,1d", compactedCells)%> | +<%= String.format("%,1d", compactingCells - compactedCells)%> | +<%= compactionProgress%> | +
This table has <%= numRegions %> regions in total, in order to improve the page load time, + only <%= numRegionsRendered %> regions are displayed here, click + here to see all regions.
+ <% } %> +Region Server | Region Count | Primary Region Count |
---|
Region Server | Region Count | |
---|---|---|
<%= StringEscapeUtils.escapeHtml4(addr.getHostname().toString()) + ":" + master.getRegionServerInfoPort(addr) %> | -<%= rdEntry.getValue()%> | -<% -if (withReplica) { -%> -<%= primaryRegDistribution.get(addr)%> | -<% -} -%> -
Region Server | Region Count | |
---|---|---|
<%= StringEscapeUtils.escapeHtml4(addr.getHostname().toString()) + ":" + master.getRegionServerInfoPort(addr) %> | +<%= rdEntry.getValue()%> | + <% + if (withReplica) { + %> +<%= primaryRegDistribution.get(addr)%> | + <% + } + %> +
Name | -Value | -Description | -
---|---|---|
Size | -- <% - if (totalStoreFileSizeMB > 0) { - %> - <%= StringUtils.TraditionalBinaryPrefix. - long2String(totalStoreFileSizeMB * 1024 * 1024, "B", 2)%> | - <% - } else { - %> - 0 MB - <% - } - %> -Total size of store files | -
Name | +Value | +Description | +
---|---|---|
Size | ++ <% + if (totalStoreFileSizeMB > 0) { + %> + <%= StringUtils.TraditionalBinaryPrefix. + long2String(totalStoreFileSizeMB * 1024 * 1024, "B", 2)%> | + <% + } else { + %> + 0 MB + <% + } + %> +Total size of store files | +
-
+
+
Go Back +
-
+