[autoscaler] Move command runners into separate file and clean up interface. (#9340)

* cleanup

* wip

* fix imports

* fix lint
This commit is contained in:
Eric Liang
2020-07-09 15:40:56 -07:00
committed by GitHub
parent 8a76f4cbb5
commit 09b9b81ea4
4 changed files with 467 additions and 410 deletions
+2 -1
View File
@@ -25,7 +25,8 @@ from ray.autoscaler.tags import TAG_RAY_NODE_TYPE, TAG_RAY_LAUNCH_CONFIG, \
TAG_RAY_NODE_NAME, NODE_TYPE_WORKER, NODE_TYPE_HEAD
from ray.ray_constants import AUTOSCALER_RESOURCE_REQUEST_CHANNEL
from ray.autoscaler.updater import NodeUpdaterThread, DockerCommandRunner
from ray.autoscaler.updater import NodeUpdaterThread
from ray.autoscaler.command_runner import DockerCommandRunner
from ray.autoscaler.log_timer import LogTimer
from ray.worker import global_worker