incubator-uniffle icon indicating copy to clipboard operation
incubator-uniffle copied to clipboard

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

Open zuston opened this issue 3 years ago • 4 comments

Code of Conduct

Search before asking

  • [X] I have searched in the issues 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!

zuston avatar Nov 07 '22 05:11 zuston

If you use MEMORY_LOCALFILE_HDFS, it won't be a big problem.

jerqi avatar Nov 07 '22 06:11 jerqi

If you use MEMORY_LOCALFILE_HDFS, it won't be a big problem.

Yes. This is an optional solution.

zuston avatar Nov 07 '22 06:11 zuston

Actually we ever use raid disk to solve this problem when we only have localfile mode.

jerqi avatar Nov 07 '22 14:11 jerqi

@jerqi As the raid disk has been tested and shown that there is performance degradation while using raid0/LVM. I will pick this issue up to implement a multiply disk store approach for one partition.

maobaolong avatar Nov 16 '24 14:11 maobaolong