Support Questions
Find answers, ask questions, and share your expertise
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

spark-worker is not starting

spark-worker is not starting

Expert Contributor

Hi, I've installed spark cdh 5.3 from packages and worker on one of the nodes not starting. It says:


Exception in thread "main" java.lang.NoClassDefFoundError: org/slf4j/impl/StaticLoggerBinder
at org.apache.spark.Logging$class.initializeLogging(Logging.scala:116)
at org.apache.spark.Logging$class.initializeIfNecessary(Logging.scala:107)
at org.apache.spark.Logging$class.log(Logging.scala:51)
at org.apache.spark.deploy.worker.Worker$.log(Worker.scala:470)
at org.apache.spark.deploy.worker.Worker$.main(Worker.scala:472)
at org.apache.spark.deploy.worker.Worker.main(Worker.scala)
Caused by: java.lang.ClassNotFoundException: org.slf4j.impl.StaticLoggerBinder
at Method)
at java.lang.ClassLoader.loadClass(
at sun.misc.Launcher$AppClassLoader.loadClass(
at java.lang.ClassLoader.loadClass(
... 6 more


What is missing? Why package-based installation could be broken? Where does spark keep its jars?

Don't have an account?
Coming from Hortonworks? Activate your account here