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 4 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. |
|
Add to that, we've been using the export and import commands internally for some time, and we don't want to change! |
|
Andor Molnár, do you agree with my comments? Are you willing to approve this change, or is there anything else you'd like to discuss? |
anmolnar
left a comment
There was a problem hiding this comment.
I approve the patch. Need another committer to merge it.
|
Andor Molnár, I'm confused. In your last comment, you said I need another committer to merge. This change has already been approved by you and by Dávid Paksy. Are you saying I need a third person to approve this change to merge? |
@PDavid is not a committer. (yet) |
Sorry for the confusion @ckrumbein. Indeed, I'm not a ZooKeeper committer, just a contributor for now. |
|
I see. How do I find another committer to approve my change? Is there a list of committers, or are there rules about how to reach out to them? |
|
I'm sorry for nagging about this. But I'm leaving my company at the end of this week, and it'll be very difficult for me to continue pursuing this after I leave. |
|
You don't need to pursue I think. You can drop an e-mail to dev@ and/or user@ mailing lists to get some attention. |
|
I've now addressed the latest feedback from Andor Molnár and Christopher Tubbs. |
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.