spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nerea Ayestarán <>
Subject Using SparkLauncher in cluster mode, in a Mesos cluster
Date Thu, 27 Oct 2016 09:12:58 GMT
I am trying to launch a Apache Spark job from a java class to a Apache
Mesos cluster in cluster deploy mode. I use SparkLauncher configured as

Process sparkProcess = new SparkLauncher()

If I submit the same job with the same configuration using spark-submit the
job works perfectly, but in the case of the SparkLauncher I get the
following error:

Error: Cannot load main class from JAR

If I go to the Mesos task ui, I can see the spark folder and the

What am I missing? If I don't specify the local spark home it doesn't work

Thanks in advance.

View raw message