[CELEBORN-2082] Add the log of excluded workers with high workloads
### What changes were proposed in this pull request? ### Why are the changes needed? When workers with higher workloads are excluded, the master does not have a clear log. ### Does this PR introduce _any_ user-facing change? No ### How was this patch tested? GA Closes #3391 from cxzl25/CELEBORN-2082. Authored-by: sychen <sychen@ctrip.com> Signed-off-by: SteNicholas <programgeek@163.com>
This commit is contained in:
parent
abd6233a50
commit
df0def6701
@ -294,7 +294,10 @@ public abstract class AbstractMetaManager implements IMetadataHandler {
|
||||
&& !conf.hasOssStorage())
|
||||
|| highWorkload)) {
|
||||
LOG.warn(
|
||||
"Worker {} (unhealthy disks num: {}) adds to excluded workers", worker, unhealthyDiskNum);
|
||||
"Worker {} (unhealthy disks num: {}, high workload: {}) adds to excluded workers",
|
||||
worker,
|
||||
unhealthyDiskNum,
|
||||
highWorkload);
|
||||
excludedWorkers.add(worker);
|
||||
} else if ((availableSlots.get() > 0
|
||||
|| conf.hasHDFSStorage()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user