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 github.com by Unknown author, 2 years ago
YarnSparkHadoopUtil is not available in non-YARN mode!
via Stack Overflow by aamirr
, 1 year ago
YarnSparkHadoopUtil is not available in non-YARN mode!
via GitHub by vijaykramesh
, 8 months ago
YarnSparkHadoopUtil is not available in non-YARN mode!
org.apache.spark.SparkException: YarnSparkHadoopUtil is not available in non-YARN mode!	at org.apache.spark.deploy.yarn.YarnSparkHadoopUtil$.get(YarnSparkHadoopUtil.scala:352)	at org.apache.spark.scheduler.cluster.YarnClientSchedulerBackend.stop(YarnClientSchedulerBackend.scala:152)	at org.apache.spark.scheduler.TaskSchedulerImpl.stop(TaskSchedulerImpl.scala:455)	at org.apache.spark.scheduler.DAGScheduler.stop(DAGScheduler.scala:1605)	at org.apache.spark.SparkContext$$anonfun$stop$8.apply$mcV$sp(SparkContext.scala:1798)	at org.apache.spark.util.Utils$.tryLogNonFatalError(Utils.scala:1287)	at org.apache.spark.SparkContext.stop(SparkContext.scala:1797)	at org.apache.spark.SparkContext.(SparkContext.scala:565)	at org.apache.spark.api.java.JavaSparkContext.(JavaSparkContext.scala:58)	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)	at py4j.reflection.MethodInvoker.invoke(MethodInvoker.java:240)	at py4j.reflection.ReflectionEngine.invoke(ReflectionEngine.java:357)	at py4j.Gateway.invoke(Gateway.java:236)	at py4j.commands.ConstructorCommand.invokeConstructor(ConstructorCommand.java:80)	at py4j.commands.ConstructorCommand.execute(ConstructorCommand.java:69)	at py4j.GatewayConnection.run(GatewayConnection.java:214)	at java.lang.Thread.run(Thread.java:745)