Mikhail Pochatkin created IGNITE-19521:
------------------------------------------

             Summary: Rework units list command 
                 Key: IGNITE-19521
                 URL: https://issues.apache.org/jira/browse/IGNITE-19521
             Project: Ignite
          Issue Type: New Feature
            Reporter: Mikhail Pochatkin


h3. List of units on the cluster or on the node

Prints out a list of all deployment units or of given deployment unit with 
identifier <deployment_unit_id> on the cluster or node and their status.

 

$ ignite3 unit list [<deployment_unit_id>] [--version 
<deployment_unit_version>]] [--node <node_id>]  [--status [UPLOADING[, DEPLOYED 
[, …]]]]

 

Output example:

 

| Unit             | Version | Status    |

| foo.example.job  | 1.0.0   | DEPLOYED  |

| foo.example.job  | 1.0.1  | DEPLOYED  |

| foo.example.job  | 1.0.2   | UPLOADING |

| foo.example.task | 1.0.0  | DEPLOYED  |

 

Options:
 * --version - filters out deployment unit by version (exact match assumed).
 * --node - defines target node.

--status - allows to filter out deployment units by given statuses.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to