From 6636feab60672bbc7a4feed7f6b53450289e0f14 Mon Sep 17 00:00:00 2001 From: Christopher Tubbs Date: Tue, 14 Jan 2025 15:09:02 -0500 Subject: [PATCH] Rethrow KeeperException.NoAuthException In be22deed47dc7db3635823e30ba7fe498b79a5aa for #5192, the exception was unintentionally no longer being rethrown after logging. This change reverts that mistake and rethrows the exception after logging. --- .../src/main/java/org/apache/accumulo/compactor/Compactor.java | 1 + 1 file changed, 1 insertion(+) diff --git a/server/compactor/src/main/java/org/apache/accumulo/compactor/Compactor.java b/server/compactor/src/main/java/org/apache/accumulo/compactor/Compactor.java index f93440ef521..b44b6a88e85 100644 --- a/server/compactor/src/main/java/org/apache/accumulo/compactor/Compactor.java +++ b/server/compactor/src/main/java/org/apache/accumulo/compactor/Compactor.java @@ -265,6 +265,7 @@ protected void announceExistence(HostAndPort clientAddress) } catch (KeeperException.NoAuthException e) { LOG.error("Failed to write to ZooKeeper. Ensure that" + " accumulo.properties, specifically instance.secret, is consistent."); + throw e; } compactorLock =