MegaSparkDiff icon indicating copy to clipboard operation
MegaSparkDiff copied to clipboard

Getting Errors

Open holson1980 opened this issue 2 years ago • 2 comments

Hi, I have cloned this project and wanted to learn its capabilities. So, I ran a test case inside the examples folder and got error:

java.lang.IllegalAccessError: class org.apache.spark.storage.StorageUtils$ (in unnamed module @0x7f63425a) cannot access class sun.nio.ch.DirectBuffer (in module java.base) because module java.base does not export sun.nio.ch to unnamed module @0x7f63425a

Besides that, I was going to try comparing 2 CSV flies in locally and see differences in the outcome report. Could someone, please assist me with the issue? Thank you in advance!

holson1980 avatar Jan 24 '23 22:01 holson1980

Hello, what version of Java are you running with?

Please see the following if you are using Java 17, which should help you get it running without error: https://stackoverflow.com/questions/73465937/apache-spark-3-3-0-breaks-on-java-17-with-cannot-access-class-sun-nio-ch-direct

matthewgillett avatar Feb 04 '23 16:02 matthewgillett

Hi Matthew, I am using java version "18.0.1.1"

holson1980 avatar Feb 07 '23 03:02 holson1980