[ 
https://issues.apache.org/jira/browse/FLINK-41308?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Robert Metzger resolved FLINK-41308.
------------------------------------
    Fix Version/s: 2.4.0
       Resolution: Fixed

Merged to master in 
https://github.com/apache/flink/commit/efb58c508a9aedf7346b28f5c33a971d056c4a39

> Web dashboard: TaskManager Metrics "Netty Shuffle Buffers" Available/Total 
> are always blank
> -------------------------------------------------------------------------------------------
>
>                 Key: FLINK-41308
>                 URL: https://issues.apache.org/jira/browse/FLINK-41308
>             Project: Flink
>          Issue Type: Bug
>          Components: Runtime / Web Frontend
>    Affects Versions: 2.0.0, 2.1.0, 2.2.0, 2.3.0
>            Reporter: Purushottam Sinha
>            Assignee: Purushottam Sinha
>            Priority: Minor
>              Labels: pull-request-available
>             Fix For: 2.4.0
>
>
> *Problem*
> Since 2.0.0, the Available and Total cells in the TaskManager Metrics page's 
> Netty Shuffle Buffers table are empty. Users can't see shuffle buffer counts 
> in the UI.
> *Evidence*
> * {{task-manager-metrics.component.html:258,262}} reads 
> {{metrics.memorySegmentsAvailable}} / {{memorySegmentsTotal}}. FLINK-36355 
> removed both fields from {{TaskManagerMetricsInfo}}. REST now returns 
> {{nettyShuffleMemorySegmentsAvailable}} / {{Used}} / {{Total}} instead.
> * On master with a standalone cluster, {{GET /taskmanagers/<id>}} returns 
> 4096/4096 while both UI cells are blank.
> * The tests didn't catch this because the spec mock still uses the old field 
> names. FLINK-36355 removed the old fields from {{interfaces/task-manager.ts}} 
> but didn't add the new ones.
> *Proposed fix*
> * Read {{nettyShuffleMemorySegmentsAvailable}} / 
> {{nettyShuffleMemorySegmentsTotal}} in the template.
> * Add both fields to the {{Metrics}} interface in 
> {{interfaces/task-manager.ts}}.
> * Update the spec mock and add a test that checks the rendered counts.
> *Acceptance*
> * The TM Metrics page shows the same Available/Total values as {{GET 
> /taskmanagers/<id>}}.
> * The new spec test fails without the template fix and passes with it.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to