You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Yang Jie (Jira)" <ji...@apache.org> on 2022/07/15 02:50:00 UTC

[jira] [Updated] (SPARK-39553) Failed to remove shuffle ${shuffleId} - null when using Scala 2.13

     [ https://issues.apache.org/jira/browse/SPARK-39553?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Yang Jie updated SPARK-39553:
-----------------------------
    Summary: Failed to remove shuffle ${shuffleId} - null when using Scala 2.13  (was: Failed to remove shuffle ${shuffleId} - null)

> Failed to remove shuffle ${shuffleId} - null when using Scala 2.13
> ------------------------------------------------------------------
>
>                 Key: SPARK-39553
>                 URL: https://issues.apache.org/jira/browse/SPARK-39553
>             Project: Spark
>          Issue Type: Sub-task
>          Components: Spark Core, SQL
>    Affects Versions: 3.4.0
>            Reporter: Yang Jie
>            Assignee: Yang Jie
>            Priority: Major
>             Fix For: 3.2.2, 3.4.0, 3.3.1
>
>
> test sql/core module using Scala 2.13 with maven , there are many log as follows,although these did not cause UTs failure
>  
> {code:java}
> 17:44:09.957 WARN org.apache.spark.storage.BlockManagerMaster: Failed to remove shuffle 87 - null
> java.lang.NullPointerException
> 	at org.apache.spark.MapOutputTrackerMaster.$anonfun$unregisterShuffle$1(MapOutputTracker.scala:882)
> 	at org.apache.spark.MapOutputTrackerMaster.$anonfun$unregisterShuffle$1$adapted(MapOutputTracker.scala:881)
> 	at scala.Option.foreach(Option.scala:437)
> 	at org.apache.spark.MapOutputTrackerMaster.unregisterShuffle(MapOutputTracker.scala:881)
> 	at org.apache.spark.storage.BlockManagerStorageEndpoint$$anonfun$receiveAndReply$1.$anonfun$applyOrElse$3(BlockManagerStorageEndpoint.scala:59)
> 	at scala.runtime.java8.JFunction0$mcZ$sp.apply(JFunction0$mcZ$sp.scala:17)
> 	at org.apache.spark.storage.BlockManagerStorageEndpoint.$anonfun$doAsync$1(BlockManagerStorageEndpoint.scala:89)
> 	at scala.concurrent.Future$.$anonfun$apply$1(Future.scala:678)
> 	at scala.concurrent.impl.Promise$Transformation.run(Promise.scala:467)
> 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
> 	at java.lang.Thread.run(Thread.java:748)
> 17:44:09.958 ERROR org.apache.spark.ContextCleaner: Error cleaning shuffle 94
> java.lang.NullPointerException
> 	at org.apache.spark.MapOutputTrackerMaster.$anonfun$unregisterShuffle$1(MapOutputTracker.scala:882)
> 	at org.apache.spark.MapOutputTrackerMaster.$anonfun$unregisterShuffle$1$adapted(MapOutputTracker.scala:881)
> 	at scala.Option.foreach(Option.scala:437)
> 	at org.apache.spark.MapOutputTrackerMaster.unregisterShuffle(MapOutputTracker.scala:881)
> 	at org.apache.spark.ContextCleaner.doCleanupShuffle(ContextCleaner.scala:241)
> 	at org.apache.spark.ContextCleaner.$anonfun$keepCleaning$3(ContextCleaner.scala:202)
> 	at org.apache.spark.ContextCleaner.$anonfun$keepCleaning$3$adapted(ContextCleaner.scala:195)
> 	at scala.Option.foreach(Option.scala:437)
> 	at org.apache.spark.ContextCleaner.$anonfun$keepCleaning$1(ContextCleaner.scala:195)
> 	at org.apache.spark.util.Utils$.tryOrStopSparkContext(Utils.scala:1432)
> 	at org.apache.spark.ContextCleaner.org$apache$spark$ContextCleaner$$keepCleaning(ContextCleaner.scala:189)
> 	at org.apache.spark.ContextCleaner$$anon$1.run(ContextCleaner.scala:79) {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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