satishkotha opened a new pull request #1312: [HUDI-571] Add "compactions show archived" command to CLI URL: https://github.com/apache/incubator-hudi/pull/1312 ## What is the purpose of the pull request Add command to show archived compactions. This is useful for debugging historical timeline. ## Brief change log Follow up from https://github.com/apache/incubator-hudi/pull/1274 to list all archived compactions. Note that compactions are not being written to archive file, so this returns empty. If anyone have context why compactions are not being written to archive, let me know. ## Verify this pull request Manually verified the change by running CLI locally. Example output: ->compactions show all (verify that listing active timeline compactions work) ╔═════════════════════════╤═══════════╤═══════════════════════════════╗ ║ Compaction Instant Time │ State │ Total FileIds to be Compacted ║ ╠═════════════════════════╪═══════════╪═══════════════════════════════╣ ║ 20200208002351 │ INFLIGHT │ 5968 ║ ╟─────────────────────────┼───────────┼───────────────────────────────╢ ║ 20200208002335 │ COMPLETED │ 65 ║ ╟─────────────────────────┼───────────┼───────────────────────────────╢ ║ 20200207235341 │ COMPLETED │ 84 ║ ╟─────────────────────────┼───────────┼───────────────────────────────╢ ║ 20200207231819 │ COMPLETED │ 84 ║ ╟─────────────────────────┼───────────┼───────────────────────────────╢ ->compactions show archived ╔═════════════════════════╤═══════╤═══════════════════════════════╗ ║ Compaction Instant Time │ State │ Total FileIds to be Compacted ║ ╠═════════════════════════╧═══════╧═══════════════════════════════╣ ║ (empty) ║ ╚═════════════════════════════════════════════════════════════════╝ ## Committer checklist - [ ] Has a corresponding JIRA in PR title & commit - [ ] Commit message is descriptive of the change - [ ] CI is green - [ ] Necessary doc changes done or have another open PR - [ ] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.
---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
