ZOOKEEPER-5037: Add export and import commands to the CLI#2375
ZOOKEEPER-5037: Add export and import commands to the CLI#2375ckrumbein wants to merge 3 commits intoapache:masterfrom
Conversation
PDavid
left a comment
There was a problem hiding this comment.
Many thanks for this contribution. These commands work really nicely. 👍
Added some minor comments / ideas.
|
Checkstyle identified some formatting problems in the build: https://ci-hadoop.apache.org/job/zookeeper-precommit-github-pr/job/PR-2375/1/console |
|
PDavid, thanks for your comments. I just incorporated your feedback. |
PDavid
left a comment
There was a problem hiding this comment.
Many thanks for these improvements. Looks good to me. 👍
|
Sorry, I need some help. This is my first Apache PR, and my changes have been approved. I want to merge this change, but I don't see any merge button. Is it because there are 3 workflows awaiting approval? If so, it says this workflow requires approval from a maintainer. |
anmolnar
left a comment
There was a problem hiding this comment.
So, basically these commands export and import the data of a single znode to and from a file. Why don't you just add this functionality to get and set commands?
I could have done it that way; after all, I created the export and import commands by copying the get and set commands. However, I was trying to follow the lead of the ZKUI app, which has separate commands for viewing a znode and downloading a znode to a file. It's really just a matter of preference. |
This PR adds two commands to the ZooKeeper CLI, export and import:
My team has been using both of these commands for some time. We are confident they are solid.