sarutak opened a new pull request, #52526: URL: https://github.com/apache/spark/pull/52526
### What changes were proposed in this pull request? This PR proposes an improvement to allow to pass optionaj JVM options to `spark-connect-scala-client` through an environment variable `JVM_ARGS`. ### Why are the changes needed? Different from other REPL tools like `spark-shell`, `spark-connect-scala-client` doesn't support optional JVM options. `--driver-java-options` doesn't affect client side. ### Does this PR introduce _any_ user-facing change? Yes but doesn't break compatibility. ### How was this patch tested? To use debugger, set `-agentlib:jdwp=transport=dt_socket,suspend=n,server=y,address=9876` to `JVM_ARGS`, and I confirmed it worked. ### Was this patch authored or co-authored using generative AI tooling? No. -- 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]
