Push a warning to all users when large number of workers have been started. (#3645)

* Push a warning to all users when large number of workers have been started.

* Add test.

* Fix bug.

* Give warning when worker starts instead of when worker registers.

* Fix

* Fix tests
This commit is contained in:
Robert Nishihara
2019-01-05 13:27:32 -08:00
committed by Philipp Moritz
parent 692fdc6bc3
commit 067976ad3d
5 changed files with 111 additions and 22 deletions
+1
View File
@@ -52,6 +52,7 @@ CHECKPOINT_PUSH_ERROR = "checkpoint"
REGISTER_ACTOR_PUSH_ERROR = "register_actor"
WORKER_CRASH_PUSH_ERROR = "worker_crash"
WORKER_DIED_PUSH_ERROR = "worker_died"
WORKER_POOL_LARGE_ERROR = "worker_pool_large"
PUT_RECONSTRUCTION_PUSH_ERROR = "put_reconstruction"
INFEASIBLE_TASK_ERROR = "infeasible_task"
REMOVED_NODE_ERROR = "node_removed"