You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2020-08-10 11:04:59,845 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
Exception in thread "main" java.lang.NoSuchMethodError: scala.App.$init$(Lscala/App;)V
at de.hpi.spark_tutorial.SimpleSpark$.<init>(SimpleSpark.scala:20)
at de.hpi.spark_tutorial.SimpleSpark$.<clinit>(SimpleSpark.scala)
at de.hpi.spark_tutorial.SimpleSpark.main(SimpleSpark.scala)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.spark.deploy.JavaMainApplication.start(SparkApplication.scala:52)
at org.apache.spark.deploy.SparkSubmit.org$apache$spark$deploy$SparkSubmit$$runMain(SparkSubmit.scala:845)
at org.apache.spark.deploy.SparkSubmit.doRunMain$1(SparkSubmit.scala:161)
at org.apache.spark.deploy.SparkSubmit.submit(SparkSubmit.scala:184)
at org.apache.spark.deploy.SparkSubmit.doSubmit(SparkSubmit.scala:86)
at org.apache.spark.deploy.SparkSubmit$$anon$2.doSubmit(SparkSubmit.scala:920)
at org.apache.spark.deploy.SparkSubmit$.main(SparkSubmit.scala:929)
at org.apache.spark.deploy.SparkSubmit.main(SparkSubmit.scala)
2020-08-10 11:05:00,021 INFO util.ShutdownHookManager: Shutdown hook called
2020-08-10 11:05:00,022 INFO util.ShutdownHookManager: Deleting directory /tmp/spark-37bb2c26-f19d-4551-a9ee-29c989aa47ae
The text was updated successfully, but these errors were encountered:
When trying to submit this project on a cluster (with the jar having been built on the cluster), I get a java.lang.NoSuchMethorError for scala.App
The jar was created with
sbt assembly
.It was submitted with
The resulting Error Message is:
The text was updated successfully, but these errors were encountered: