dongjoon-hyun opened a new pull request, #111:
URL: https://github.com/apache/spark-docker/pull/111

   ### What changes were proposed in this pull request?
   
   This PR aims to disable the `volcano` profile during Kubernetes integration 
tests by appending `-P!volcano` to the sbt invocation in 
`.github/workflows/main.yml`.
   
   ### Why are the changes needed?
   
   Starting from Apache Spark `v4.2.0-preview5`, the `volcano` profile in 
`resource-managers/kubernetes/integration-tests/pom.xml` is marked as 
`<activeByDefault>true</activeByDefault>` and is therefore activated 
automatically when the K8S integration tests run. Earlier versions (e.g., 
4.1.1) require an explicit `-Pvolcano` flag to enable it.
   
   Because this repository's K8S IT workflow runs on a `minikube` cluster 
without a Volcano scheduler installed, the auto-activated profile pulls in the 
`volcano-client` dependency and Volcano-specific test sources, which can fail 
the test step. Adding `-P!volcano` (Maven's standard profile-deactivation 
syntax) explicitly disables the profile.
   
   For previous versions (3.5.x / 4.0.x / 4.1.x), `volcano` is not active by 
default, so `-P!volcano` is a no-op and does not affect their builds.
   
   ### Does this PR introduce _any_ user-facing change?
   
   No. This is a CI-only change.
   
   ### How was this patch tested?
   
   Pass the CIs.
   
   ### Was this patch authored or co-authored using generative AI tooling?
   
   Generated-by: Claude Code (claude-opus-4-7)


-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to