MonkeyCanCode commented on PR #971: URL: https://github.com/apache/polaris/pull/971#issuecomment-2644713991
So quick run on my local (Mac) shows it is working without `--privileged` flag: ``` ➜ polaris git:(main) ✗ cd ~/polaris ➜ polaris git:(main) ✗ ./gradlew clean :polaris-quarkus-server:assemble -Dquarkus.container-image.build=true Configuration on demand is an incubating feature. > Task :polaris-api-management-service:openApiGenerate user-defined server variable support is experimental. ################################################################################ # Thanks for using OpenAPI Generator. # # Please consider donation to help us maintain this project 🙏 # # https://opencollective.com/openapi_generator/donate # ################################################################################ Successfully generated code to /Users/yong/Desktop/GitHome/polaris/api/management-service/build/generated > Task :polaris-api-management-model:openApiGenerate user-defined server variable support is experimental. Unexpected allVars for AwsStorageConfigInfo expecting:6 vars. actual:2 vars Unexpected allVars for AzureStorageConfigInfo expecting:5 vars. actual:2 vars Unexpected allVars for GcpStorageConfigInfo expecting:3 vars. actual:2 vars ################################################################################ # Thanks for using OpenAPI Generator. # # Please consider donation to help us maintain this project 🙏 # # https://opencollective.com/openapi_generator/donate # ################################################################################ Successfully generated code to /Users/yong/Desktop/GitHome/polaris/api/management-model/build/generated > Task :polaris-api-iceberg-service:openApiGenerate user-defined server variable support is experimental. Failed to get the schema name: null ################################################################################ # Thanks for using OpenAPI Generator. # # Please consider donation to help us maintain this project 🙏 # # https://opencollective.com/openapi_generator/donate # ################################################################################ Successfully generated code to /Users/yong/Desktop/GitHome/polaris/api/iceberg-service/build/generated [Incubating] Problems report is available at: file:///Users/yong/Desktop/GitHome/polaris/build/reports/problems/problems-report.html Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0. You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins. For more on this, please refer to https://docs.gradle.org/8.12.1/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation. BUILD SUCCESSFUL in 42s 80 actionable tasks: 66 executed, 4 from cache, 10 up-to-date ➜ polaris git:(main) ✗ docker run -p 8181:8181 -p 8182:8182 apache/polaris:latest Starting the Java application using /opt/jboss/container/java/run/run-java.sh ... INFO exec -a "java" java -XX:MaxRAMPercentage=80.0 -XX:+UseParallelGC -XX:MinHeapFreeRatio=10 -XX:MaxHeapFreeRatio=20 -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90 -XX:+ExitOnOutOfMemoryError -cp "." -jar /deployments/quarkus-run.jar INFO running in /deployments realm: POLARIS root principal credentials: 566e29bd65a4bffe:1dbd7524aef7363fcdc47862dcf6227b @@@@ @@@ @ @ @@@@ @ @@@@ @@@@ @ @@@@@ @ @ @@@ @@@@ @ @ @ @ @ @ @ @ @ @ @@ @ @ @ @ @ @ @ @ @ @ @@@@ @ @ @ @@@@@ @@@@ @ @@ @ @@@@@ @ @@@@@ @ @ @ @ @@@ @ @@@ @@@@ @ @ @ @@ @ @@@@ @@@@ @ @ @ @@ @@ @@@@ @@@ @@@@ * /////\ //\\///T\\\ ///\\\////\\\\\\ //\\\\T////\\\\\\\\\ /T\ //\\\\\T///T\\//T\\\\\\ //\\\/////T\\////\\/////\\\\\\\ //\\ //\\\\\\T///////////////////T\\\\\\\T\\\\\ //\\\\/////T\//////////\///////T\\\\\T\\\\\\\\ //\\\\\/////\\\T////////////////\\\\\\/\\\\\\\\\ ,,..,,,..,,,..,//\\\\////////\\\\\\\\\\/////////\\\\\///\\\\\\\\\\,,,..,,..,,,..,,,. ,,..,,,..,,,..,,,..,,,..,,,..,,,..,,,..,,,..,,,..,,,..,,,..,,,..,,,..,,,.,,,..,,,.., Powered by Quarkus 3.18.2 2025-02-08 08:03:56,424 WARN [io.mic.cor.ins.MeterRegistry] [,] [,,,] (vert.x-acceptor-thread-0) This Gauge has been already registered (MeterId{name='http.server.active.requests', tags=[tag(application=Polaris)]}), the Gauge registration will be ignored. Note that subsequent logs will be logged at debug level. 2025-02-08 08:03:56,427 INFO [io.quarkus] [,] [,,,] (main) Apache Polaris Server (incubating) 1.0.0-incubating-SNAPSHOT on JVM (powered by Quarkus 3.18.2) started in 1.253s. Listening on: http://0.0.0.0:8181. Management interface listening on http://0.0.0.0:8182. 2025-02-08 08:03:56,428 INFO [io.quarkus] [,] [,,,] (main) Profile prod activated. 2025-02-08 08:03:56,428 INFO [io.quarkus] [,] [,,,] (main) Installed features: [cdi, hibernate-validator, micrometer, opentelemetry, reactive-routes, rest, rest-jackson, smallrye-context-propagation, smallrye-health, vertx] ^C2025-02-08 08:04:01,649 INFO [io.quarkus] [,] [,,,] (main) Apache Polaris Server (incubating) stopped in 0.027s ➜ polaris git:(main) ✗ ``` Do you mind share a bit more info about your setup (e.g. OS) and provide full trace if possible. IMO, I don't think it is a good idea to run with privileges flag. -- 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]
