btw, user listt will be a better place for this thread. On Thu, Jun 18, 2015 at 8:19 AM, Yin Huai <yh...@databricks.com> wrote:
> Is it the full stack trace? > > On Thu, Jun 18, 2015 at 6:39 AM, Sea <261810...@qq.com> wrote: > >> Hi, all: >> >> I want to run spark sql on yarn(yarn-client), but ... I already set >> "spark.yarn.jar" and "spark.jars" in conf/spark-defaults.conf. >> >> ./bin/spark-sql -f game.sql --executor-memory 2g --num-executors 100 > >> game.txt >> >> Exception in thread "main" java.lang.NoClassDefFoundError: >> org/apache/spark/deploy/yarn/ExecutorLauncher >> Caused by: java.lang.ClassNotFoundException: >> org.apache.spark.deploy.yarn.ExecutorLauncher >> at java.net.URLClassLoader$1.run(URLClassLoader.java:202) >> at java.security.AccessController.doPrivileged(Native Method) >> at java.net.URLClassLoader.findClass(URLClassLoader.java:190) >> at java.lang.ClassLoader.loadClass(ClassLoader.java:306) >> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) >> at java.lang.ClassLoader.loadClass(ClassLoader.java:247) >> Could not find the main class: >> org.apache.spark.deploy.yarn.ExecutorLauncher. Program will exit. >> >> >> Anyone can help? >> > >