This is an automated email from the ASF dual-hosted git repository.

dongjoon pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/spark.git


The following commit(s) were added to refs/heads/master by this push:
     new e3405c1aa93c [SPARK-47610][CONNECT][FOLLOWUP] Add 
-Dio.netty.tryReflectionSetAccessible=true for spark-connect-scala-client
e3405c1aa93c is described below

commit e3405c1aa93cc513d986cb27765cd90cea572be3
Author: Cheng Pan <cheng...@apache.org>
AuthorDate: Thu Apr 4 09:58:42 2024 -0700

    [SPARK-47610][CONNECT][FOLLOWUP] Add 
-Dio.netty.tryReflectionSetAccessible=true for spark-connect-scala-client
    
    ### What changes were proposed in this pull request?
    
    Add `-Dio.netty.tryReflectionSetAccessible=true` for 
`spark-connect-scala-client`
    
    ### Why are the changes needed?
    
    The previous change missed spark-connect-scala-client, may be due to bad 
IDEA index.
    
    ### Does this PR introduce _any_ user-facing change?
    
    No.
    
    ### How was this patch tested?
    
    Pass GA
    
    ### Was this patch authored or co-authored using generative AI tooling?
    
    No
    
    Closes #45860 from pan3793/SPARK-47610-followup.
    
    Authored-by: Cheng Pan <cheng...@apache.org>
    Signed-off-by: Dongjoon Hyun <dh...@apple.com>
---
 connector/connect/bin/spark-connect-scala-client | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/connector/connect/bin/spark-connect-scala-client 
b/connector/connect/bin/spark-connect-scala-client
index 1748f8adad4f..04f170e187cf 100755
--- a/connector/connect/bin/spark-connect-scala-client
+++ b/connector/connect/bin/spark-connect-scala-client
@@ -68,6 +68,7 @@ JVM_ARGS="-XX:+IgnoreUnrecognizedVMOptions \
   --add-opens=java.base/sun.security.action=ALL-UNNAMED \
   --add-opens=java.base/sun.util.calendar=ALL-UNNAMED \
   --add-opens=java.security.jgss/sun.security.krb5=ALL-UNNAMED \
-  -Djdk.reflect.useDirectMethodHandle=false "
+  -Djdk.reflect.useDirectMethodHandle=false \
+  -Dio.netty.tryReflectionSetAccessible=true"
 
 exec java $JVM_ARGS -cp "$SCCLASSPATH" 
org.apache.spark.sql.application.ConnectRepl "$@"


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org
For additional commands, e-mail: commits-h...@spark.apache.org

Reply via email to