You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by "Abacn (via GitHub)" <gi...@apache.org> on 2024/02/09 23:59:25 UTC

[I] [Feature Request]: Enable to configure `--add-modules` jvm flag [beam]

Abacn opened a new issue, #30281:
URL: https://github.com/apache/beam/issues/30281

   ### What would you like to happen?
   
   There are interests to leverage the new Vector API (AVX2 CPU instructions) in Java [1], which requires special JVM flags for activation (`--add-modules=jdk.incubator.vector`). However, Java SDK container current does not expose this option. But similarly, we do support user config `--add-opens` JVM options: https://github.com/apache/beam/blob/aefcada11037fc465f79225c28256c0d4fcd940e/sdks/java/container/boot.go#L233 
   
   We may consider add similar support for `--add-modules` flags.
   
   [1] https://docs.oracle.com/en/java/javase/21/docs/api/jdk.incubator.vector/jdk/incubator/vector/package-summary.html
   
   ### Issue Priority
   
   Priority: 3 (nice-to-have improvement)
   
   ### Issue Components
   
   - [ ] Component: Python SDK
   - [X] Component: Java SDK
   - [ ] Component: Go SDK
   - [ ] Component: Typescript SDK
   - [ ] Component: IO connector
   - [ ] Component: Beam YAML
   - [ ] Component: Beam examples
   - [ ] Component: Beam playground
   - [ ] Component: Beam katas
   - [ ] Component: Website
   - [ ] Component: Spark Runner
   - [ ] Component: Flink Runner
   - [ ] Component: Samza Runner
   - [ ] Component: Twister2 Runner
   - [ ] Component: Hazelcast Jet Runner
   - [ ] Component: Google Cloud Dataflow Runner


-- 
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: github-unsubscribe@beam.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org