druid/docs/content/configuration
Gian Merlino 501dcb43fa Some changes that make it possible to restart tasks on the same hardware.
This is done by killing and respawning the jvms rather than reconnecting to existing
jvms, for a couple reasons. One is that it lets you restore tasks after server reboots
too, and another is that it lets you upgrade all the software on a box at once by just
restarting everything.

The main changes are,

1) Add "canRestore" and "stopGracefully" methods to Tasks that say if a task can
   stop gracefully, and actually do a graceful stop. RealtimeIndexTask is the only
   one that currently implements this.

2) Add "stop" method to TaskRunners that attempts to do an orderly shutdown.
   ThreadPoolTaskRunner- call stopGracefully on restorable tasks, wait for exit
   ForkingTaskRunner- close output stream to restorable tasks, wait for exit
   RemoteTaskRunner- do nothing special, we actually don't want to shutdown

3) Add "restore" method to TaskRunners that attempts to bootstrap tasks from last run.
   Only ForkingTaskRunner does anything here. It maintains a "restore.json" file with
   a list of restorable tasks.

4) Have the CliPeon's ExecutorLifecycle lock the task base directory to avoid a restored
   task and a zombie old task from stomping on each other.
2015-11-23 11:22:08 -08:00
..
broker.md Merge pull request #1850 from metamx/friendlyBardCache 2015-11-06 10:25:49 -08:00
caching.md enable query caching on intermediate realtime persists 2015-11-17 10:58:00 -08:00
coordinator.md Add count parameter to history endpoints. 2015-11-11 23:03:57 +01:00
hadoop.md shorten links and file names 2015-05-29 20:55:42 -05:00
historical.md Make PrioritizedExecutorService optionally FIFO 2015-10-27 14:16:22 -07:00
index.md enable query caching on intermediate realtime persists 2015-11-17 10:58:00 -08:00
indexing-service.md Some changes that make it possible to restart tasks on the same hardware. 2015-11-23 11:22:08 -08:00
logging.md Log all the requests to debug level in logger io.druid.jetty.RequestLog 2015-07-28 12:56:04 -05:00
production-cluster.md Fixes and more docs across many areas 2015-08-13 10:35:53 -07:00
realtime.md enable query caching on intermediate realtime persists 2015-11-17 10:58:00 -08:00
simple-cluster.md Fix configuration for javaOpts, remove quotation marks 2015-08-01 11:26:37 +08:00
zookeeper.md more docs for common questions 2015-08-25 17:49:04 -07:00