Liang-Chi Hsieh created SPARK-3345:
--------------------------------------

             Summary: Do correct parameters for ShuffleFileGroup
                 Key: SPARK-3345
                 URL: https://issues.apache.org/jira/browse/SPARK-3345
             Project: Spark
          Issue Type: Bug
            Reporter: Liang-Chi Hsieh
            Priority: Minor


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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to