You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@accumulo.apache.org by ed...@apache.org on 2023/10/06 14:45:02 UTC
[accumulo] branch 2.1 updated: minor chckstyle fixes noticed during previous merge (#3820)
This is an automated email from the ASF dual-hosted git repository.
edcoleman pushed a commit to branch 2.1
in repository https://gitbox.apache.org/repos/asf/accumulo.git
The following commit(s) were added to refs/heads/2.1 by this push:
new a8af46dc0a minor chckstyle fixes noticed during previous merge (#3820)
a8af46dc0a is described below
commit a8af46dc0a3b46414df94670859edd7fc932ad68
Author: EdColeman <de...@etcoleman.com>
AuthorDate: Fri Oct 6 10:44:55 2023 -0400
minor chckstyle fixes noticed during previous merge (#3820)
---
.../apache/accumulo/core/util/compaction/ExternalCompactionUtil.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/core/src/main/java/org/apache/accumulo/core/util/compaction/ExternalCompactionUtil.java b/core/src/main/java/org/apache/accumulo/core/util/compaction/ExternalCompactionUtil.java
index 6f336f0c2b..5d0107bfb0 100644
--- a/core/src/main/java/org/apache/accumulo/core/util/compaction/ExternalCompactionUtil.java
+++ b/core/src/main/java/org/apache/accumulo/core/util/compaction/ExternalCompactionUtil.java
@@ -118,7 +118,7 @@ public class ExternalCompactionUtil {
ZooReader zooReader = context.getZooReader();
List<String> queues = zooReader.getChildren(compactorQueuesPath);
for (String queue : queues) {
- queuesAndAddresses.putIfAbsent(queue, new ArrayList<HostAndPort>());
+ queuesAndAddresses.putIfAbsent(queue, new ArrayList<>());
try {
List<String> compactors = zooReader.getChildren(compactorQueuesPath + "/" + queue);
for (String compactor : compactors) {
@@ -218,7 +218,7 @@ public class ExternalCompactionUtil {
* on a restart to re-populate the set of running compactions on the compactors.
*
* @param context server context
- * @return map of compactor and external compaction jobs
+ * @return list of compactor and external compaction jobs
*/
public static List<RunningCompaction> getCompactionsRunningOnCompactors(ClientContext context) {
final List<RunningCompactionFuture> rcFutures = new ArrayList<>();