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 Stack Overflow by aamirr
, 1 year ago
YarnSparkHadoopUtil is not available in non-YARN mode!
via github.com by Unknown author, 2 years ago
YarnSparkHadoopUtil is not available in non-YARN mode!
via GitHub by vijaykramesh
, 10 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.deploy.yarn.Client.prepareLocalResources(Client.scala:366)	at org.apache.spark.deploy.yarn.Client.createContainerLaunchContext(Client.scala:834)	at org.apache.spark.deploy.yarn.Client.submitApplication(Client.scala:167)	at org.apache.spark.scheduler.cluster.YarnClientSchedulerBackend.start(YarnClientSchedulerBackend.scala:56)	at org.apache.spark.scheduler.TaskSchedulerImpl.start(TaskSchedulerImpl.scala:149)	at org.apache.spark.SparkContext.(SparkContext.scala:497)	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)