You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Yuepeng Pan (Jira)" <ji...@apache.org> on 2026/07/16 02:37:00 UTC

[jira] [Commented] (FLINK-40118) Web dashboard: SubTask TimeLine shows "N - undefined" instead of the task endpoint

    [ https://issues.apache.org/jira/browse/FLINK-40118?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18096648#comment-18096648 ] 

Yuepeng Pan commented on FLINK-40118:
-------------------------------------

Merged into master(2.4.0) via: 6027adb70fb3168c3886fe65f133a69e53ce7f70

> Web dashboard: SubTask TimeLine shows "N - undefined" instead of the task endpoint
> ----------------------------------------------------------------------------------
>
>                 Key: FLINK-40118
>                 URL: https://issues.apache.org/jira/browse/FLINK-40118
>             Project: Flink
>          Issue Type: Bug
>          Components: Runtime / Web Frontend
>            Reporter: Purushottam Sinha
>            Priority: Minor
>              Labels: pull-request-available
>             Fix For: 2.4.0
>
>         Attachments: screenshot-1.png
>
>
> Problem                                                                                                                                                                                                        
>   The job Timeline tab's SubTask view labels each subtask bar 0 - undefined, 1 - undefined, etc. instead of showing the host/endpoint the subtask ran on. 
>                                                                                                             
> Evidence                                                                                                                                                                                                       
>   - flink-runtime-web/web-dashboard/src/app/pages/job/timeline/job-timeline.component.ts:135,141 builds the label as `${task.subtask} - ${task.host}`                                                            
>   - src/app/interfaces/job-timeline.ts:25 still declares the field as host: string, so TypeScript compiles clean while task.host is undefined at runtime                                                         
>   - Root cause is backend/frontend drift, not a day-one bug: host was valid when the dashboard was built in 2019 (dcd92958c58c). PR apache/flink#23465 (FLINK-33147, 2023-11-09) added endpoint alongside host, deprecating the latter. PR apache/flink#25436 (FLINK-36355, merged 2024-10-01, commit 0b4de216d98 "Remove deprecated host") then deleted host from the REST response entirely — that PR touched only backend Java classes and never updated the Angular frontend, so task.host has read undefined ever since                                                                                                                
>   - Confirmed still present on current master                                                                                                                                                                    
>                                                                                                                                                                                                                  
> Proposed fix                                                                                                                                                                                                   
>   - job-timeline.ts:25: host: string → endpoint: string                                                                                                                                                          
>   - job-timeline.component.ts:135,141: ${task.host} → ${task.endpoint}                                                                                                                                           
>                                                                                                                                                                                                                  
> Acceptance                                                                                                                                                                                                     
>   - SubTask TimeLine bars for a running job read N - localhost:PORT instead of N - undefined



--
This message was sent by Atlassian Jira
(v8.20.10#820010)