diff --git a/python/ray/dashboard/dashboard.py b/python/ray/dashboard/dashboard.py index 6e5aa2f8d..c9a22bd6e 100644 --- a/python/ray/dashboard/dashboard.py +++ b/python/ray/dashboard/dashboard.py @@ -658,8 +658,8 @@ class RayletStats(threading.Thread): return {"status": "pending"} reply = self._profiling_stats[profiling_id] - if reply.stderr: - return {"status": "error", "error": reply.stderr} + if reply.std_err: + return {"status": "error", "error": reply.std_err} else: return {"status": "finished"} diff --git a/src/ray/protobuf/reporter.proto b/src/ray/protobuf/reporter.proto index d45c0f4db..b0bcc9ca4 100644 --- a/src/ray/protobuf/reporter.proto +++ b/src/ray/protobuf/reporter.proto @@ -29,9 +29,9 @@ message GetProfilingStatsReply { // Profiling stats. string profiling_stats = 1; // Standard output of the profiler process. - string stdout = 2; + string std_out = 2; // Standard error of the profiler process. - string stderr = 3; + string std_err = 3; } message ReportMetricsRequest {