Re: [I] Unable to Run tests of CometShuffleEncryptionSuite [datafusion-comet]
viirya commented on issue #367: URL: https://github.com/apache/datafusion-comet/issues/367#issuecomment-2104718956 > WARNING: /Library/Java/JavaVirtualMachines/openjdk-11.jdk/Contents/Home/bin/java is loading libcrypto in an unsafe way We encountered similar issue in early setting up of CI pipelines on Mac: https://github.com/apache/datafusion-comet/issues/76 -- 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-unsubscr...@datafusion.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org - To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org For additional commands, e-mail: github-h...@datafusion.apache.org
Re: [I] Unable to Run tests of CometShuffleEncryptionSuite [datafusion-comet]
akash-c-dev commented on issue #367: URL: https://github.com/apache/datafusion-comet/issues/367#issuecomment-2104278510 @ganeshkumar269 / @viirya Encountered the same issue. Looks to be specific to macOS Sonoma. On my mac, the test case is failing, but not on ubuntu. On further debugging issue exists in apache/spark too [AuthEngineSuite.java#testEncryptedMessage](https://github.com/apache/spark/blob/326dbb4478732eb9b7a683511e69206f2b21bd37/common/network-common/src/test/java/org/apache/spark/network/crypto/AuthEngineSuite.java#L221) And if you backtrack you'll notice similar issues on commons-crypto library. I was able to get it working on Mac by adding this `-Dcommons.crypto.lib.path=/usr/local/lib/ -Dcommons.crypto.lib.name=libcrypto.dylib` to https://github.com/apache/datafusion-comet/blob/main/pom.xml#L86 -- 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-unsubscr...@datafusion.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org - To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org For additional commands, e-mail: github-h...@datafusion.apache.org
Re: [I] Unable to Run tests of CometShuffleEncryptionSuite [datafusion-comet]
ganeshkumar269 commented on issue #367: URL: https://github.com/apache/datafusion-comet/issues/367#issuecomment-2088994122 ./mvnw test -Dsuites=org.apache.comet.exec.CometShuffleEncryptionSuite ran the above command, same result -- 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-unsubscr...@datafusion.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org - To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org For additional commands, e-mail: github-h...@datafusion.apache.org
Re: [I] Unable to Run tests of CometShuffleEncryptionSuite [datafusion-comet]
viirya commented on issue #367: URL: https://github.com/apache/datafusion-comet/issues/367#issuecomment-2088932628 Have you tried to run it in command line? -- 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-unsubscr...@datafusion.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org - To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org For additional commands, e-mail: github-h...@datafusion.apache.org
[I] Unable to Run tests of CometShuffleEncryptionSuite [datafusion-comet]
ganeshkumar269 opened a new issue, #367: URL: https://github.com/apache/datafusion-comet/issues/367 ### Describe the bug when ever I execute the test class CometShuffleEncryptionSuite, the tests fails/crashes with no meaningful error message, though I get this warning message WARNING: /Library/Java/JavaVirtualMachines/openjdk-11.jdk/Contents/Home/bin/java is loading libcrypto in an unsafe way In Intellij IDEA, I enabled "Log - Stack trace" for all the exceptions, I received the below error message, ``` Exception 'sun.nio.fs.UnixException' occurred in thread 'Executor task launch worker for task 0.0 in stage 1.0 (TID 1)' at sun.nio.fs.UnixNativeDispatcher.lstat(UnixNativeDispatcher.java:335) at sun.nio.fs.UnixNativeDispatcher.lstat(UnixNativeDispatcher.java:335) at sun.nio.fs.UnixFileAttributes.get(UnixFileAttributes.java:72) at sun.nio.fs.UnixFileSystemProvider.implDelete(UnixFileSystemProvider.java:232) at sun.nio.fs.AbstractFileSystemProvider.deleteIfExists(AbstractFileSystemProvider.java:110) at java.nio.file.Files.deleteIfExists(Files.java:1181) at java.nio.file.Files.copy(Files.java:3055) at org.apache.commons.crypto.NativeCodeLoader.extractLibraryFile(NativeCodeLoader.java:149) at org.apache.commons.crypto.NativeCodeLoader.findNativeLibrary(NativeCodeLoader.java:237) at org.apache.commons.crypto.NativeCodeLoader.loadLibrary(NativeCodeLoader.java:279) at org.apache.commons.crypto.NativeCodeLoader.(NativeCodeLoader.java:52) at org.apache.commons.crypto.Crypto.isNativeCodeLoaded(Crypto.java:140) at org.apache.commons.crypto.random.OpenSslCryptoRandom.(OpenSslCryptoRandom.java:54) at java.lang.Class.forName0(Class.java:-1) at java.lang.Class.forName(Class.java:398) at org.apache.commons.crypto.utils.ReflectionUtils.getClassByNameOrNull(ReflectionUtils.java:134) at org.apache.commons.crypto.utils.ReflectionUtils.getClassByName(ReflectionUtils.java:101) at org.apache.commons.crypto.random.CryptoRandomFactory.getCryptoRandom(CryptoRandomFactory.java:197) at org.apache.spark.security.CryptoStreamUtils$.createInitializationVector(CryptoStreamUtils.scala:138) at org.apache.spark.security.CryptoStreamUtils$.createCryptoOutputStream(CryptoStreamUtils.scala:56) at org.apache.spark.serializer.SerializerManager.$anonfun$wrapForEncryption$3(SerializerManager.scala:151) at org.apache.spark.serializer.SerializerManager$$Lambda$2902.217692044.apply(Unknown Source:-1) at scala.Option.map(Option.scala:230) at org.apache.spark.serializer.SerializerManager.wrapForEncryption(SerializerManager.scala:151) at org.apache.spark.serializer.SerializerManager.wrapStream(SerializerManager.scala:134) at org.apache.spark.storage.DiskBlockObjectWriter.open(DiskBlockObjectWriter.scala:163) at org.apache.spark.storage.DiskBlockObjectWriter.write(DiskBlockObjectWriter.scala:306) at org.apache.spark.shuffle.sort.BypassMergeSortShuffleWriter.write(BypassMergeSortShuffleWriter.java:171) at org.apache.spark.shuffle.ShuffleWriteProcessor.write(ShuffleWriteProcessor.scala:59) at org.apache.spark.scheduler.ShuffleMapTask.runTask(ShuffleMapTask.scala:101) at org.apache.spark.scheduler.ShuffleMapTask.runTask(ShuffleMapTask.scala:53) at org.apache.spark.TaskContext.runTaskWithListeners(TaskContext.scala:161) at org.apache.spark.scheduler.Task.run(Task.scala:139) at org.apache.spark.executor.Executor$TaskRunner.$anonfun$run$3(Executor.scala:554) at org.apache.spark.executor.Executor$TaskRunner$$Lambda$1605.2076642299.apply(Unknown Source:-1) at org.apache.spark.util.Utils$.tryWithSafeFinally(Utils.scala:1529) at org.apache.spark.executor.Executor$TaskRunner.run(Executor.scala:557) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.lang.Thread.run(Thread.java:829) Exception 'java.lang.ClassNotFoundException' occurred in thread 'driver-heartbeater' at sun.reflect.misc.MethodUtil.findClass(MethodUtil.java:328) at sun.reflect.misc.MethodUtil.findClass(MethodUtil.java:328) at sun.reflect.misc.MethodUtil.loadClass(MethodUtil.java:309) at java.lang.ClassLoader.loadClass(ClassLoader.java:527) at jdk.internal.misc.Unsafe.defineClass0(Unsafe.java:-1) at jdk.internal.misc.Unsafe.defineClass(Unsafe.java:1192) at jdk.internal.reflect.ClassDefiner.defineClass(ClassDefiner.java:63) at jdk.internal.reflect.MethodAccessorGenerator$1.run(MethodAccessorGenerator.java:400) at jdk.internal.reflect.MethodAccessorGenerator$1.run(MethodAccessorGenerator.java:394) at java.security.AccessController.