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

Yun Tang commented on FLINK-19594:
----------------------------------

This is caused by 
[job-checkpoints-subtask.component.html|https://github.com/apache/flink/blob/b5b30650291e470a9635aef5f1348690bba78b29/flink-runtime-web/web-dashboard/src/app/pages/job/checkpoints/subtask/job-checkpoints-subtask.component.html#L98]
 and 
[job-overview-drawer-backpressure.component.html|https://github.com/apache/flink/blob/b5b30650291e470a9635aef5f1348690bba78b29/flink-runtime-web/web-dashboard/src/app/pages/job/overview/backpressure/job-overview-drawer-backpressure.component.html#L61].
 However, this problem might be more historical as 
[TaskInfo#getTaskNameWithSubtasks|https://github.com/apache/flink/blob/b5b30650291e470a9635aef5f1348690bba78b29/flink-core/src/main/java/org/apache/flink/api/common/TaskInfo.java#L131]
 would return #getIndexOfThisSubtask() + 1 . Not sure whether this shown of web 
UI is correct to align with getTaskNameWithSubtasks, Maybe [~aljoscha] or 
[~vthinkxie] could help answer it.

> SubTasks start index don't unified and may confuse users
> --------------------------------------------------------
>
>                 Key: FLINK-19594
>                 URL: https://issues.apache.org/jira/browse/FLINK-19594
>             Project: Flink
>          Issue Type: Improvement
>            Reporter: zlzhang0122
>            Priority: Major
>         Attachments: BackPresures.png, Checkpoints.png, SubTasks.png
>
>
> In flink web ui page, subTasks index start from 0 in SubTasks tab while in 
> BackPressure tag start from 1, at the same time the subTasks index start from 
> 1 in Checkpoints page.I think this may confuse users and does there have some 
> design purpose ?



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to