This is an automated email from the ASF dual-hosted git repository.
ctubbsii pushed a commit to branch 3.1
in repository https://gitbox.apache.org/repos/asf/accumulo.git
The following commit(s) were added to refs/heads/3.1 by this push:
new 6636feab60 Rethrow KeeperException.NoAuthException
6636feab60 is described below
commit 6636feab60672bbc7a4feed7f6b53450289e0f14
Author: Christopher Tubbs <[email protected]>
AuthorDate: Tue Jan 14 15:09:02 2025 -0500
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.
---
.../compactor/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 f93440ef52..b44b6a88e8 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 @@ public class Compactor extends AbstractServer implements
MetricsProducer, Compac
} catch (KeeperException.NoAuthException e) {
LOG.error("Failed to write to ZooKeeper. Ensure that"
+ " accumulo.properties, specifically instance.secret, is
consistent.");
+ throw e;
}
compactorLock =