{"action":"created","issue":{"url":"https://api.github.com/repos/spark-jobserver/spark-jobserver/issues/846","repository_url":"https://api.github.com/repos/spark-jobserver/spark-jobserver","labels_url":"https://api.github.com/repos/spark-jobserver/spark-jobserver/issues/846/labels{/name}","comments_url":"https://api.github.com/repos/spark-jobserver/spark-jobserver/issues/846/comments","events_url":"https://api.github.com/repos/spark-jobserver/spark-jobserver/issues/846/events","html_url":"https://github.com/spark-jobserver/spark-jobserver/issues/846","id":233192245,"number":846,"title":"Unable to start the deployed spark job server ","user":{"login":"ReubenBorrison","id":16455959,"avatar_url":"https://avatars3.githubusercontent.com/u/16455959?v=3","gravatar_id":"","url":"https://api.github.com/users/ReubenBorrison","html_url":"https://github.com/ReubenBorrison","followers_url":"https://api.github.com/users/ReubenBorrison/followers","following_url":"https://api.github.com/users/ReubenBorrison/following{/other_user}","gists_url":"https://api.github.com/users/ReubenBorrison/gists{/gist_id}","starred_url":"https://api.github.com/users/ReubenBorrison/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ReubenBorrison/subscriptions","organizations_url":"https://api.github.com/users/ReubenBorrison/orgs","repos_url":"https://api.github.com/users/ReubenBorrison/repos","events_url":"https://api.github.com/users/ReubenBorrison/events{/privacy}","received_events_url":"https://api.github.com/users/ReubenBorrison/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2017-06-02T14:00:10Z","updated_at":"2017-06-06T13:19:04Z","closed_at":"2017-06-06T13:19:04Z","body":"I am trying to  use the spark job server on a cluster on CDH 5.11, spark version 1.6.0\r\nWhen I try to start the spark jobserver on the deployed machine I get this error log\r\n\r\n\r\n[ERROR] [06/02/2017 15:30:14.966] [JobServer-akka.actor.default-dispatcher-3] [ActorSystem(JobServer)] Uncaught error from thread [JobServer-akka.actor.default-dispatcher-3] shutting down JVM since 'akka.jvm-ex$\r\njava.lang.NoClassDefFoundError: org/slf4j/LoggerFactory\r\n        at akka.event.slf4j.Logger$.apply(Slf4jLogger.scala:30)\r\n        at akka.event.slf4j.SLF4JLogging$class.log(Slf4jLogger.scala:19)\r\n        at akka.event.slf4j.Slf4jLogger.log$lzycompute(Slf4jLogger.scala:54)\r\n        at akka.event.slf4j.Slf4jLogger.log(Slf4jLogger.scala:54)\r\n        at akka.event.slf4j.Slf4jLogger$$anonfun$receive$1.applyOrElse(Slf4jLogger.scala:80)\r\n        at akka.actor.ActorCell.receiveMessage(ActorCell.scala:498)\r\n        at akka.actor.ActorCell.invoke(ActorCell.scala:456)\r\n        at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:237)\r\n        at akka.dispatch.Mailbox.run(Mailbox.scala:219)\r\n        at akka.dispatch.ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec(AbstractDispatcher.scala:386)\r\n        at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)\r\n        at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)\r\n        at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)\r\n        at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)\r\nCaused by: java.lang.ClassNotFoundException: org.slf4j.LoggerFactory\r\n        at java.net.URLClassLoader.findClass(URLClassLoader.java:381)\r\n        at java.lang.ClassLoader.loadClass(ClassLoader.java:424)\r\n        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:335)\r\n        at java.lang.ClassLoader.loadClass(ClassLoader.java:357)\r\n        ... 14 more\r\n\r\nUncaught error from thread [JobServer-akka.actor.default-dispatcher-3] shutting down JVM since 'akka.jvm-exit-on-fatal-error' is enabled for ActorSystem[JobServer]\r\njava.lang.NoClassDefFoundError: org/slf4j/LoggerFactory\r\n        at akka.event.slf4j.Logger$.apply(Slf4jLogger.scala:30)\r\n        at akka.event.slf4j.SLF4JLogging$class.log(Slf4jLogger.scala:19)\r\n        at akka.event.slf4j.Slf4jLogger.log$lzycompute(Slf4jLogger.scala:54)\r\n        at akka.event.slf4j.Slf4jLogger.log(Slf4jLogger.scala:54)\r\n        at akka.event.slf4j.Slf4jLogger$$anonfun$receive$1.applyOrElse(Slf4jLogger.scala:80)\r\n        at akka.actor.ActorCell.receiveMessage(ActorCell.scala:498)\r\n        at akka.actor.ActorCell.invoke(ActorCell.scala:456)\r\n        at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:237)\r\n        at akka.dispatch.Mailbox.run(Mailbox.scala:219)\r\n        at akka.dispatch.ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec(AbstractDispatcher.scala:386)\r\n        at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)\r\n        at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)\r\n        at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)\r\n        at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)\r\nCaused by: java.lang.ClassNotFoundException: org.slf4j.LoggerFactory\r\n        at java.net.URLClassLoader.findClass(URLClassLoader.java:381)\r\n        at java.lang.ClassLoader.loadClass(ClassLoader.java:424)\r\n        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:335)\r\n        at java.lang.ClassLoader.loadClass(ClassLoader.java:357)\r\n        ... 14 more\r\n\r\nDid anybody faced the same issue or provide some help ?"},"comment":{"url":"https://api.github.com/repos/spark-jobserver/spark-jobserver/issues/comments/306483430","html_url":"https://github.com/spark-jobserver/spark-jobserver/issues/846#issuecomment-306483430","issue_url":"https://api.github.com/repos/spark-jobserver/spark-jobserver/issues/846","id":306483430,"user":{"login":"ReubenBorrison","id":16455959,"avatar_url":"https://avatars3.githubusercontent.com/u/16455959?v=3","gravatar_id":"","url":"https://api.github.com/users/ReubenBorrison","html_url":"https://github.com/ReubenBorrison","followers_url":"https://api.github.com/users/ReubenBorrison/followers","following_url":"https://api.github.com/users/ReubenBorrison/following{/other_user}","gists_url":"https://api.github.com/users/ReubenBorrison/gists{/gist_id}","starred_url":"https://api.github.com/users/ReubenBorrison/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ReubenBorrison/subscriptions","organizations_url":"https://api.github.com/users/ReubenBorrison/orgs","repos_url":"https://api.github.com/users/ReubenBorrison/repos","events_url":"https://api.github.com/users/ReubenBorrison/events{/privacy}","received_events_url":"https://api.github.com/users/ReubenBorrison/received_events","type":"User","site_admin":false},"created_at":"2017-06-06T13:19:04Z","updated_at":"2017-06-06T13:19:04Z","body":"I finally found the problem. The CDH creates a classpath.txt file for dependant jars which was outdated in my case. Also I was using spark version 1.6.0 and using the latest version of spark jobserver which also gave different errors. Also the for spark version 1.6.0 the selected scala version should be 2.10.4 and not 2.11.6. Also there is another repository for CDH users [Bjoern Repo](https://github.com/bjoernlohrmann/spark-jobserver/tree/0.6.2-KNIME_cdh-5.11) which worked flawlessly for me. \r\n\r\nThanks for the incredible support @velvia . Your comments were really valuable!"}}
{"actor":{"display_login":"ReubenBorrison"}}