apache / apache/uniffle

[FEATURE] Introduce dynamic disk selection for one partition in LOCALFILE

Open
#306 4 comments 0 reactions 0 assignees View on GitHub
help wanted
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

Introduce the dynamic disk selection for one partition in LOCALFILE, especially when some disks reached the high-watermark.

### Motivation

Currently, when mounting multiple disks in shuffle-server and using the MEMORY_LOCALFILE storage type, one app has a very large partition data and its selected disk reaches the high watermark, it will preserve the data into the memory. This will make some app hard to get the memory.

### Describe the solution

Maybe we should let the its partial big partition data store to the another disk.

### Additional context

_No response_

### Are you willing to submit PR?

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

Contributor guide

Open the contributing guide

Research direction

The issue names LOCALFILE, MEMORY_LOCALFILE, shuffle-server disks, and high-watermark handling but no files or tests. Start by tracing disk selection and high-watermark behavior for MEMORY_LOCALFILE; done means a large partition can place partial data on another disk instead of retaining it in memory when the selected disk reaches the watermark.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
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.