zhuzhurk opened a new pull request, #19898:
URL: https://github.com/apache/flink/pull/19898
## What is the purpose of the change
This change targets to improve the readability of task names displayed in
logs. The refined task name will be `<job vertex name>
{}(<subtaskIndex>+1/<vertex parallelism>) #<attemptNumber> (graph: <short
ExecutionGraphID>, vertex: <JobVertexID>) `.
It also unifies the task name displayed in logs, for example, currently all
these task name patterns can be seen in the logs of a job:
1. Source: Collection Source (1/1) (3b7bf6af49d4f8a5965b6789933756b7)
2. Source: Collection Source (1/1) (attempt #0) with attempt id
3b7bf6af49d4f8a5965b6789933756b7
3. Source: Collection Source (1/1)#0 (3b7bf6af49d4f8a5965b6789933756b7)
And we would unify all them to be like `Source: Collection Source (1/1) #0
(graph: 6d6f, vertex: bc764cd8ddf7a0cff126f51c16239658)`.
## Verifying this change
This change is manually verified by checking logs and web UI. The metrics
are also checked to ensure to not be affected.
## Does this pull request potentially affect one of the following parts:
- Dependencies (does it add or upgrade a dependency): (yes / **no**)
- The public API, i.e., is any changed class annotated with
`@Public(Evolving)`: (yes / **no**)
- The serializers: (yes / **no** / don't know)
- The runtime per-record code paths (performance sensitive): (yes / **no**
/ don't know)
- Anything that affects deployment or recovery: JobManager (and its
components), Checkpointing, Kubernetes/Yarn, ZooKeeper: (yes / **no** / don't
know)
- The S3 file system connector: (yes / **no** / don't know)
## Documentation
- Does this pull request introduce a new feature? (yes / **no**)
- If yes, how is the feature documented? (**not applicable** / docs /
JavaDocs / not documented)
--
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]