document how to check MM enabled/disabled (#3331)

This commit is contained in:
Himanshu 2016-08-05 16:56:51 -05:00 committed by Fangjin Yang
parent 1aae5bd67d
commit ed5b92d612
1 changed files with 2 additions and 1 deletions

View File

@ -49,7 +49,8 @@ even tasks that are not restorable.
To prepare a Middle Manager for update, send a POST request to To prepare a Middle Manager for update, send a POST request to
`<MiddleManager_IP:PORT>/druid/worker/v1/disable`. The Overlord will now no longer send tasks to `<MiddleManager_IP:PORT>/druid/worker/v1/disable`. The Overlord will now no longer send tasks to
this Middle Manager. Tasks that have already started will run to completion. this Middle Manager. Tasks that have already started will run to completion. Current state can be checked
using `<MiddleManager_IP:PORT>/druid/worker/v1/enabled` .
To view all existing tasks, send a GET request to `<MiddleManager_IP:PORT>/druid/worker/v1/tasks`. To view all existing tasks, send a GET request to `<MiddleManager_IP:PORT>/druid/worker/v1/tasks`.
When this list is empty, you can safely update the Middle Manager. After the Middle Manager starts When this list is empty, you can safely update the Middle Manager. After the Middle Manager starts