Comments (4)
This error looks strange. These classes live in the same package. I check the code of spark 2.4.0, ShuffleInMemorySorter
is a class with package-level visibility. We should be able to access this class.
I have also tried the tests with following command:
mvn package -Dspark.version=2.4.0
And it finishes successfully.
Would you please try the same command and see if you have any issues accessing this class?
from splash.
Exception in thread "main" java.lang.IllegalAccessError: class org.apache.spark.storage.StorageUtils$ (in unnamed module @0x2a265ea9) cannot access class sun.nio.ch.DirectBuffer (in module java.base) because module java.base does not export sun.nio.ch to unnamed module @0x2a265ea9
at org.apache.spark.storage.StorageUtils$.(StorageUtils.scala:213)
at org.apache.spark.storage.BlockManagerMasterEndpoint.(BlockManagerMasterEndpoint.scala:114)
at org.apache.spark.SparkEnv$.$anonfun$create$9(SparkEnv.scala:353)
at org.apache.spark.SparkEnv$.registerOrLookupEndpoint$1(SparkEnv.scala:290)
at org.apache.spark.SparkEnv$.create(SparkEnv.scala:339)
at org.apache.spark.SparkEnv$.createDriverEnv(SparkEnv.scala:194)
at org.apache.spark.SparkContext.createSparkEnv(SparkContext.scala:279)
at org.apache.spark.SparkContext.(SparkContext.scala:464)
at org.apache.spark.SparkContext$.getOrCreate(SparkContext.scala:2704)
at org.apache.spark.sql.SparkSession$Builder.$anonfun$getOrCreate$2(SparkSession.scala:953)
at scala.Option.getOrElse(Option.scala:201)
at org.apache.spark.sql.SparkSession$Builder.getOrCreate(SparkSession.scala:947)
at SimpleApp$.main(SimpleApp.scala:6)
at SimpleApp.main(SimpleApp.scala)
Above error is coming while running spark application
from splash.
@gmcaps - I am facing a similar issue as well, were you able to resolve this?
from splash.
@gmcaps I was able to solve the issue you mentioned by adding JAVA_HOME to path env variables.
from splash.
Related Issues (20)
- Dump shuffle partition when error happens during shuffle read
- How to delete the shuffle data HOT 5
- Splash doesn't compile with Spark 2.4.0 HOT 3
- Print version info during shuffle manager initialization
- Reduce the number of calls to ShuffleFile.getSize
- Do not rely on `OutputStream.available()`
- Create empty shuffle data file failed when the file already exists.
- Structure enhancement of the shuffle reader
- Stop the shuffle manager when the app hasn't started raise an exception
- Improve the merge sort performance of the external sorter.
- Create a shuffle tool for performance test
- Cache shuffle index in memory
- Add deploy script for different Spark & Hadoop versions
- Improve the performance and memory efficiency in the unsafe code path
- The statistics output of the shuffle tool is not precise enough
- Support fast merge in the storage plugin interface.
- java.lang.IllegalArgumentException because of spark version string being blank HOT 1
- Add support for HDFS compliant file systems
- java.lang.ClassNotFoundException: org.apache.spark.shuffle.SplashShuffleManager HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from splash.