Skip to content

Add NoSQL persistence and MongoDB extension to the admin tool#3813

Merged
adutra merged 1 commit intoapache:mainfrom
adutra:add-mongodb-extension
Feb 19, 2026
Merged

Add NoSQL persistence and MongoDB extension to the admin tool#3813
adutra merged 1 commit intoapache:mainfrom
adutra:add-mongodb-extension

Conversation

@adutra
Copy link
Contributor

@adutra adutra commented Feb 18, 2026

The admin tool binary distribution and Docker image do not contain the NoSQL persistence + MongoDB extension.

Because of that, it's impossible to bootstrap a realm using NoSQL:

2026-02-18 14:41:05,478 WARN  [io.quarkus.config] (main) Unrecognized configuration key "quarkus.mongodb.connection-string" was provided; it will be ignored; verify that the dependency extension for this configuration is set or that you did not make a typo
2026-02-18 14:41:05,478 WARN  [io.quarkus.config] (main) Unrecognized configuration key "quarkus.mongodb.database" was provided; it will be ignored; verify that the dependency extension for this configuration is set or that you did not make a typo
2026-02-18 14:41:05,582 ERROR [io.quarkus.runtime.Application] (main) Failed to start application: java.lang.RuntimeException: Error injecting org.apache.polaris.core.persistence.MetaStoreManagerFactory org.apache.polaris.admintool.BaseMetaStoreCommand.metaStoreManagerFactory
...
Caused by: jakarta.enterprise.inject.UnsatisfiedResolutionException: No bean found for required type [interface org.apache.polaris.core.persistence.MetaStoreManagerFactory] and qualifiers [[@jakarta.enterprise.inject.Any(), @io.smallrye.common.annotation.Identifier(value="nosql")]]      

Checklist

  • 🛡️ Don't disclose security issues! (contact [email protected])
  • 🔗 Clearly explained why the changes are needed, or linked related issues: Fixes #
  • 🧪 Added/updated tests with good coverage, or manually tested (and explained how)
  • 💡 Added comments for complex logic
  • 🧾 Updated CHANGELOG.md (if needed)
  • 📚 Updated documentation in site/content/in-dev/unreleased (if needed)

The admin tool binary distribution and Docker image do not contain the NoSQL persistence + MongoDB extension.

Because of that, it's impossible to bootstrap a realm using NoSQL:

```
2026-02-18 14:41:05,478 WARN  [io.quarkus.config] (main) Unrecognized configuration key "quarkus.mongodb.connection-string" was provided; it will be ignored; verify that the dependency extension for this configuration is set or that you did not make a typo
2026-02-18 14:41:05,478 WARN  [io.quarkus.config] (main) Unrecognized configuration key "quarkus.mongodb.database" was provided; it will be ignored; verify that the dependency extension for this configuration is set or that you did not make a typo
2026-02-18 14:41:05,582 ERROR [io.quarkus.runtime.Application] (main) Failed to start application: java.lang.RuntimeException: Error injecting org.apache.polaris.core.persistence.MetaStoreManagerFactory org.apache.polaris.admintool.BaseMetaStoreCommand.metaStoreManagerFactory
```
Copy link
Contributor

@dimas-b dimas-b left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch! Thanks, @adutra 👍

@github-project-automation github-project-automation bot moved this from PRs In Progress to Ready to merge in Basic Kanban Board Feb 18, 2026
@adutra adutra merged commit edce68f into apache:main Feb 19, 2026
17 checks passed
@adutra adutra deleted the add-mongodb-extension branch February 19, 2026 17:54
@github-project-automation github-project-automation bot moved this from Ready to merge to Done in Basic Kanban Board Feb 19, 2026
snazy added a commit to snazy/polaris that referenced this pull request Feb 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants