This is an automated email from the ASF dual-hosted git repository.
dlmarion 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 1ebff8cb7f Fix TableDiskUsage Options (#6101)
1ebff8cb7f is described below
commit 1ebff8cb7ffd594757eba1d4f10daf741fe2d14f
Author: Dave Marion <[email protected]>
AuthorDate: Fri Jan 30 08:08:40 2026 -0500
Fix TableDiskUsage Options (#6101)
Set the required annotation parameter so that
it shows up in the help/usage output. Remove
the final modifier from the variable that
makes the variable unusable.
Closes #6100
---
.../src/main/java/org/apache/accumulo/server/util/TableDiskUsage.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
a/server/base/src/main/java/org/apache/accumulo/server/util/TableDiskUsage.java
b/server/base/src/main/java/org/apache/accumulo/server/util/TableDiskUsage.java
index cda879f065..e60f944854 100644
---
a/server/base/src/main/java/org/apache/accumulo/server/util/TableDiskUsage.java
+++
b/server/base/src/main/java/org/apache/accumulo/server/util/TableDiskUsage.java
@@ -320,8 +320,8 @@ public class TableDiskUsage {
}
static class Opts extends ServerUtilOpts {
- @Parameter(description = " <table> { <table> ... } ")
- final List<String> tables = new ArrayList<>();
+ @Parameter(required = true, description = " <table> { <table> ... } ")
+ List<String> tables = new ArrayList<>();
}
public static void main(String[] args) throws Exception {