学习记录7

来源:互联网 发布:大数据质量标准 编辑:程序博客网 时间:2024/06/11 22:36

关于一些linux代码的翻译

TASK_STAGING_VALUE

public static final int TASK_STAGING_VALUE
 Initial state. Framework status updates should not use.
 
TASK_STAGING = 6;
See Also:
Constant Field Values
TASK_STARTING_VALUE
public static final int TASK_STARTING_VALUE
 The task is being launched by the executor.
 
TASK_STARTING = 0;
See Also:
Constant Field Values
TASK_RUNNING_VALUE
public static final int TASK_RUNNING_VALUE

TASK_RUNNING = 1;


Constant Field Values
TASK_KILLING_VALUE
public static final int TASK_KILLING_VALUE
 NOTE: This should only be sent when the framework has
 the TASK_KILLING_STATE capability.
 
TASK_KILLING = 8;
See Also:
Constant Field Values
TASK_FINISHED_VALUE
public static final int TASK_FINISHED_VALUE
 The task finished successfully on its own without external interference.
 
TASK_FINISHED = 2;
See Also:
Constant Field Values
TASK_FAILED_VALUE
public static final int TASK_FAILED_VALUE
 TERMINAL: The task failed to finish successfully.
 
TASK_FAILED = 3;
See Also:
Constant Field Values
TASK_KILLED_VALUE
public static final int TASK_KILLED_VALUE
 TERMINAL: The task was killed by the executor.
 
TASK_KILLED = 4;
See Also:
Constant Field Values
TASK_ERROR_VALUE
public static final int TASK_ERROR_VALUE
 TERMINAL: The task description contains an error.
 
TASK_ERROR = 7;
See Also:
Constant Field Values
TASK_LOST_VALUE
public static final int TASK_LOST_VALUE
 In Mesos 1.3, this will only be sent when the framework does NOT
 opt-in to the PARTITION_AWARE capability.
 NOTE: This state is not always terminal. For example, tasks might
 transition from TASK_LOST to TASK_RUNNING or other states when a
 partitioned agent re-registers.
 
TASK_LOST = 5;
See Also:
Constant Field Values
TASK_DROPPED_VALUE
public static final int TASK_DROPPED_VALUE
 The task failed to launch because of a transient error. The
 task's executor never started running. Unlike TASK_ERROR, the
 task description is valid -- attempting to launch the task again
 may be successful.
 
TASK_DROPPED = 9;
See Also:
Constant Field Values
TASK_UNREACHABLE_VALUE
public static final int TASK_UNREACHABLE_VALUE
 The task was running on an agent that has lost contact with the
 master, typically due to a network failure or partition. The task
 may or may not still be running.
 
TASK_UNREACHABLE = 10;
See Also:
Constant Field Values
TASK_GONE_VALUE
public static final int TASK_GONE_VALUE
 The task is no longer running. This can occur if the agent has
 been terminated along with all of its tasks (e.g., the host that
 was running the agent was rebooted). It might also occur if the
 task was terminated due to an agent or containerizer error, or if
 the task was preempted by the QoS controller in an
 oversubscription scenario.
 
TASK_GONE = 11;
See Also:
Constant Field Values
TASK_GONE_BY_OPERATOR_VALUE
public static final int TASK_GONE_BY_OPERATOR_VALUE

 

The task was running on an agent that the master cannot contact;

 the operator has asserted that the agent has been shutdown, but
 this has not been directly confirmed by the master. If the
 operator is correct, the task is not running and this is a
 terminal state; if the operator is mistaken, the task may still
 be running and might return to RUNNING in the future.
 
TASK_GONE_BY_OPERATOR = 12;
See Also:
Constant Field Values
TASK_UNKNOWN_VALUE