[HUDI-9315] Add Hudi Timeline UI to aid debugging #13147
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Change Logs
Visualizing the timeline via console and finder/explorer is often challenging as files are often sorted via naming convention. With completion time thrown into completed instants, it makes grouping of instants even harder when looking at it via console.
Hence, a timeline visualizer can oftentimes make one able to understand the timeline better, especially for concurrent/long writes.
The timeline-ui page is accessible via
http://timeline_server__host:timeline_server__port/timeline
after starting the timeline service.Attached below is an example of how it looks like for now, functionalities are there, but it is a little rough:
Main page
The main page allow users to input the the table paths and the timeline will be visualised.
Hovering over instants
Hovering over the instant bars will show you additional details like duration an action took.
Selecting an instant
Since commit details are saved to the filesystem as avro binaries, the commit information are not easily readable. Selecting the commit/deltacommit will return the details in json format.
NOTE: only commit/deltacommits are supported for now.
Impact
Describe any public API or user-facing feature change or any performance impact.
Added 2 API endpoints on on the
/v2/hoodie/view
path and they are:Risk level (write none, low medium or high below)
None
Documentation Update
We do not have any documentations for timeline service, hence, i suppose no documentation changes are required.
Contributor's checklist