You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Attila Zsolt Piros (Jira)" <ji...@apache.org> on 2022/06/14 22:23:00 UTC

[jira] [Created] (SPARK-39473) NullPointerException in SparkRackResolver

Attila Zsolt Piros created SPARK-39473:
------------------------------------------

             Summary: NullPointerException in SparkRackResolver 
                 Key: SPARK-39473
                 URL: https://issues.apache.org/jira/browse/SPARK-39473
             Project: Spark
          Issue Type: Improvement
          Components: YARN
    Affects Versions: 3.2.1, 3.2.0, 3.1.2, 3.1.1, 3.1.0, 3.0.3, 3.0.2, 3.0.1, 3.0.0, 2.4.8
            Reporter: Attila Zsolt Piros
            Assignee: Attila Zsolt Piros


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

{noformat}
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)
{noformat}




--
This message was sent by Atlassian Jira
(v8.20.7#820007)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org