panbingkun commented on PR #48666: URL: https://github.com/apache/spark/pull/48666#issuecomment-2458931344
- When we use `sbt` to compile the Spark project, in directory `assembly/target/scala-2.13/jars/`, we will find `netty related dependencies`, some are version `4.1.110.Final`, some are version `4.1.113.Final`, as follow: ``` ``` and `./python/run-tests --python-executables=python3 --testnames "pyspark.sql.tests.connect.test_connect_collection"` will failed. ``` ``` - When we use `maven` to compile the Spark project, in directory `assembly/target/scala-2.13/jars`, we will find `netty related dependencies`, all are version `4.1.110.Final`, as follow: ``` (pyspark) ➜ jars git:(master) ✗ ls -1 netty-*4* netty-all-4.1.110.Final.jar netty-buffer-4.1.110.Final.jar netty-codec-4.1.110.Final.jar netty-codec-http-4.1.110.Final.jar netty-codec-http2-4.1.110.Final.jar netty-codec-socks-4.1.110.Final.jar netty-common-4.1.110.Final.jar netty-handler-4.1.110.Final.jar netty-handler-proxy-4.1.110.Final.jar netty-resolver-4.1.110.Final.jar netty-tcnative-boringssl-static-2.0.66.Final-linux-aarch_64.jar netty-tcnative-boringssl-static-2.0.66.Final-linux-x86_64.jar netty-tcnative-boringssl-static-2.0.66.Final-osx-aarch_64.jar netty-tcnative-boringssl-static-2.0.66.Final-osx-x86_64.jar netty-tcnative-boringssl-static-2.0.66.Final-windows-x86_64.jar netty-transport-4.1.110.Final.jar netty-transport-classes-epoll-4.1.110.Final.jar netty-transport-classes-kqueue-4.1.110.Final.jar netty-transport-native-epoll-4.1.110.Final-linux-aarch_64.jar netty-transport-native-epoll-4.1.110.Final-linux-riscv64.jar netty-transport-native-epoll-4.1.110.Final-linux-x86_64.jar netty-transport-native-kqueue-4.1.110.Final-osx-aarch_64.jar netty-transport-native-kqueue-4.1.110.Final-osx-x86_64.jar netty-transport-native-unix-common-4.1.110.Final.jar ``` And `./python/run-tests --python-executables=python3 --testnames "pyspark.sql.tests.connect.test_connect_collection"` will succeed. ```shell (pyspark) ➜ spark-community git:(master) ✗ ./python/run-tests --python-executables=python3 --testnames "pyspark.sql.tests.connect.test_connect_collection" Running PySpark tests. Output is in /Users/panbingkun/Developer/spark/spark-community/python/unit-tests.log Will test against the following Python executables: ['python3'] Will test the following Python tests: ['pyspark.sql.tests.connect.test_connect_collection'] python3 python_implementation is CPython python3 version is: Python 3.9.19 Starting test(python3): pyspark.sql.tests.connect.test_connect_collection (temp output: /Users/panbingkun/Developer/spark/spark-community/python/target/f5aa47b5-2b52-4106-a997-30e54b1316e6/python3__pyspark.sql.tests.connect.test_connect_collection__5e2svetz.log) Finished test(python3): pyspark.sql.tests.connect.test_connect_collection (15s) Tests passed in 15 seconds ``` - -- 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]
