Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-39473

NullPointerException in SparkRackResolver

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Invalid
    • 2.4.8, 3.0.0, 3.0.1, 3.0.2, 3.0.3, 3.1.0, 3.1.1, 3.1.2, 3.2.0, 3.2.1
    • None
    • YARN
    • None

    Description

      When the underlying DNSToSwitchMapping's resolver returns a null we get a NullPointerException:

      22/05/24 08:12:12 980 ERROR DAGSchedulerEventProcessLoop: DAGSchedulerEventProcessLoop failed; shutting down SparkContext
      java.lang.NullPointerException
      	at scala.collection.convert.Wrappers$JListWrapper.isEmpty(Wrappers.scala:87)
      	at org.apache.spark.deploy.yarn.SparkRackResolver.coreResolve(SparkRackResolver.scala:76)
      

      Attachments

        Activity

          People

            attilapiros Attila Zsolt Piros
            attilapiros Attila Zsolt Piros
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: