java.io.IOException: YarnSparkContextClient init failed

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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via GitHub by anayyar82
, 1 year ago
YarnSparkContextClient init failed
via GitHub by anayyar82
, 1 year ago
YarnSparkContextClient init failed
java.io.IOException: YarnSparkContextClient init failed
at org.apache.spark.sql.yarn.YarnSQLClient.start(YarnSQLClient.scala:136)
at org.apache.spark.sql.yarn.YarnSQLClient.(YarnSQLClient.scala:127)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at org.apache.spark.sql.client.JavaSparkSQLClient.liftedTree1$1(JavaSparkSQLClient.scala:23)
at org.apache.spark.sql.client.JavaSparkSQLClient.sparkContextClient$lzycompute(JavaSparkSQLClient.scala:19)
at org.apache.spark.sql.client.JavaSparkSQLClient.sparkContextClient(JavaSparkSQLClient.scala:19)
at org.apache.spark.sql.client.JavaSparkSQLClient.submitSql(JavaSparkSQLClient.scala:44)
at org.apache.spark.sql.client.JavaSparkSQLClient$.main(JavaSparkSQLClient.scala:194)
at org.apache.spark.sql.client.JavaSparkSQLClient.main(JavaSparkSQLClient.scala)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.apache.spark.deploy.SparkSubmit$.org$apache$spark$deploy$SparkSubmit$$runMain(SparkSubmit.scala:672)
at org.apache.spark.deploy.SparkSubmit$.doRunMain$1(SparkSubmit.scala:180)
at org.apache.spark.deploy.SparkSubmit$.submit(SparkSubmit.scala:205)
at org.apache.spark.deploy.SparkSubmit$.main(SparkSubmit.scala:120)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

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