Skip to content

Conversation

@offthewall123
Copy link

@offthewall123 offthewall123 commented Feb 2, 2021

What changes were proposed in this pull request?

Remove unused shuffleBlockResolver variable in SortShuffleWriter.

Why are the changes needed?

For better code understanding.

Does this PR introduce any user-facing change?

NO.

How was this patch tested?

End to End.

@offthewall123
Copy link
Author

@srowen @HeartSaVioR Please take a review, thanks.

import org.apache.spark.util.collection.ExternalSorter

private[spark] class SortShuffleWriter[K, V, C](
shuffleBlockResolver: IndexShuffleBlockResolver,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So, this is unused variable, @offthewall123 ?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, it's not used here, i think someone forget to remove this when separate this part logic to LocalDiskShuffleDataIO.

@dongjoon-hyun
Copy link
Member

ok to test

@github-actions github-actions bot added the CORE label Feb 2, 2021
@SparkQA
Copy link

SparkQA commented Feb 2, 2021

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/39347/

@SparkQA
Copy link

SparkQA commented Feb 2, 2021

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/39347/

@SparkQA
Copy link

SparkQA commented Feb 2, 2021

Test build #134767 has finished for PR 31433 at commit 12be68c.

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

Copy link
Member

@srowen srowen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems OK if it's really unused.

@HyukjinKwon HyukjinKwon changed the title [SPARK-34325][CORE] remove_shuffleBlockResolver_in_SortShuffleWriter [SPARK-34325][CORE] Remove unused shuffleBlockResolver variable inSortShuffleWriter Feb 3, 2021
@HyukjinKwon
Copy link
Member

Merged to master.

skestle pushed a commit to skestle/spark that referenced this pull request Feb 3, 2021
…tShuffleWriter

### What changes were proposed in this pull request?
Remove unused shuffleBlockResolver variable in SortShuffleWriter.

### Why are the changes needed?
For better code understanding.

### Does this PR introduce _any_ user-facing change?
NO.

### How was this patch tested?
End to End.

Closes apache#31433 from offthewall123/remove_shuffleBlockResolver_in_SortShuffleWriter.

Authored-by: offthewall123 <dingyu.xu@intel.com>
Signed-off-by: HyukjinKwon <gurwls223@apache.org>
domybest11 pushed a commit to domybest11/spark that referenced this pull request Jun 15, 2022
…tShuffleWriter

### What changes were proposed in this pull request?
Remove unused shuffleBlockResolver variable in SortShuffleWriter.

### Why are the changes needed?
For better code understanding.

### Does this PR introduce _any_ user-facing change?
NO.

### How was this patch tested?
End to End.

Closes apache#31433 from offthewall123/remove_shuffleBlockResolver_in_SortShuffleWriter.

Authored-by: offthewall123 <dingyu.xu@intel.com>
Signed-off-by: HyukjinKwon <gurwls223@apache.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants