This is an automated email from the ASF dual-hosted git repository.
domgarguilo pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/accumulo.git
The following commit(s) were added to refs/heads/main by this push:
new 79f3203ee6 Add ECID to running external compactions table in the
Monitor (#6145)
79f3203ee6 is described below
commit 79f3203ee6db8dbb7ae9b6c94fb42f44f7d28604
Author: Dom G. <[email protected]>
AuthorDate: Tue Feb 24 10:49:06 2026 -0500
Add ECID to running external compactions table in the Monitor (#6145)
---
.../org/apache/accumulo/monitor/resources/js/ec.js | 13 +++++++++++++
.../resources/org/apache/accumulo/monitor/templates/ec.ftl | 7 +++++++
2 files changed, 20 insertions(+)
diff --git
a/server/monitor/src/main/resources/org/apache/accumulo/monitor/resources/js/ec.js
b/server/monitor/src/main/resources/org/apache/accumulo/monitor/resources/js/ec.js
index 1a4087ca2f..4c32a8bd33 100644
---
a/server/monitor/src/main/resources/org/apache/accumulo/monitor/resources/js/ec.js
+++
b/server/monitor/src/main/resources/org/apache/accumulo/monitor/resources/js/ec.js
@@ -36,6 +36,7 @@ $(function () {
$.fn.dataTable.ext.errMode = 'throw';
compactorsTable = $('#compactorsTable').DataTable({
+ "autoWidth": false,
"ajax": {
"url": contextPath + 'rest/ec/compactors',
"dataSrc": "compactors"
@@ -72,10 +73,12 @@ $(function () {
const hostnameColumnName = 'hostname';
const queueNameColumnName = 'queueName';
const tableIdColumnName = 'tableId';
+ const ecidColumnName = 'ecid';
const durationColumnName = 'duration';
// Create a table for running compactors
runningTable = $('#runningTable').DataTable({
+ "autoWidth": false,
"ajax": {
"url": contextPath + 'rest/ec/running',
"dataSrc": "running"
@@ -115,6 +118,10 @@ $(function () {
"data": "tableId",
"name": tableIdColumnName
},
+ {
+ "data": "ecid",
+ "name": ecidColumnName
+ },
{
"data": "numFiles"
},
@@ -179,6 +186,10 @@ $(function () {
handleFilterKeyup.call(this, this.value, $('#tableid-feedback'),
tableIdColumnName);
});
+ $('#ecid-filter').on('keyup', function () {
+ handleFilterKeyup.call(this, this.value, $('#ecid-feedback'),
ecidColumnName);
+ });
+
$('#duration-filter').on('keyup', function () {
runningTable.draw();
});
@@ -191,6 +202,7 @@ $(function () {
$('#hostname-filter').val('').trigger('keyup');
$('#queue-filter').val('').trigger('keyup');
$('#tableid-filter').val('').trigger('keyup');
+ $('#ecid-filter').val('').trigger('keyup');
$('#duration-filter').val('').trigger('keyup');
$(this).prop('disabled', false); // re-enable the clear
@@ -274,6 +286,7 @@ $(function () {
// Create a table for compaction coordinator
coordinatorTable = $('#coordinatorTable').DataTable({
+ "autoWidth": false,
"ajax": {
"url": contextPath + 'rest/ec',
"dataSrc": function (data) {
diff --git
a/server/monitor/src/main/resources/org/apache/accumulo/monitor/templates/ec.ftl
b/server/monitor/src/main/resources/org/apache/accumulo/monitor/templates/ec.ftl
index b1bd312acd..744bd4a957 100644
---
a/server/monitor/src/main/resources/org/apache/accumulo/monitor/templates/ec.ftl
+++
b/server/monitor/src/main/resources/org/apache/accumulo/monitor/templates/ec.ftl
@@ -96,6 +96,12 @@
<input type="text" id="tableid-filter"
class="form-control" placeholder="Enter table ID regex">
<small id="tableid-feedback" class="form-text
text-danger" style="display:none;">Invalid regex pattern</small>
</div>
+ <!-- ECID Filter -->
+ <div class="mb-3">
+ <label for="ecid-filter" class="form-label">ECID
Filter</label>
+ <input type="text" id="ecid-filter"
class="form-control" placeholder="Enter ECID regex">
+ <small id="ecid-feedback" class="form-text
text-danger" style="display:none;">Invalid regex pattern</small>
+ </div>
<!-- Duration Filter -->
<div class="mb-3">
<label for="duration-filter"
class="form-label">Duration Filter</label>
@@ -119,6 +125,7 @@
<th title="The status returned by the last
update.">Status</th>
<th title="The name of the queue this compactor is
assigned.">Queue</th>
<th title="The ID of the table being compacted.">Table
ID</th>
+ <th title="The ID of the running external
compaction.">ECID</th>
<th title="The number of files being compacted."># of
Files</th>
<th title="The progress of the compaction."
class="progBar">Progress</th>
<th class="duration" title="The time of the last update for
the compaction">Last Update</th>