dlmarion opened a new issue, #5640:
URL: https://github.com/apache/accumulo/issues/5640

   **Describe the bug**
   Manager logs the following stack trace, then exits, when upgrading to 4.0. 
The tables don't exist yet, because the instance hasn't been upgraded. This 
code was added as part of #5451 .
   
   ```
   java.lang.IllegalStateException: Accumulo namespace expected to contain 
tables {+r=root, +scanref=scanref, !0=metadata, +fate=fate}, but saw 
{!0=metadata, +r=root}
           at 
org.apache.accumulo.core.util.tables.TableMapping.update(TableMapping.java:149) 
~[accumulo-core-4.0.0-SNAPSHOT.jar:4.0.0-SNAPSHOT]
           at 
org.apache.accumulo.core.util.tables.TableMapping.getNameToIdMap(TableMapping.java:179)
 ~[accumulo-core-4.0.0-SNAPSHOT.jar:4.0.0-SNAPSHOT]
           at 
org.apache.accumulo.core.clientImpl.ClientContext.getTableId(ClientContext.java:597)
 ~[accumulo-core-4.0.0-SNAPSHOT.jar:4.0.0-SNAPSHOT]
           at 
org.apache.accumulo.core.clientImpl.ClientContext.createBatchWriter(ClientContext.java:801)
 ~[accumulo-core-4.0.0-SNAPSHOT.jar:4.0.0-SNAPSHOT]
           at 
org.apache.accumulo.core.clientImpl.ClientContext.createBatchWriter(ClientContext.java:807)
 ~[accumulo-core-4.0.0-SNAPSHOT.jar:4.0.0-SNAPSHOT]
           at 
org.apache.accumulo.manager.upgrade.Upgrader11to12.upgradeTabletsMetadata(Upgrader11to12.java:190)
 ~[accumulo-manager-4.0.0-SNAPSHOT.jar:4.0.0-SNAPSHOT]
           at 
org.apache.accumulo.manager.upgrade.Upgrader11to12.upgradeRoot(Upgrader11to12.java:174)
 ~[accumulo-manager-4.0.0-SNAPSHOT.jar:4.0.0-SNAPSHOT]
           at 
org.apache.accumulo.manager.upgrade.UpgradeCoordinator.lambda$upgradeMetadata$0(UpgradeCoordinator.java:258)
 ~[accumulo-manager-4.0.0-SNAPSHOT.jar:4.0.0-SNAPSHOT]
           at 
org.apache.accumulo.core.trace.TraceWrappedCallable.call(TraceWrappedCallable.java:53)
 ~[accumulo-core-4.0.0-SNAPSHOT.jar:4.0.0-SNAPSHOT]
           at 
java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) ~[?:?]
           at 
org.apache.accumulo.core.trace.TraceWrappedRunnable.run(TraceWrappedRunnable.java:52)
 ~[accumulo-core-4.0.0-SNAPSHOT.jar:4.0.0-SNAPSHOT]
           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)
 ~[accumulo-core-4.0.0-SNAPSHOT.jar:4.0.0-SNAPSHOT]
           at java.base/java.lang.Thread.run(Thread.java:840) [?:?]
   
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to