java.io.IOException: YarnSparkContextClient init failed

GitHub | anayyar82 | 9 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    GitHub comment 2#235949242

    GitHub | 9 months ago | anayyar82
    java.io.IOException: YarnSparkContextClient init failed
  2. 0

    GitHub comment 2#235939335

    GitHub | 9 months ago | anayyar82
    java.io.IOException: YarnSparkContextClient init failed
  3. 0

    HiBench spark run.sh issue

    GitHub | 2 months ago | kkuser
    java.lang.NoSuchMethodError: scala.reflect.api.JavaUniverse.runtimeMirror(Ljava/lang/ClassLoader;)Lscala/reflect/api/JavaMirrors$JavaMirror;
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      org.apache.spark.rpc.RpcEnv$.create$default$6()Z

      at org.apache.spark.sql.yarn.YarnSQLClient.start()
    2. org.apache.spark
      YarnSQLClient.<init>
      1. org.apache.spark.sql.yarn.YarnSQLClient.start(YarnSQLClient.scala:136)
      2. org.apache.spark.sql.yarn.YarnSQLClient.<init>(YarnSQLClient.scala:127)
      2 frames
    3. Java RT
      Constructor.newInstance
      1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
      3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      4. java.lang.reflect.Constructor.newInstance(Constructor.java:422)
      4 frames
    4. org.apache.spark
      JavaSparkSQLClient.main
      1. org.apache.spark.sql.client.JavaSparkSQLClient.liftedTree1$1(JavaSparkSQLClient.scala:23)
      2. org.apache.spark.sql.client.JavaSparkSQLClient.sparkContextClient$lzycompute(JavaSparkSQLClient.scala:19)
      3. org.apache.spark.sql.client.JavaSparkSQLClient.sparkContextClient(JavaSparkSQLClient.scala:19)
      4. org.apache.spark.sql.client.JavaSparkSQLClient.submitSql(JavaSparkSQLClient.scala:44)
      5. org.apache.spark.sql.client.JavaSparkSQLClient$.main(JavaSparkSQLClient.scala:194)
      6. org.apache.spark.sql.client.JavaSparkSQLClient.main(JavaSparkSQLClient.scala)
      6 frames
    5. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:497)
      4 frames
    6. Spark
      SparkSubmit.main
      1. org.apache.spark.deploy.SparkSubmit$.org$apache$spark$deploy$SparkSubmit$$runMain(SparkSubmit.scala:672)
      2. org.apache.spark.deploy.SparkSubmit$.doRunMain$1(SparkSubmit.scala:180)
      3. org.apache.spark.deploy.SparkSubmit$.submit(SparkSubmit.scala:205)
      4. org.apache.spark.deploy.SparkSubmit$.main(SparkSubmit.scala:120)
      5. org.apache.spark.deploy.SparkSubmit.main(SparkSubmit.scala)
      5 frames