panbingkun commented on code in PR #39192: URL: https://github.com/apache/spark/pull/39192#discussion_r1056822038
########## core/src/main/protobuf/org/apache/spark/status/protobuf/store_types.proto: ########## @@ -390,3 +390,214 @@ message SQLExecutionUIData { repeated int64 stages = 11; map<int64, string> metric_values = 12; } + +message StageDataWrapper { + StageData info = 1; + repeated int64 job_ids = 2; + map<string, int64> locality = 3; +} + +message TaskData { + int64 task_id = 1; + int32 index = 2; + int32 attempt = 3; + int32 partition_id = 4; + int64 launch_time = 5; + optional int64 result_fetch_start = 6; + optional int64 duration = 7; + string executor_id = 8; + string host = 9; + string status = 10; + string task_locality = 11; + bool speculative = 12; + repeated AccumulableInfo accumulator_updates = 13; + optional string error_message = 14; + optional TaskMetrics task_metrics = 15; + map<string, string> executor_logs = 16; + int64 scheduler_delay = 17; + int64 getting_result_time = 18; +} + +message StageData { + enum StageStatus { + UNSPECIFIED = 0; + ACTIVE = 1; + COMPLETE = 2; + FAILED = 3; + PENDING = 4; + SKIPPED = 5; + } + + StageStatus status = 1; + int64 stage_id = 2; + int32 attempt_id = 3; + int32 num_tasks = 4; + int32 num_active_tasks = 5; + int32 num_complete_tasks = 6; + int32 num_failed_tasks = 7; + int32 num_killed_tasks = 8; + int32 num_completed_indices = 9; + + optional int64 submission_time = 10; + optional int64 first_task_launched_time = 11; + optional int64 completion_time = 12; + optional string failure_reason = 13; + + int64 executor_deserialize_time = 14; + int64 executor_deserialize_cpu_time = 15; + int64 executor_run_time = 16; + int64 executor_cpu_time = 17; + int64 result_size = 18; + int64 jvm_gc_time = 19; + int64 result_serialization_time = 20; + int64 memory_bytes_spilled = 21; + int64 disk_bytes_spilled = 22; + int64 peak_execution_memory = 23; + int64 input_bytes = 24; + int64 input_records = 25; + int64 output_bytes = 26; + int64 output_records = 27; + int64 shuffle_remote_blocks_fetched = 28; + int64 shuffle_local_blocks_fetched = 29; + int64 shuffle_fetch_wait_time = 30; + int64 shuffle_remote_bytes_read = 31; + int64 shuffle_remote_bytes_read_to_disk = 32; + int64 shuffle_local_bytes_read = 33; + int64 shuffle_read_bytes = 34; + int64 shuffle_read_records = 35; + int64 shuffle_write_bytes = 36; + int64 shuffle_write_time = 37; + int64 shuffle_write_records = 38; + + string name = 39; + optional string description = 40; + string details = 41; + string scheduling_pool = 42; + + repeated int64 rdd_ids = 43; + repeated AccumulableInfo accumulator_updates = 44; + map<int64, TaskData> tasks = 45; Review Comment: `optional map` is not supported by pb -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org