batch ingest task monitor and retry

Hi, about batch ingest task I have some questions:

  1. How to monitor batch task,I know one way is try to get status at http://overlord_ip:port/indexer/v1/task/${task_id}/status,this is pull method. Does has push method to “callback” other system to retry the ingest task or any other good practice ?
  2. Is there some fail msg to send to other monitor system to get the fail task?

Thanks.

See Inline

Hi, about batch ingest task I have some questions:

  1. How to monitor batch task,I know one way is try to get status at http://overlord_ip:port/indexer/v1/task/${task_id}/status,this is pull method. Does has push method to “callback” other system to retry the ingest task or any other good practice ?

No, there is no callback method right now for task status. you need to periodically poll the task status from overlord.

  1. Is there some fail msg to send to other monitor system to get the fail task?

Druid servers emit various metrics and alerts via Emitter. There should be an alert emitted for task failure also.

ok, thanks

在 2016年7月12日星期二 UTC+8下午2:41:06,Nishant Bangarwa写道: