Enable Spark in Java Kernel
Open
- Dominant language
- Jupyter Notebook
- Stars
- 2.9k
- Forks
- 383
- PR merge metrics
- No merged PRs in 30d
Description
It seems that the Java Kernel does not support Spark.
Example:
%classpath add mvn org.apache.spark spark-sql_2.11 2.2.1
org.apache.log4j.Logger.getRootLogger().setLevel(org.apache.log4j.Level.ERROR);
import org.apache.spark.sql.SparkSession;
SparkSession spark = SparkSession.builder()
.appName("Simple Application")
.master("local[4]")
.config("spark.ui.enabled", "false")
.getOrCreate();
This code gives the following error message:
ERROR: java.lang.ExceptionInInitializerError
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.