2018-12-13 14:47:20 -05:00
---
layout: doc_page
title: "Tasks Overview"
---
2018-11-13 12:38:37 -05:00
<!--
~ Licensed to the Apache Software Foundation (ASF) under one
~ or more contributor license agreements. See the NOTICE file
~ distributed with this work for additional information
~ regarding copyright ownership. The ASF licenses this file
~ to you under the Apache License, Version 2.0 (the
~ "License"); you may not use this file except in compliance
~ with the License. You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing,
~ software distributed under the License is distributed on an
~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
~ KIND, either express or implied. See the License for the
~ specific language governing permissions and limitations
~ under the License.
-->
2018-09-04 15:54:41 -04:00
# Tasks Overview
2019-01-30 22:41:07 -05:00
Tasks are run on MiddleManagers and always operate on a single data source.
2018-09-04 15:54:41 -04:00
Tasks are submitted using POST requests to the Overlord. Please see [Overlord Task API ](../operations/api-reference.html#overlord-tasks ) for API details.
2015-05-05 17:07:32 -04:00
There are several different types of tasks.
2018-09-04 15:54:41 -04:00
## Segment Creation Tasks
2015-05-05 17:07:32 -04:00
2016-01-06 00:27:52 -05:00
### Hadoop Index Task
2018-09-04 15:54:41 -04:00
See [batch ingestion ](../ingestion/hadoop.html ).
2016-01-06 00:27:52 -05:00
2018-08-07 02:59:42 -04:00
### Native Index Tasks
2015-05-05 17:07:32 -04:00
2018-08-07 02:59:42 -04:00
Druid provides a native index task which doesn't need any dependencies on other systems.
See [native index tasks ](./native_tasks.html ) for more details.
2017-07-11 01:35:36 -04:00
2018-09-04 15:54:41 -04:00
### Kafka Indexing Tasks
2015-05-05 17:07:32 -04:00
2018-09-04 15:54:41 -04:00
Kafka Indexing tasks are automatically created by a Kafka Supervisor and are responsible for pulling data from Kafka streams. These tasks are not meant to be created/submitted directly by users. See [Kafka Indexing Service ](../development/extensions-core/kafka-ingestion.html ) for more details.
2015-05-05 17:07:32 -04:00
2018-09-04 15:54:41 -04:00
### Stream Push Tasks (Tranquility)
2015-05-05 17:07:32 -04:00
2018-09-04 15:54:41 -04:00
Tranquility Server automatically creates "realtime" tasks that receive events over HTTP using an [EventReceiverFirehose ](../ingestion/firehose.html#eventreceiverfirehose ). These tasks are not meant to be created/submitted directly by users. See [Tranquility Stream Push ](../ingestion/stream-push.html ) for more info.
2015-05-05 17:07:32 -04:00
2018-09-04 15:54:41 -04:00
## Compaction Tasks
2015-05-05 17:07:32 -04:00
2018-09-04 15:54:41 -04:00
Compaction tasks merge all segments of the given interval. Please see [Compaction ](../ingestion/compaction.html ) for details.
2016-01-06 00:27:52 -05:00
2018-09-04 15:54:41 -04:00
## Segment Merging Tasks
2015-05-05 17:07:32 -04:00
2018-09-04 15:54:41 -04:00
< div class = "note info" >
The documentation for the Append Task, Merge Task, and Same Interval Merge Task has been moved to < a href = "../ingestion/misc-tasks.html" > Miscellaneous Tasks< / a > .
2017-11-03 23:55:27 -04:00
< / div >
2018-09-04 15:54:41 -04:00
## Kill Task
2018-08-07 02:59:42 -04:00
2018-09-04 15:54:41 -04:00
Kill tasks delete all information about a segment and removes it from deep storage.
2018-08-07 02:59:42 -04:00
2018-09-04 15:54:41 -04:00
Please see [Deleting Data ](../ingestion/delete-data.html ) for details.
2018-08-07 02:59:42 -04:00
2018-09-04 15:54:41 -04:00
## Misc. Tasks
2018-08-07 02:59:42 -04:00
2018-09-04 15:54:41 -04:00
Please see [Miscellaneous Tasks ](../ingestion/misc-tasks.html ).
2018-08-07 02:59:42 -04:00
2018-09-04 15:54:41 -04:00
## Task Locking and Priority
2018-08-07 02:59:42 -04:00
2018-11-13 12:38:37 -05:00
Please see [Task Locking and Priority ](../ingestion/locking-and-priority.html ).