Dzeri96 opened a new pull request, #3597:
URL: https://github.com/apache/celeborn/pull/3597
<!--
Thanks for sending a pull request! Here are some tips for you:
- Make sure the PR title start w/ a JIRA ticket, e.g. '[CELEBORN-XXXX]
Your PR title ...'.
- Be sure to keep the PR description updated to reflect all changes.
- Please write your PR title to summarize what this PR proposes.
- If possible, provide a concise example to reproduce the issue for a
faster review.
-->
### What changes were proposed in this pull request?
1. Disks reported to the master on registration now include remote disks
(HDFS, S3, OSS)
2. Refactored method names to clarify difference between local and remote
disks.
3. Embedded disk type information into the enum.
4. Refactored unnecessarily complicated code in the slot assignment and
worker registration path.
### Why are the changes needed?
1. Before the first heartbeat, the master won't be able to assign slots from
the remote disks on the worker.
2. All other changes are in preparation for better support of remote disks.
### Does this PR resolve a correctness bug?
Yes
### Does this PR introduce _any_ user-facing change?
No
### How was this patch tested?
**Important**: I want help from the community on how to write tests for this.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]