Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
15 lines (9 sloc) 791 Bytes

Instance {#concept_vpx_s3b_5db .concept}

This article introduces you to the MaxCompute task instance and its status.

In MaxCompute, most [tasks](reseller.en-US/User Guide/Definition/Task.md) are initiated in MaxCompute instances. MaxCompute instances can be in one of two phases:  Running and Terminated.

The status of the running phase is ‘Running’, while the status of the Terminated phase can be ‘Success’, ‘Failed’ or ‘Canceled’. You can query or change the status using the instance ID assigned by MaxCompute. For example:

status <instance_id>; --View the status of a certain instance.
            kill <instance_id>; --Stop an instance and set its status as ‘Canceled’.
            wait <instance_id>; --View the running logs of a certain instance.
You can’t perform that action at this time.