You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by ni...@apache.org on 2020/09/30 11:21:06 UTC

[ignite] branch IGNITE-7595 updated: JOBS system view description added. (#8279)

This is an automated email from the ASF dual-hosted git repository.

nizhikov pushed a commit to branch IGNITE-7595
in repository https://gitbox.apache.org/repos/asf/ignite.git


The following commit(s) were added to refs/heads/IGNITE-7595 by this push:
     new d0ee837  JOBS system view description added. (#8279)
d0ee837 is described below

commit d0ee8379ccac26a0f065f7ab92e4578cd1410a69
Author: Nikolay <ni...@apache.org>
AuthorDate: Wed Sep 30 14:20:46 2020 +0300

    JOBS system view description added. (#8279)
---
 docs/_docs/monitoring-metrics/system-views.adoc | 46 ++++++++++++++++---------
 1 file changed, 29 insertions(+), 17 deletions(-)

diff --git a/docs/_docs/monitoring-metrics/system-views.adoc b/docs/_docs/monitoring-metrics/system-views.adoc
index b90726f..e9af526 100644
--- a/docs/_docs/monitoring-metrics/system-views.adoc
+++ b/docs/_docs/monitoring-metrics/system-views.adoc
@@ -171,6 +171,35 @@ be updating the thick client with task-related execution details.
 |USER_VERSION | string |  Task user version
 |===
 
+== JOBS - compute jobs
+
+This system view shows a list of compute jobs started by a node as part of a compute task.
+To view the status of the compute task refer to the TASKS system view.
+
+[{table_opts}]
+|===
+|NAME | TYPE |    DESCRIPTION
+|ID | UUID | Job ID
+|SESSION_ID | UUID | Session ID. Note, `SESSION_ID` equal to `TASKS.SESSION_ID` for the jobs that belong to the specific task
+|ORIGIN_NODE_ID | UUID | The id of the node that started the job
+|TASK_NAME | string | Name of the task
+|TASK_CLASSNAME | string | Class name of the task
+|AFFINITY_CACHE_IDS | string | Affinity cache ids
+|AFFINITY_PARTITION_ID | int | Partition id
+|CREATE_TIME | long | Create time
+|START_TIME | long | Start time
+|FINISH_TIME | long | Finish time
+|EXECUTOR_NAME | string | Name of the executor for task
+|IS_FINISHING | boolean | True if job finishing
+|IS_INTERNAL | boolean | True if job internal
+|IS_STARTED | boolean | True if job started
+|IS_TIMEDOUT | boolean | True if job timed out
+|STATE | string | Possible values: +
+`ACTIVE` - Job executing. +
+`PASSIVE` - Job is added to the execution queue. Please, see `CollisionSPI` for more details. +
+`CANCELED` - Job canceled.
+|===
+
 == SERVICES
 
 [{table_opts}]
@@ -340,23 +369,6 @@ This view exposes information about currently running scan queries.
 |===
 
 
-== SQL_QUERIES_HISTORY
-
-This view exposes information about SQL queries history.
-
-[{table_opts}]
-|===
-|NAME | TYPE |    DESCRIPTION
-|SCHEMA_NAME | string |  Schema name
-|SQL | string |  Query text
-|LOCAL | boolean | True if local only
-|EXECUTIONS | long |    Count of executions
-|FAILURES | long |    Count of failures
-|DURATION_MIN | long |    Minimal duration of execution
-|DURATION_MAX | long |    Maximum duration of execution
-|LAST_START_TIME | date |    Last execution date
-|===
-
 == CONTINUOUS_QUERIES
 
 This view exposes information about currently running continuous queries.