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

Remove the defensive null check added in SPARK-39553.

    XMLWordPrintableJSON

Details

    Description

      def unregisterShuffle(shuffleId: Int): Unit = {
          shuffleStatuses.remove(shuffleId).foreach { shuffleStatus =>
            // SPARK-39553: Add protection for Scala 2.13 due to https://github.com/scala/bug/issues/12613
            // We should revert this if Scala 2.13 solves this issue.
            if (shuffleStatus != null) {
              shuffleStatus.invalidateSerializedMapOutputStatusCache()
              shuffleStatus.invalidateSerializedMergeOutputStatusCache()
            }
          }
        } 

      This issue has been fixed in Scala 2.13.9.

      Attachments

        Issue Links

          Activity

            People

              LuciferYang Yang Jie
              LuciferYang Yang Jie
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: