Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
52 changes: 30 additions & 22 deletions hbase-server/src/main/resources/hbase-webapps/master/table.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -770,33 +770,37 @@
<tr>
<td>Space Quota</td>
<td>
<table>
<table class="table table-bordered table-sm table-light small mb-2">
<thead class="table-secondary text-body-secondary">
<tr>
<th>Property</th>
<th>Value</th>
<th class="px-1 py-1 align-middle">Property</th>
<th class="px-1 py-1 align-middle">Value</th>
</tr>
</thead>
<tbody>
<tr>
<td>Limit</td>
<td><%= StringUtils.byteDesc(spaceQuota.getSoftLimit()) %></td>
<td class="px-1 py-1 align-middle">Limit</td>
<td class="px-1 py-1 align-middle"><%= StringUtils.byteDesc(spaceQuota.getSoftLimit()) %></td>
</tr>
<tr>
<td>Policy</td>
<td><%= spaceQuota.getViolationPolicy() %></td>
<td class="px-1 py-1 align-middle">Policy</td>
<td class="px-1 py-1 align-middle"><%= spaceQuota.getViolationPolicy() %></td>
</tr>
<%
if (masterSnapshot != null) {
%>
<tr>
<td>Usage</td>
<td><%= StringUtils.byteDesc(masterSnapshot.getUsage()) %></td>
<td class="px-1 py-1 align-middle">Usage</td>
<td class="px-1 py-1 align-middle"><%= StringUtils.byteDesc(masterSnapshot.getUsage()) %></td>
</tr>
<tr>
<td>State</td>
<td><%= masterSnapshot.getQuotaStatus().isInViolation() ? "In Violation" : "In Observance" %></td>
<td class="px-1 py-1 align-middle">State</td>
<td class="px-1 py-1 align-middle"><%= masterSnapshot.getQuotaStatus().isInViolation() ? "In Violation" : "In Observance" %></td>
</tr>
<%
}
%>
</tbody>
</table>
</td>
<td>Information about a Space Quota on this table, if set.</td>
Expand All @@ -810,25 +814,29 @@
<tr>
<td>Throttle Quota</td>
<td>
<table>
<table class="table table-bordered table-sm table-light small mb-2">
<thead class="table-secondary text-body-secondary">
<tr>
<th>Limit</th>
<th>Type</th>
<th>TimeUnit</th>
<th>Scope</th>
<th class="px-1 py-1 align-middle">Type</th>
<th class="px-1 py-1 align-middle">Limit</th>
<th class="px-1 py-1 align-middle">TimeUnit</th>
<th class="px-1 py-1 align-middle">Scope</th>
</tr>
</thead>
<tbody>
<%
for (ThrottleSettings throttle : throttles) {
for (ThrottleSettings throttle : throttles) {
%>
<tr>
<td><%= throttle.getSoftLimit() %></td>
<td><%= throttle.getThrottleType() %></td>
<td><%= throttle.getTimeUnit() %></td>
<td><%= throttle.getQuotaScope() %></td>
<td class="px-1 py-1 align-middle"><%= throttle.getThrottleType() %></td>
<td class="px-1 py-1 align-middle"><%= throttle.getSoftLimit() %></td>
<td class="px-1 py-1 align-middle"><%= throttle.getTimeUnit() %></td>
<td class="px-1 py-1 align-middle"><%= throttle.getQuotaScope() %></td>
</tr>
<%
}
}
%>
</tbody>
</table>
</td>
<td>Information about a Throttle Quota on this table, if set.</td>
Expand Down
Loading