ray.experimental.state.common.NodeState
ray.experimental.state.common.NodeState#
- class ray.experimental.state.common.NodeState(node_id: str, node_ip: str, state: typing_extensions.Literal[ALIVE, DEAD], node_name: str, resources_total: dict, start_time_ms: int, end_time_ms: int)[source]#
Bases:
ray.experimental.state.common.StateSchema
Node State
Below columns can be used for the
--filter
option.state
node_ip
node_id
node_name
Below columns are available only when
get
API is used,--detail
is specified through CLI, ordetail=True
is given to Python APIs.start_time_ms
end_time_ms
- node_id: str#
The id of the node.
- node_ip: str#
The ip address of the node.
- state: typing_extensions.Literal[ALIVE, DEAD]#
The state of the node.
ALIVE: The node is alive. DEAD: The node is dead.
- node_name: str#
The name of the node if it is given by the name argument.
- resources_total: dict#
The total resources of the node.
- start_time_ms: int#
The time when the node (raylet) starts.