This repository has been archived by the owner on Dec 20, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 22
Task Status Commands (OLAP)
JoeWinter edited this page Feb 20, 2015
·
9 revisions
[Table of Contents](https://github.com/dell-oss/Doradus/wiki/OLAP Databases: Table-of-Contents) | Previous | Next
OLAP REST Commands: Task Management Commands
Doradus OLAP applications use background tasks to perform data aging. These tasks execute automatically at their defined frequency. On multi-node clusters, Doradus ensures that each data-aging task is executed by only a single node at each scheduled occurrence. The following REST command is available to list the status of all known tasks:
GET /_tasks
This command returns a response such as the following:
<tasks>
<task name="Msgs/Message/data-aging">
<Executor>127.0.0.1</Executor>
<FinishTime>2015-02-11 14:12:32</FinishTime>
<StartTime>2015-02-11 14:12:32</StartTime>
<Status>Completed</Status>
</task>
<task name="OLAPEvents/*/data-aging">
<Executor>127.0.0.1</Executor>
<FinishTime>2015-02-11 14:11:31</FinishTime>
<StartTime>2015-02-11 14:11:31</StartTime>
<Status>Completed</Status>
</task>
<task name="Email/*/data-aging">
<Executor>127.0.0.1</Executor>
<FinishTime>2015-02-11 14:12:33</FinishTime>
<StartTime>2015-02-11 14:12:33</StartTime>
<Status>Completed</Status>
</task>
</tasks>
In JSON:
{"tasks": {
"Msgs/Message/data-aging": {
"Executor": "127.0.0.1",
"FinishTime": "2015-02-11 14:12:32",
"StartTime": "2015-02-11 14:12:32",
"Status": "Completed"
},
"OLAPEvents/*/data-aging": {
"Executor": "127.0.0.1",
"FinishTime": "2015-02-11 14:11:31",
"StartTime": "2015-02-11 14:11:31",
"Status": "Completed"
},
"Email/*/data-aging": {
"Executor": "127.0.0.1",
"FinishTime": "2015-02-11 14:12:33",
"StartTime": "2015-02-11 14:12:33",
"Status":"Completed"
}
}}
The status of each task is listed using the task name <application>/<table>/data-aging
. For OLAP applications, the <table>
name is “*”. The status, start time, and finish time is shown. The “Executor” is the IP address if the Doradus node that performed the task.
Technical Documentation
[Doradus OLAP Databases](https://github.com/dell-oss/Doradus/wiki/Doradus OLAP Databases)
- Architecture
- OLAP Database Overview
- OLAP Data Model
- Doradus Query Language (DQL)
- OLAP Object Queries
- OLAP Aggregate Queries
- OLAP REST Commands
- Architecture
- Spider Database Overview
- Spider Data Model
- Doradus Query Language (DQL)
- Spider Object Queries
- Spider Aggregate Queries
- Spider REST Commands
- [Installing and Running Doradus](https://github.com/dell-oss/Doradus/wiki/Installing and Running Doradus)
- [Deployment Guidelines](https://github.com/dell-oss/Doradus/wiki/Deployment Guidelines)
- [Doradus Configuration and Operation](https://github.com/dell-oss/Doradus/wiki/Doradus Configuration and Operation)
- [Cassandra Configuration and Operation](https://github.com/dell-oss/Doradus/wiki/Cassandra Configuration and Operation)