kunwp1 opened a new issue, #9590:
URL: https://github.com/apache/texera/issues/9590
### What happened?
In Execution History → Runtime Statistics, the "Total Data Processing Time
(s)", "Total Control Processing Time (s)", "Total Idle Time (s)" and "Number of
Workers" tabs draw no lines, even for a completed execution that has
statistics. The four tuple count and size tabs plot fine. On an execution with
1,730 stats rows, every point in the Number of Workers chart is `undefined`.
Root cause. `GET /api/executions/{wid}/stats/{eid}` returns
`dataProcessingTime`, `controlProcessingTime`, `idleTime` and `numWorkers`
(`WorkflowExecutionsResource.WorkflowRuntimeStatistics`), but the frontend
`WorkflowRuntimeStatistics` type and its two consumers read
`totalDataProcessingTime`, `totalControlProcessingTime`, `totalIdleTime` and
`numberOfWorkers`. The heat-map stats restore (`runtime-statistics-mapper.ts`)
reads the same names, so restored operators get no processing time and fall
back to one worker. The specs build rows with the frontend names, so they never
caught it.
This may be what #4152 reports.
### How to reproduce?
Run any workflow to completion → open its execution history (Admin →
Executions → history icon, or the Execution History panel in the workspace) →
click the Runtime Statistics icon on the execution → open the "Number of
Workers" or "Total Data Processing Time (s)" tab.
### Version/Branch
1.4.0-incubating-SNAPSHOT (main)
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]