Ethereal-O opened a new pull request, #332:
URL: https://github.com/apache/incubator-hugegraph-computer/pull/332
## Purpose of the PR
- close #330
We would like to implement that when a new Worker is registered in the
Master, it can be directly assigned to the specified WorkerGroup through the
WorkerGroup name specified in the Worker configuration file.
## Main Changes
- Add worker_group configuration item to the default worker configuration
file.
- Worker loads the WorkerGroup configuration item from the configuration at
startup.
- Pass configuration items to the Master when SayHello.
- The Master uses the passed WorkerGroup configuration item in the
CreateWorker function to assign a Group to the Worker.
- Check configuration items in the CreateWorker function. And remind the
user when the data loaded from the object storage is different.
## Verifying these changes
- [ ] Trivial rework / code cleanup without any test coverage. (No Need)
- [ ] Already covered by existing tests, such as *(please modify tests
here)*.
- [ x ] Need tests and can be verified as follows.
- Need to verify if the scheduler assigns tasks correctly.
## Does this PR potentially affect the following parts?
<!-- DO NOT REMOVE THIS SECTION. CHECK THE PROPER BOX ONLY. -->
- [ ] Nope
- [ ] Dependencies (add/update license info) <!-- Don't forget to
add/update the info in "LICENSE" & "NOTICE" files (both in root & dist module)
-->
- [ x ] Modify configurations
- [ ] The public API
- [ ] Other affects (typed here)
## Documentation Status
<!-- DO NOT REMOVE THIS SECTION. CHECK THE PROPER BOX ONLY. -->
- [ x ] `Doc - TODO` <!-- Your PR changes impact docs and you will update
later -->
- [ ] `Doc - Done` <!-- Related docs have been already added or updated -->
- [ ] `Doc - No Need` <!-- Your PR changes don't impact/need docs -->
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]