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

Introduce rest APIs for dynamic disk online/offline #6

Open
wsry opened this issue Dec 6, 2021 · 0 comments
Open

Introduce rest APIs for dynamic disk online/offline #6

wsry opened this issue Dec 6, 2021 · 0 comments
Assignees

Comments

@wsry
Copy link
Collaborator

wsry commented Dec 6, 2021

Motivation

Based on the rest API, we can remove or add disk dynamically without restarting the cluster. For example, we can remove a bad disk or we can add more new disks.

Changes

New rest APIs need to be added together with the corresponding handler. In the handler, disks are removed from or added to the disk list. Both removing one disk from all ShuffleWorkers or removing one disk of a specific ShuffleWorker should be supported.

Test

  • Unit test.
  • Test manually on a cluster.
@wsry wsry self-assigned this Dec 20, 2021
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

No branches or pull requests

1 participant