2015-05-05 17:07:32 -04:00
|
|
|
---
|
|
|
|
layout: doc_page
|
|
|
|
---
|
|
|
|
|
|
|
|
Peons
|
|
|
|
-----
|
|
|
|
|
2015-05-28 20:10:34 -04:00
|
|
|
For Peon Configuration, see [Peon Configuration](../configuration/indexing-service.html).
|
2015-05-05 17:07:32 -04:00
|
|
|
|
|
|
|
Peons run a single task in a single JVM. MiddleManager is responsible for creating Peons for running tasks.
|
|
|
|
Peons should rarely (if ever for testing purposes) be run on their own.
|
|
|
|
|
|
|
|
Running
|
|
|
|
-------
|
|
|
|
|
|
|
|
The peon should very rarely ever be run independent of the middle manager unless for development purposes.
|
|
|
|
|
|
|
|
```
|
|
|
|
io.druid.cli.Main internal peon <task_file> <status_file>
|
|
|
|
```
|
|
|
|
|
|
|
|
The task file contains the task JSON object.
|
|
|
|
The status file indicates where the task status will be output.
|
2018-08-09 16:27:42 -04:00
|
|
|
|
|
|
|
HTTP Endpoints
|
|
|
|
--------------
|
|
|
|
|
|
|
|
For a list of API endpoints supported by the Peon, please see the [API reference](../operations/api-reference.html#peon).
|