[
https://issues.apache.org/jira/browse/FLINK-24375?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17420235#comment-17420235
]
Zhu Zhu commented on FLINK-24375:
---------------------------------
Thanks for reporting this! [~wanglijie95]
I think it's good to have this improvement so that users can distinguish the
RecordWriter threads of different subtasks in logs and jstacks.
I have assigned this ticket to you.
> The name of flush thread in RecordWriter should contain subtask index
> ---------------------------------------------------------------------
>
> Key: FLINK-24375
> URL: https://issues.apache.org/jira/browse/FLINK-24375
> Project: Flink
> Issue Type: Improvement
> Components: Runtime / Network
> Affects Versions: 1.14.0
> Reporter: Lijie Wang
> Assignee: Lijie Wang
> Priority: Minor
>
> Currently, the name of flush thread in RecordWriter does not contain subtask
> index, resulting in multiple threads with the same name on a single TM, which
> will confuse users.
> I think the "TaskInfo.getTaskNameWithSubtasks" should be used instead of
> "TaskInfo.getTaskName" in "StreamTask/BatchTask".
--
This message was sent by Atlassian Jira
(v8.3.4#803005)