mirror of
https://github.com/wassname/ray.git
synced 2026-07-06 01:59:56 +08:00
[Dashboard] display actor status and infeasible tasks (#6652)
* expose actor status and protobuf message of infeasible tasks * move infeasible tasks into actor tree * add pytest for displaying infeasible tasks info * fix base64 decoding * fix race condition after #6629 merged
This commit is contained in:
committed by
Philipp Moritz
parent
895f2727fb
commit
8a0a30b5f0
+3
-1
@@ -328,6 +328,7 @@ class GlobalState(object):
|
||||
gcs_entries.entries[0])
|
||||
|
||||
actor_info = {
|
||||
"ActorID": binary_to_hex(actor_table_data.actor_id),
|
||||
"JobID": binary_to_hex(actor_table_data.job_id),
|
||||
"Address": {
|
||||
"IPAddress": actor_table_data.address.ip_address,
|
||||
@@ -337,7 +338,8 @@ class GlobalState(object):
|
||||
"IPAddress": actor_table_data.owner_address.ip_address,
|
||||
"Port": actor_table_data.owner_address.port
|
||||
},
|
||||
"IsDirectCall": actor_table_data.is_direct_call
|
||||
"IsDirectCall": actor_table_data.is_direct_call,
|
||||
"State": actor_table_data.state,
|
||||
}
|
||||
|
||||
return actor_info
|
||||
|
||||
Reference in New Issue
Block a user