apache / apache/uniffle

[FEATURE] Skip some servers if having multi servers for one partition

Open
#2,535 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
454
Forks
172
Avg merge
5d 17h
Merged PRs (30d)
5

Description

### Code of Conduct

- [x] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)

### Search before asking

- [x] I have searched in the [issues](https://github.com/apache/incubator-uniffle/issues?q=is%3Aissue) and found no similar issues.

### Describe the feature

If the partition reassign is activated, the single partition's data will be stored in the multi servers, that will make the client read side to retrieve these data from multi servers.

When the spark AQE is enabled and this job stage is optimized by the AQE rules, the task will skip the partial data from the mapId. For the LOAD_BALANCE mode of partition split, some mapIds data doesn't exist in some servers, we could skip it to speed up reading.

### Motivation

_No response_

### Describe the solution

_No response_

### Additional context

_No response_

### Are you willing to submit PR?

- [x] Yes I am willing to submit a PR!

Contributor guide

Open the contributing guide

Research direction

Start by tracing the client read path for partition reassignment and the LOAD_BALANCE mode, then inspect how Spark AQE affects mapId reads. Done means the client can skip servers where the requested mapId data is absent while still retrieving all available partition data correctly.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, spark
Domain
backend, distributed-systems
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.