-
Notifications
You must be signed in to change notification settings - Fork 91
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[admin-tool] Metadata migration from source ZK to destination ZK (#1056)
* Implemented metadata migration from src zk to dest zk * Refactored test cases and resolved spotbugs * Added javadoc to ZkCopier class and moved cluster zk paths field to constants file * Implemented comments and refactored getVenicePaths() that takes in a list or a tree * Modified AdminTool command for metadata migration - Implemented optional arguments to build ZK clients with ZK SSL config files - Implemented more validation checks to copy over existing ZNode paths - Refactored test cases * Successful testing of metadata migration with ei zk server - fixed read and write data issues in ZkClient with help from Kai+Nisarg - removed unused test case * Added note to migrateVenicePaths() to ensure that destination zk is new or doesn't contain metadata that needs to be migrated * Addressed comments * Reverted to previous iteration with minor changes - Getting Venice-specific metadata from ZK client into a tree data structure - Then, used pathsTreeToList() to convert tree to list - Made source and destination ZK client SSL config files required arguments for metadata migration AdminTool command
- Loading branch information
Showing
7 changed files
with
294 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.