-
Notifications
You must be signed in to change notification settings - Fork 476
Open
Labels
bugThis issue has been verified to be a bug.This issue has been verified to be a bug.
Milestone
Description
Describe the bug
If debug is enabled, creating a namespace results in this debug log in the Manager log:
2026-01-08T12:19:21,216 102 [clientImpl.Namespaces] DEBUG: Failed to find namespace ID from name: ns_NamespacesIT_createNamespaceWithSystemUser0
org.apache.accumulo.core.client.NamespaceNotFoundException: Namespace ns_NamespacesIT_createNamespaceWithSystemUser0 does not exist (getNamespaceId() failed to find namespace)
at org.apache.accumulo.core.clientImpl.Namespaces.getNamespaceId(Namespaces.java:120)
at org.apache.accumulo.core.clientImpl.Namespaces.lookupNamespaceId(Namespaces.java:132)
at org.apache.accumulo.manager.tableOps.Utils.checkNamespaceDoesNotExist(Utils.java:229)
at org.apache.accumulo.manager.tableOps.namespace.create.PopulateZookeeperWithNamespace.call(PopulateZookeeperWithNamespace.java:52)
at org.apache.accumulo.manager.tableOps.namespace.create.PopulateZookeeperWithNamespace.call(PopulateZookeeperWithNamespace.java:31)
at org.apache.accumulo.manager.tableOps.TraceRepo.call(TraceRepo.java:76)
at org.apache.accumulo.core.fate.Fate.executeCall(Fate.java:282)
at org.apache.accumulo.core.fate.Fate$TransactionRunner.run(Fate.java:119)
at org.apache.accumulo.core.trace.TraceWrappedRunnable.run(TraceWrappedRunnable.java:52)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at org.apache.accumulo.core.trace.TraceWrappedRunnable.run(TraceWrappedRunnable.java:52)
at java.base/java.lang.Thread.run(Thread.java:840)
This is because of the check that ensures the namespace does not exist before creating it. When this is called, the namespace does not exist (which is expected), but it logs this error message.
Versions (OS, Maven, Java, and others, as appropriate):
- 2.1, maybe 4.0 as well
To Reproduce
Create a namespace in 2.1 with NamespaceOperations.create()
Expected behavior
creating a namespace should not result in this log
Metadata
Metadata
Assignees
Labels
bugThis issue has been verified to be a bug.This issue has been verified to be a bug.