ysymi opened a new pull request #17698:
URL: https://github.com/apache/flink/pull/17698
## What is the purpose of the change
This pull request add log's **last modified time** in taskmanager log list
view and jobmanager log list view, it will help us to choose correct log file
and analyse problem exactly and quickly.
## Brief change log
- add `mtime` field in class `LogInfo` and put log file's last modified
time into rest api's response
- show `Last Modified Time` in TaskManager's log list view and
JobManager's log list view (support sort)
## Verifying this change
This change is already covered by existing tests:
-
org.apache.flink.runtime.rest.handler.cluster.JobManagerLogListHandlerTest#testGetJobManagerLogsList
-
org.apache.flink.runtime.rest.handler.taskmanager.TaskManagerLogListHandlerTest#testGetTaskManagerLogsList
-
org.apache.flink.runtime.rest.messages.taskmanager.LogListInfoTest#getTestResponseInstance
I filled mtime's value and pass these testcase.
## Does this pull request potentially affect one of the following parts:
- Dependencies (does it add or upgrade a dependency): no
- The public API, i.e., is any changed class annotated with
`@Public(Evolving)`: no
- The serializers: no
- The runtime per-record code paths (performance sensitive): no
- Anything that affects deployment or recovery: JobManager (and its
components), Checkpointing, Kubernetes/Yarn, ZooKeeper: no
- The S3 file system connector: no
## Documentation
- Does this pull request introduce a new feature? no
--
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]