org.apache.spark.SparkException

If you like a tip written by other Samebug users, mark is as helpful! Marks help our algorithm provide you better solutions and also help other users.
tip

Change the queue name to hadoop

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • Running first program in Spark
    via Stack Overflow by vinoth A N
    ,
  • Spark on Yarn client run with errors
    via Stack Overflow by cherah30
    ,
  • Where can I set the spark.eventLog.enabled?
    via Stack Overflow by A.Dumas
    ,
  • Setting spark.driver.memory on SparkSession
    via Stack Overflow by user1710158
    ,
  • Cannot connect to YARN cluster
    via Stack Overflow by Shubham Bajpai
    ,
    • org.apache.spark.SparkException: Yarn application has already ended! It might have been killed or unable to launch application master. at org.apache.spark.scheduler.cluster.YarnClientSchedulerBackend.waitForApplication(YarnClientSchedulerBackend.scala:85) at org.apache.spark.scheduler.cluster.YarnClientSchedulerBackend.start(YarnClientSchedulerBackend.scala:62) at org.apache.spark.scheduler.TaskSchedulerImpl.start(TaskSchedulerImpl.scala:156) at org.apache.spark.SparkContext.<init>(SparkContext.scala:509) at org.apache.spark.SparkContext$.getOrCreate(SparkContext.scala:2313) at org.apache.spark.sql.SparkSession$Builder$$anonfun$6.apply(SparkSession.scala:868) at org.apache.spark.sql.SparkSession$Builder$$anonfun$6.apply(SparkSession.scala:860) at scala.Option.getOrElse(Option.scala:121) at org.apache.spark.sql.SparkSession$Builder.getOrCreate(SparkSession.scala:860) at org.apache.spark.repl.Main$.createSparkSession(Main.scala:95)

    Users with the same issue

    rafalg
    3 times, last one,
    rp
    1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor2 times, last one,
    Unknown visitor1 times, last one,
    1 more bugmates