You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@polaris.apache.org by "venkateshwaracholan (via GitHub)" <gi...@apache.org> on 2026/05/09 03:50:05 UTC
[PR] Fix gradlew run after Quarkus bump [polaris]
venkateshwaracholan opened a new pull request, #4390:
URL: https://github.com/apache/polaris/pull/4390
## Description
With recent Quarkus version bumps introduced in #4336 and #4364, running the local developer command:
```bash
./gradlew run
```
started failing with:
```text
Failed to index: io.quarkus.test.ActivateSessionContext
```
This is caused by a Quarkus issue:
* quarkusio/quarkus#54001
As suggested by @dimas-b and agreed by @jbonofre in #4382, this change switches the `run` convenience task from `quarkusRun` to `quarkusDev`.
`./gradlew run` is intended as a local developer convenience workflow, and `quarkusDev` is the more appropriate task for this use case.
## Changes
* Replace `quarkusRun` with `quarkusDev` in the custom `run` Gradle task.
* Update the task configuration type from `QuarkusRun` to `QuarkusDev`.
```diff
- dependsOn("quarkusRun")
+ dependsOn("quarkusDev")
```
```diff
- tasks.named<QuarkusRun>("quarkusRun")
+ tasks.named<QuarkusDev>("quarkusDev")
```
## Before
```bash
./gradlew run
```
failed with:
```text
Execution failed for task ':polaris-server:quarkusRun'
Failed to index: io.quarkus.test.ActivateSessionContext
```
## After
```bash
./gradlew run
```
starts Polaris successfully:
```text
2026-05-09 08:46:08,699 INFO [io.quarkus] Apache Polaris Server 1.4.0-SNAPSHOT on JVM (powered by Quarkus 3.35.2) started in 3.529s. Listening on: http://localhost:8181.
2026-05-09 08:46:08,699 INFO [io.quarkus] Profile dev activated. Live Coding activated.
```
## Docker / DevServices warning notes
When Docker is not running locally, Quarkus DevServices emits startup warnings such as:
```text
WARN [org.testcontainers.dockerclient.DockerClientProviderStrategy]
DOCKER_HOST unix:///var/run/docker.sock is not listening
ERROR [org.testcontainers.dockerclient.DockerClientProviderStrategy]
Could not find a valid Docker environment.
```
and:
```text
WARN [io.quarkus.datasource.deployment.devservices.DevServicesDatasourceProcessor]
Please configure the datasource URL for default datasource or ensure the Docker daemon is up and running.
WARN [io.quarkus.mongodb.deployment.DevServicesMongoProcessor]
Please configure datasource URL for default datasource or get a working docker instance
```
These warnings are harmless for local Polaris development.
To suppress them entirely:
```bash
./gradlew run "-Dquarkus.devservices.enabled=false"
```
Startup output is then clean:
```text
2026-05-09 08:50:33,582 INFO [io.quarkus] Apache Polaris Server 1.4.0-SNAPSHOT on JVM (powered by Quarkus 3.35.2) started in 6.732s. Listening on: http://localhost:8181.
2026-05-09 08:50:33,583 INFO [io.quarkus] Profile dev activated. Live Coding activated.
```
## Testing
Verified locally:
```bash
./gradlew assemble
./gradlew run
./gradlew run "-Dquarkus.devservices.enabled=false"
```
Closes #4382
--
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: issues-unsubscribe@polaris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Fix gradlew run after Quarkus bump [polaris]
Posted by "venkateshwaracholan (via GitHub)" <gi...@apache.org>.
venkateshwaracholan commented on PR #4390:
URL: https://github.com/apache/polaris/pull/4390#issuecomment-4416173378
@jbonofre @dimas-b this is the follow-up we discussed in #4382 — would you mind taking a look when you get a chance?
--
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: issues-unsubscribe@polaris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Fix gradlew run after Quarkus bump [polaris]
Posted by "dimas-b (via GitHub)" <gi...@apache.org>.
dimas-b merged PR #4390:
URL: https://github.com/apache/polaris/pull/4390
--
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: issues-unsubscribe@polaris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org