clc snapshot
This command manages Jet job snapshots.
Usage:
clc snapshot [command] [flags]
clc snapshot delete
Deletes the given Jet job snapshot.
Usage:
clc snapshot delete [snapshot-name] [flags]
Parameters:
Parameter | Required | Description | Default |
---|---|---|---|
|
Required |
The snapshot to delete. |
clc job cancel
Cancels one or more Jet jobs.
Usage:
clc job cancel [job-ID/name, ...] [flags]
Parameters:
Parameter | Required | Description | Default |
---|---|---|---|
|
Required |
One or more Job IDs (UUID or integer) or job names. |
|
|
Optional |
Force cancelling the job. This is useful for cancelling suspended jobs. |
|
clc job list
Lists Jet jobs.
Usage:
clc job list [flags]
Parameters:
Parameter | Required | Description | Default |
---|---|---|---|
|
Optional |
Running SQL queries creates Jet jobs. This flags enables showing them in the list. |
|
|
Optional |
This flags enables showing user cancelled jobs in the list. |
|
Example output:
clc job list
09bb-6718-4902-0001 sample2 RUNNING 2023-04-20 06:06:52 -
09bb-6718-4900-0001 sample1 SUSPENDED 2023-04-20 06:06:45 -
clc job restart
Restarts one or more Jet jobs.
Usage:
clc job restart [job-ID/name, ...] [flags]
Parameters:
Parameter | Required | Description | Default |
---|---|---|---|
|
Required |
One or more Job IDs (UUID or integer) or job names. |
|
|
Optional |
Force restart the job. |
|
clc job resume
Resumes a suspended a Jet job.
Usage:
clc job resume [job-ID/name] [flags]
Parameters:
Parameter | Required | Description | Default |
---|---|---|---|
|
Required |
The Job with ID (UUID or integer) or with name to resume. |
clc job suspend
Suspends one or more Jet jobs.
Usage:
clc job suspend [job-ID/name, ...] [flags]
Parameters:
Parameter | Required | Description | Default |
---|---|---|---|
|
Required |
One or more Job IDs (UUID or integer) or job names. |
|
|
Optional |
Force suspend the job. |
|
clc job export-snapshot
Exports a snapshot from a Jet job. This feature requires Hazelcast Cloud or Hazelcast Enterprise.
Usage:
clc job export-snapshot [job-ID/name] [flags]
Parameters:
Parameter | Required | Description | Default |
---|---|---|---|
|
Optional |
If true, the job is cancelled after taking a snapshot. |
|
|
Optional |
Name of the snapshot. If not given, an auto-generated snapshot name is used. |
Auto-generated name |