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

Do correct parameters for ShuffleFileGroup

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.1.0
    • 1.2.0
    • Spark Core
    • None

    Description

      In the method newFileGroup of class FileShuffleBlockManager, the parameters for creating new ShuffleFileGroup object is in wrong order.

      Wrong: new ShuffleFileGroup(fileId, shuffleId, files)
      Corrent: new ShuffleFileGroup(shuffleId, fileId, files)

      Because in current codes, the parameters shuffleId and fileId are not used. So it doesn't cause problem now. However it should be corrected for readability and avoid future problem.

      Attachments

        Activity

          People

            viirya L. C. Hsieh
            viirya L. C. Hsieh
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: