java.lang.NoClassDefFoundError: Could not initialize class org.apache.spark.deploy.yarn.YarnSparkHadoopUtil$ at org.apache.spark.deploy.yarn.ClientArguments.<init>(ClientArguments.scala:39) at org.apache.spark.scheduler.cluster.YarnClientSchedulerBackend.start(YarnClientSchedulerBackend.scala:54) at org.apache.spark.scheduler.TaskSchedulerImpl.start(TaskSchedulerImpl.scala:141) at org.apache.spark.SparkContext.<init>(SparkContext.scala:497) at com.nflabs.zeppelin.spark.SparkInterpreter.createSparkContext(SparkInterpreter.java:255) at com.nflabs.zeppelin.spark.SparkInterpreter.getSparkContext(SparkInterpreter.java:127) at com.nflabs.zeppelin.spark.SparkInterpreter.open(SparkInterpreter.java:373) at com.nflabs.zeppelin.interpreter.ClassloaderInterpreter.open(ClassloaderInterpreter.java:56) at com.nflabs.zeppelin.interpreter.LazyOpenInterpreter.open(LazyOpenInterpreter.java:51) at com.nflabs.zeppelin.interpreter.remote.RemoteInterpreterServer.open(RemoteInterpreterServer.java:145) at com.nflabs.zeppelin.interpreter.thrift.RemoteInterpreterService$Processor$open.getResult(RemoteInterpreterService.java:741) at com.nflabs.zeppelin.interpreter.thrift.RemoteInterpreterService$Processor$open.getResult(RemoteInterpreterService.java:726) at org.apache.thrift.ProcessFunction.process(ProcessFunction.java:39) at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:39) at org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:206)

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via incubator-zeppelin-users by Jongyoul Lee, 1 year ago
Could not initialize class org.apache.spark.deploy.yarn.YarnSparkHadoopUtil$ at org.apache.spark.deploy.yarn.ClientArguments.<init>(ClientArguments.scala:39) at org.apache.spark.scheduler.cluster.YarnClientSchedulerBackend.start
via cloudera.com by Unknown author, 1 year ago
org/apache/hive/hcatalog/streaming/RecordWriter at org.apache.flume.sink.hive.HiveSink.createSerializ er(HiveSink.java:220) at org.apache.flume.sink.hive.HiveSink.configure(Hive Sink.java:203) at
via Stack Overflow by k9yosh
, 2 years ago
javax/servlet/jsp/jstl/core/Config at com.sun.faces.application.view.JspViewHandlingStrategy.executePageToBuildView(JspViewHandlingStrategy.java:344) at com.sun.faces.application.view.JspViewHandlingStrategy.buildView
via Jenkins JIRA by bbonn, 1 year ago
Could not initialize class com.ibm.team.build.internal.hjplugin.rtc.BuildClient 00:00:00.562 at com.ibm.team.build.internal.hjplugin.rtc.RTCFacade.getBuildClient(RTCFacade.java:51) 00:00:00.562 at
via Jenkins JIRA by bbonn, 1 year ago
Could not initialize class com.ibm.team.build.internal.hjplugin.rtc.BuildClient 00:00:00.562 at com.ibm.team.build.internal.hjplugin.rtc.RTCFacade.getBuildClient(RTCFacade.java:51) 00:00:00.562 at
java.lang.NoClassDefFoundError: Could not initialize class org.apache.spark.deploy.yarn.YarnSparkHadoopUtil$ at org.apache.spark.deploy.yarn.ClientArguments.<init>(ClientArguments.scala:39) at org.apache.spark.scheduler.cluster.YarnClientSchedulerBackend.start(YarnClientSchedulerBackend.scala:54) at org.apache.spark.scheduler.TaskSchedulerImpl.start(TaskSchedulerImpl.scala:141) at org.apache.spark.SparkContext.<init>(SparkContext.scala:497) at com.nflabs.zeppelin.spark.SparkInterpreter.createSparkContext(SparkInterpreter.java:255) at com.nflabs.zeppelin.spark.SparkInterpreter.getSparkContext(SparkInterpreter.java:127) at com.nflabs.zeppelin.spark.SparkInterpreter.open(SparkInterpreter.java:373) at com.nflabs.zeppelin.interpreter.ClassloaderInterpreter.open(ClassloaderInterpreter.java:56) at com.nflabs.zeppelin.interpreter.LazyOpenInterpreter.open(LazyOpenInterpreter.java:51) at com.nflabs.zeppelin.interpreter.remote.RemoteInterpreterServer.open(RemoteInterpreterServer.java:145) at com.nflabs.zeppelin.interpreter.thrift.RemoteInterpreterService$Processor$open.getResult(RemoteInterpreterService.java:741) at com.nflabs.zeppelin.interpreter.thrift.RemoteInterpreterService$Processor$open.getResult(RemoteInterpreterService.java:726) at org.apache.thrift.ProcessFunction.process(ProcessFunction.java:39) at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:39) at org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:206)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Once, 10 months ago
Once, 2 months ago

Know the solutions? Share your knowledge to help other developers to debug faster.