Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[REMOTE-SHUFFLE-43] Read Partitions from Highly Compressed Map Status #49

Merged
merged 18 commits into from
Dec 14, 2021
Merged

[REMOTE-SHUFFLE-43] Read Partitions from Highly Compressed Map Status #49

merged 18 commits into from
Dec 14, 2021

Conversation

jiafuzha
Copy link
Collaborator

@jiafuzha jiafuzha commented Dec 3, 2021

What changes were proposed in this pull request?

The partition lengths in highly compressed map status is not accurate. We depended on the lengths to read data from partitions. It caused only partial data being read.

To fix the issue, we depend on the actual size returned from DAOS, if it's highly compressed map status, to judge if end of partition is reached. To maintain the perf, we read multiple partitions in parallel as much as possible whilst weigh on current partition so that reduce task experiences less I/O wait.

How was this patch tested?

It's tested with HiBench repartition. By adjusting the value of "spark.shuffle.minNumPartitionsToHighlyCompress", we can control if we use normal compressed map status or highly compressed map status.

@github-actions
Copy link

github-actions bot commented Dec 3, 2021

#43

@jiafuzha jiafuzha merged commit 55f143b into oap-project:master Dec 14, 2021
@jiafuzha jiafuzha deleted the ISSUE_43 branch December 14, 2021 07:36
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.

1 participant