From 6f4b406389e52de618c4ab8284e02ca2ab0e51ed Mon Sep 17 00:00:00 2001 From: Christopher Tubbs Date: Mon, 16 Dec 2024 14:33:22 -0500 Subject: [PATCH] Use non-chroot ZRW in Mini for now --- .../accumulo/miniclusterImpl/MiniAccumuloClusterImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/minicluster/src/main/java/org/apache/accumulo/miniclusterImpl/MiniAccumuloClusterImpl.java b/minicluster/src/main/java/org/apache/accumulo/miniclusterImpl/MiniAccumuloClusterImpl.java index 84557db5584..165f9ff5104 100644 --- a/minicluster/src/main/java/org/apache/accumulo/miniclusterImpl/MiniAccumuloClusterImpl.java +++ b/minicluster/src/main/java/org/apache/accumulo/miniclusterImpl/MiniAccumuloClusterImpl.java @@ -507,7 +507,7 @@ public synchronized void start() throws IOException, InterruptedException { } config.setInstanceName(instanceName); - if (!AccumuloStatus.isAccumuloOffline(zrw, "/")) { + if (!AccumuloStatus.isAccumuloOffline(zrw, ZooUtil.getRoot(instanceIdFromFile))) { throw new IllegalStateException( "The Accumulo instance being used is already running. Aborting."); }