This is an automated email from the ASF dual-hosted git repository.

adutra pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/polaris.git


The following commit(s) were added to refs/heads/main by this push:
     new edce68f24 Add NoSQL persistence and MongoDB extension to the admin 
tool (#3813)
edce68f24 is described below

commit edce68f243833089d1d5f5ade0f48b84aea086d8
Author: Alexandre Dutra <[email protected]>
AuthorDate: Thu Feb 19 18:54:26 2026 +0100

    Add NoSQL persistence and MongoDB extension to the admin tool (#3813)
    
    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
    ```
---
 runtime/admin/build.gradle.kts | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/runtime/admin/build.gradle.kts b/runtime/admin/build.gradle.kts
index f212360d2..f1a16b513 100644
--- a/runtime/admin/build.gradle.kts
+++ b/runtime/admin/build.gradle.kts
@@ -35,6 +35,14 @@ dependencies {
   runtimeOnly(project(":polaris-relational-jdbc"))
   runtimeOnly("org.postgresql:postgresql")
 
+  runtimeOnly(project(":polaris-persistence-nosql-metastore"))
+  runtimeOnly(project(":polaris-persistence-nosql-cdi-quarkus"))
+  runtimeOnly(project(":polaris-persistence-nosql-cdi-quarkus-distcache"))
+  runtimeOnly(project(":polaris-persistence-nosql-maintenance-impl"))
+  runtimeOnly(project(":polaris-persistence-nosql-metastore-maintenance"))
+
+  runtimeOnly("io.quarkus:quarkus-mongodb-client")
+
   implementation("io.quarkus:quarkus-jdbc-postgresql")
   implementation(enforcedPlatform(libs.quarkus.bom))
   implementation("io.quarkus:quarkus-picocli")

Reply via email to