You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by pa...@apache.org on 2026/03/05 09:51:27 UTC
(hbase) branch branch-2 updated: HBASE-29934 Quota Info in Table Attributes should display more clearly (#7833)
This is an automated email from the ASF dual-hosted git repository.
paksyd pushed a commit to branch branch-2
in repository https://gitbox.apache.org/repos/asf/hbase.git
The following commit(s) were added to refs/heads/branch-2 by this push:
new bca4ef4fc72 HBASE-29934 Quota Info in Table Attributes should display more clearly (#7833)
bca4ef4fc72 is described below
commit bca4ef4fc720095b25fa8639c37678c3d3c5d134
Author: Liu Xiao <42...@users.noreply.github.com>
AuthorDate: Thu Mar 5 17:51:21 2026 +0800
HBASE-29934 Quota Info in Table Attributes should display more clearly (#7833)
Signed-off-by: Dávid Paksy <pa...@apache.org>
Signed-off-by: Nihal Jain <ni...@apache.org>
---
.../main/resources/hbase-webapps/master/table.jsp | 52 +++++++++++++---------
1 file changed, 30 insertions(+), 22 deletions(-)
diff --git a/hbase-server/src/main/resources/hbase-webapps/master/table.jsp b/hbase-server/src/main/resources/hbase-webapps/master/table.jsp
index 400d9634b47..9ee801a2a44 100644
--- a/hbase-server/src/main/resources/hbase-webapps/master/table.jsp
+++ b/hbase-server/src/main/resources/hbase-webapps/master/table.jsp
@@ -771,33 +771,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>
@@ -811,25 +815,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>