You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[SPARK-53808][CONNECT] Allow to pass optional JVM args to spark-connect-scala-client
### What changes were proposed in this pull request?
This PR proposes an improvement to allow to pass optionaj JVM args to `spark-connect-scala-client` through an environment variable `SCJVM_ARGS`.
### Why are the changes needed?
Different from other REPL tools like `spark-shell`, `spark-connect-scala-client` doesn't support optional JVM args. `--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 `SCJVM_ARGS`, and I confirmed it worked.
### Was this patch authored or co-authored using generative AI tooling?
No.
Closes#52526 from sarutak/connect-scala-jvm-option.
Authored-by: Kousuke Saruta <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>
0 commit comments