Skip to content

[SPARK-3345] Do correct parameters for ShuffleFileGroup#2235

Closed
viirya wants to merge 1 commit intoapache:masterfrom
viirya:correct_shufflefilegroup_params
Closed

[SPARK-3345] Do correct parameters for ShuffleFileGroup#2235
viirya wants to merge 1 commit intoapache:masterfrom
viirya:correct_shufflefilegroup_params

Conversation

@viirya
Copy link
Member

@viirya viirya commented Sep 2, 2014

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

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.

@davies
Copy link
Contributor

davies commented Sep 3, 2014

@viirya Good catch, thanks!

Jenkins, test this please.

@andrewor14
Copy link
Contributor

ok to test. Great catch, and LGTM if tests pass (they should...)

@SparkQA
Copy link

SparkQA commented Sep 3, 2014

QA tests have started for PR 2235 at commit fe72567.

  • This patch merges cleanly.

@SparkQA
Copy link

SparkQA commented Sep 3, 2014

QA tests have finished for PR 2235 at commit fe72567.

  • This patch passes unit tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@asfgit asfgit closed this in 996b743 Sep 4, 2014
xiliu82 pushed a commit to xiliu82/spark that referenced this pull request Sep 4, 2014
In the method `newFileGroup` of class `FileShuffleBlockManager`, the parameters for creating new `ShuffleFileGroup` object is in wrong order.

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.

Author: Liang-Chi Hsieh <viirya@gmail.com>

Closes apache#2235 from viirya/correct_shufflefilegroup_params and squashes the following commits:

fe72567 [Liang-Chi Hsieh] Do correct parameters for ShuffleFileGroup.
asfgit pushed a commit that referenced this pull request Sep 9, 2014
In the method `newFileGroup` of class `FileShuffleBlockManager`, the parameters for creating new `ShuffleFileGroup` object is in wrong order.

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.

Author: Liang-Chi Hsieh <viirya@gmail.com>

Closes #2235 from viirya/correct_shufflefilegroup_params and squashes the following commits:

fe72567 [Liang-Chi Hsieh] Do correct parameters for ShuffleFileGroup.
@viirya viirya deleted the correct_shufflefilegroup_params branch December 27, 2023 18:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants