[jira] Commented: (ZOOKEEPER-496) zookeeper-tree utility for export, import and incremental updates
[ https://issues.apache.org/jira/browse/ZOOKEEPER-496?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12800474#action_12800474 ] Hudson commented on ZOOKEEPER-496: -- Integrated in ZooKeeper-trunk #665 (See [http://hudson.zones.apache.org/hudson/job/ZooKeeper-trunk/665/]) > zookeeper-tree utility for export, import and incremental updates > - > > Key: ZOOKEEPER-496 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-496 > Project: Zookeeper > Issue Type: New Feature > Components: contrib > Environment: RHEL 4.6, libxml2 >Reporter: Anirban Roy >Assignee: Anirban Roy > Fix For: 3.3.0 > > Attachments: zktreeutil.patch, zktreeutil_2.patch > > Original Estimate: 168h > Remaining Estimate: 168h > > == > zktreeutil - Zookeeper Tree Data Utility > Author: Anirban Roy > Organization: Yahoo Inc. > == > zktreeutil program is intended to manage and manipulate zk-tree data quickly, > effi- > ciently and with ease. The utility operates on free-form ZK-tree and hence > can be used > for any cluster managed by Zookeeper. Here are the basic functionalities - > EXPORT: The whole/partial ZK-tree is exported into a XML file. This helps in > capturing a current snapshot of the data for backup/analysis. For a subtree > export, one need to specify the path to the ZK-subtree with proper option. > IMPORT: The ZK-tree can be imported from XML into ZK cluster. This helps in > priming > the new ZK cluster with static configuration. The import can be non-intrusive > by > making only the additions in the existing data. The import of subtree is also > possible by optionally providing the path to the ZK-subtree. > DIFF: Creates a diff between live ZK data vs data saved in XML file. Diff can > ignore > some ZK-tree branches (possibly dynamic data) on reading the optional ignore > flag > from XML file. Diffing on a ZK-subtree achieved by providing path to > ZK-subtree with > diff command. > UPDATE: Make the incremental changes into the live ZK-tree from saved XML, > essentia- > lly after running the diff. > DUMP: Dumps the ZK-tree on the standard output device reading either from > live ZK > server or XML file. Like export, ZK-subtree can be dumped with optionaly > providing the path to the ZK-subtree, and till a certain depth of the > (sub)tree. > The exported ZK data into XML file can be shortened by only keeping the > static ZK > nodes which are required to prime a cluster. The dynamic zk nodes (created > on-the- > fly) can be ignored by setting a 'ignore' attribute at the root node of the > dynamic > subtree (see tests/zk_sample.xml), possibly deleting all inner ZK nodes under > that. > Once ignored, the whole subtree is ignored during DIFF, UPDATE and WRITE. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (ZOOKEEPER-496) zookeeper-tree utility for export, import and incremental updates
[ https://issues.apache.org/jira/browse/ZOOKEEPER-496?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12799362#action_12799362 ] Hadoop QA commented on ZOOKEEPER-496: - -1 overall. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12430037/zktreeutil_2.patch against trunk revision 896800. +1 @author. The patch does not contain any @author tags. +1 tests included. The patch appears to include 3 new or modified tests. +1 javadoc. The javadoc tool did not generate any warning messages. +1 javac. The applied patch does not increase the total number of javac compiler warnings. +1 findbugs. The patch does not introduce any new Findbugs warnings. -1 release audit. The applied patch generated 207 release audit warnings (more than the trunk's current 200 warnings). +1 core tests. The patch passed core unit tests. +1 contrib tests. The patch passed contrib unit tests. Test results: http://hudson.zones.apache.org/hudson/job/Zookeeper-Patch-h8.grid.sp2.yahoo.net/102/testReport/ Release audit warnings: http://hudson.zones.apache.org/hudson/job/Zookeeper-Patch-h8.grid.sp2.yahoo.net/102/artifact/trunk/patchprocess/releaseAuditDiffWarnings.txt Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Zookeeper-Patch-h8.grid.sp2.yahoo.net/102/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html Console output: http://hudson.zones.apache.org/hudson/job/Zookeeper-Patch-h8.grid.sp2.yahoo.net/102/console This message is automatically generated. > zookeeper-tree utility for export, import and incremental updates > - > > Key: ZOOKEEPER-496 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-496 > Project: Zookeeper > Issue Type: New Feature > Components: contrib > Environment: RHEL 4.6, libxml2 >Reporter: Anirban Roy >Assignee: Anirban Roy > Fix For: 3.3.0 > > Attachments: zktreeutil.patch, zktreeutil_2.patch > > Original Estimate: 168h > Remaining Estimate: 168h > > == > zktreeutil - Zookeeper Tree Data Utility > Author: Anirban Roy > Organization: Yahoo Inc. > == > zktreeutil program is intended to manage and manipulate zk-tree data quickly, > effi- > ciently and with ease. The utility operates on free-form ZK-tree and hence > can be used > for any cluster managed by Zookeeper. Here are the basic functionalities - > EXPORT: The whole/partial ZK-tree is exported into a XML file. This helps in > capturing a current snapshot of the data for backup/analysis. For a subtree > export, one need to specify the path to the ZK-subtree with proper option. > IMPORT: The ZK-tree can be imported from XML into ZK cluster. This helps in > priming > the new ZK cluster with static configuration. The import can be non-intrusive > by > making only the additions in the existing data. The import of subtree is also > possible by optionally providing the path to the ZK-subtree. > DIFF: Creates a diff between live ZK data vs data saved in XML file. Diff can > ignore > some ZK-tree branches (possibly dynamic data) on reading the optional ignore > flag > from XML file. Diffing on a ZK-subtree achieved by providing path to > ZK-subtree with > diff command. > UPDATE: Make the incremental changes into the live ZK-tree from saved XML, > essentia- > lly after running the diff. > DUMP: Dumps the ZK-tree on the standard output device reading either from > live ZK > server or XML file. Like export, ZK-subtree can be dumped with optionaly > providing the path to the ZK-subtree, and till a certain depth of the > (sub)tree. > The exported ZK data into XML file can be shortened by only keeping the > static ZK > nodes which are required to prime a cluster. The dynamic zk nodes (created > on-the- > fly) can be ignored by setting a 'ignore' attribute at the root node of the > dynamic > subtree (see tests/zk_sample.xml), possibly deleting all inner ZK nodes under > that. > Once ignored, the whole subtree is ignored during DIFF, UPDATE and WRITE. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (ZOOKEEPER-496) zookeeper-tree utility for export, import and incremental updates
[ https://issues.apache.org/jira/browse/ZOOKEEPER-496?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12799291#action_12799291 ] Benjamin Reed commented on ZOOKEEPER-496: - looks good anirban. sorry to be such a pain about this, but you still have tabs in the code. you need to be using spaces instead of tabs. > zookeeper-tree utility for export, import and incremental updates > - > > Key: ZOOKEEPER-496 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-496 > Project: Zookeeper > Issue Type: New Feature > Components: contrib > Environment: RHEL 4.6, libxml2 >Reporter: Anirban Roy >Assignee: Anirban Roy > Fix For: 3.3.0 > > Attachments: zktreeutil.patch > > Original Estimate: 168h > Remaining Estimate: 168h > > == > zktreeutil - Zookeeper Tree Data Utility > Author: Anirban Roy > Organization: Yahoo Inc. > == > zktreeutil program is intended to manage and manipulate zk-tree data quickly, > effi- > ciently and with ease. The utility operates on free-form ZK-tree and hence > can be used > for any cluster managed by Zookeeper. Here are the basic functionalities - > EXPORT: The whole/partial ZK-tree is exported into a XML file. This helps in > capturing a current snapshot of the data for backup/analysis. For a subtree > export, one need to specify the path to the ZK-subtree with proper option. > IMPORT: The ZK-tree can be imported from XML into ZK cluster. This helps in > priming > the new ZK cluster with static configuration. The import can be non-intrusive > by > making only the additions in the existing data. The import of subtree is also > possible by optionally providing the path to the ZK-subtree. > DIFF: Creates a diff between live ZK data vs data saved in XML file. Diff can > ignore > some ZK-tree branches (possibly dynamic data) on reading the optional ignore > flag > from XML file. Diffing on a ZK-subtree achieved by providing path to > ZK-subtree with > diff command. > UPDATE: Make the incremental changes into the live ZK-tree from saved XML, > essentia- > lly after running the diff. > DUMP: Dumps the ZK-tree on the standard output device reading either from > live ZK > server or XML file. Like export, ZK-subtree can be dumped with optionaly > providing the path to the ZK-subtree, and till a certain depth of the > (sub)tree. > The exported ZK data into XML file can be shortened by only keeping the > static ZK > nodes which are required to prime a cluster. The dynamic zk nodes (created > on-the- > fly) can be ignored by setting a 'ignore' attribute at the root node of the > dynamic > subtree (see tests/zk_sample.xml), possibly deleting all inner ZK nodes under > that. > Once ignored, the whole subtree is ignored during DIFF, UPDATE and WRITE. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (ZOOKEEPER-496) zookeeper-tree utility for export, import and incremental updates
[ https://issues.apache.org/jira/browse/ZOOKEEPER-496?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12798798#action_12798798 ] Hadoop QA commented on ZOOKEEPER-496: - -1 overall. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12429925/zktreeutil.patch against trunk revision 896800. +1 @author. The patch does not contain any @author tags. +1 tests included. The patch appears to include 3 new or modified tests. +1 javadoc. The javadoc tool did not generate any warning messages. +1 javac. The applied patch does not increase the total number of javac compiler warnings. +1 findbugs. The patch does not introduce any new Findbugs warnings. -1 release audit. The applied patch generated 207 release audit warnings (more than the trunk's current 200 warnings). +1 core tests. The patch passed core unit tests. +1 contrib tests. The patch passed contrib unit tests. Test results: http://hudson.zones.apache.org/hudson/job/Zookeeper-Patch-h7.grid.sp2.yahoo.net/35/testReport/ Release audit warnings: http://hudson.zones.apache.org/hudson/job/Zookeeper-Patch-h7.grid.sp2.yahoo.net/35/artifact/trunk/patchprocess/releaseAuditDiffWarnings.txt Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Zookeeper-Patch-h7.grid.sp2.yahoo.net/35/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html Console output: http://hudson.zones.apache.org/hudson/job/Zookeeper-Patch-h7.grid.sp2.yahoo.net/35/console This message is automatically generated. > zookeeper-tree utility for export, import and incremental updates > - > > Key: ZOOKEEPER-496 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-496 > Project: Zookeeper > Issue Type: New Feature > Components: contrib > Environment: RHEL 4.6, libxml2 >Reporter: Anirban Roy >Assignee: Anirban Roy > Fix For: 3.3.0 > > Attachments: zktreeutil.patch > > Original Estimate: 168h > Remaining Estimate: 168h > > == > zktreeutil - Zookeeper Tree Data Utility > Author: Anirban Roy > Organization: Yahoo Inc. > == > zktreeutil program is intended to manage and manipulate zk-tree data quickly, > effi- > ciently and with ease. The utility operates on free-form ZK-tree and hence > can be used > for any cluster managed by Zookeeper. Here are the basic functionalities - > EXPORT: The whole/partial ZK-tree is exported into a XML file. This helps in > capturing a current snapshot of the data for backup/analysis. For a subtree > export, one need to specify the path to the ZK-subtree with proper option. > IMPORT: The ZK-tree can be imported from XML into ZK cluster. This helps in > priming > the new ZK cluster with static configuration. The import can be non-intrusive > by > making only the additions in the existing data. The import of subtree is also > possible by optionally providing the path to the ZK-subtree. > DIFF: Creates a diff between live ZK data vs data saved in XML file. Diff can > ignore > some ZK-tree branches (possibly dynamic data) on reading the optional ignore > flag > from XML file. Diffing on a ZK-subtree achieved by providing path to > ZK-subtree with > diff command. > UPDATE: Make the incremental changes into the live ZK-tree from saved XML, > essentia- > lly after running the diff. > DUMP: Dumps the ZK-tree on the standard output device reading either from > live ZK > server or XML file. Like export, ZK-subtree can be dumped with optionaly > providing the path to the ZK-subtree, and till a certain depth of the > (sub)tree. > The exported ZK data into XML file can be shortened by only keeping the > static ZK > nodes which are required to prime a cluster. The dynamic zk nodes (created > on-the- > fly) can be ignored by setting a 'ignore' attribute at the root node of the > dynamic > subtree (see tests/zk_sample.xml), possibly deleting all inner ZK nodes under > that. > Once ignored, the whole subtree is ignored during DIFF, UPDATE and WRITE. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (ZOOKEEPER-496) zookeeper-tree utility for export, import and incremental updates
[ https://issues.apache.org/jira/browse/ZOOKEEPER-496?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12797668#action_12797668 ] Hadoop QA commented on ZOOKEEPER-496: - -1 overall. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12425366/zktreeutil.patch against trunk revision 896800. +1 @author. The patch does not contain any @author tags. +1 tests included. The patch appears to include 3 new or modified tests. +1 javadoc. The javadoc tool did not generate any warning messages. +1 javac. The applied patch does not increase the total number of javac compiler warnings. +1 findbugs. The patch does not introduce any new Findbugs warnings. -1 release audit. The applied patch generated 207 release audit warnings (more than the trunk's current 200 warnings). +1 core tests. The patch passed core unit tests. +1 contrib tests. The patch passed contrib unit tests. Test results: http://hudson.zones.apache.org/hudson/job/Zookeeper-Patch-h7.grid.sp2.yahoo.net/33/testReport/ Release audit warnings: http://hudson.zones.apache.org/hudson/job/Zookeeper-Patch-h7.grid.sp2.yahoo.net/33/artifact/trunk/patchprocess/releaseAuditDiffWarnings.txt Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Zookeeper-Patch-h7.grid.sp2.yahoo.net/33/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html Console output: http://hudson.zones.apache.org/hudson/job/Zookeeper-Patch-h7.grid.sp2.yahoo.net/33/console This message is automatically generated. > zookeeper-tree utility for export, import and incremental updates > - > > Key: ZOOKEEPER-496 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-496 > Project: Zookeeper > Issue Type: New Feature > Components: contrib > Environment: RHEL 4.6, libxml2 >Reporter: Anirban Roy >Assignee: Anirban Roy > Fix For: 3.3.0 > > Attachments: zktreeutil.patch > > Original Estimate: 168h > Remaining Estimate: 168h > > == > zktreeutil - Zookeeper Tree Data Utility > Author: Anirban Roy > Organization: Yahoo Inc. > == > zktreeutil program is intended to manage and manipulate zk-tree data quickly, > effi- > ciently and with ease. The utility operates on free-form ZK-tree and hence > can be used > for any cluster managed by Zookeeper. Here are the basic functionalities - > EXPORT: The whole/partial ZK-tree is exported into a XML file. This helps in > capturing a current snapshot of the data for backup/analysis. For a subtree > export, one need to specify the path to the ZK-subtree with proper option. > IMPORT: The ZK-tree can be imported from XML into ZK cluster. This helps in > priming > the new ZK cluster with static configuration. The import can be non-intrusive > by > making only the additions in the existing data. The import of subtree is also > possible by optionally providing the path to the ZK-subtree. > DIFF: Creates a diff between live ZK data vs data saved in XML file. Diff can > ignore > some ZK-tree branches (possibly dynamic data) on reading the optional ignore > flag > from XML file. Diffing on a ZK-subtree achieved by providing path to > ZK-subtree with > diff command. > UPDATE: Make the incremental changes into the live ZK-tree from saved XML, > essentia- > lly after running the diff. > DUMP: Dumps the ZK-tree on the standard output device reading either from > live ZK > server or XML file. Like export, ZK-subtree can be dumped with optionaly > providing the path to the ZK-subtree, and till a certain depth of the > (sub)tree. > The exported ZK data into XML file can be shortened by only keeping the > static ZK > nodes which are required to prime a cluster. The dynamic zk nodes (created > on-the- > fly) can be ignored by setting a 'ignore' attribute at the root node of the > dynamic > subtree (see tests/zk_sample.xml), possibly deleting all inner ZK nodes under > that. > Once ignored, the whole subtree is ignored during DIFF, UPDATE and WRITE. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (ZOOKEEPER-496) zookeeper-tree utility for export, import and incremental updates
[ https://issues.apache.org/jira/browse/ZOOKEEPER-496?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12797527#action_12797527 ] Hadoop QA commented on ZOOKEEPER-496: - -1 overall. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12425366/zktreeutil.patch against trunk revision 896551. +1 @author. The patch does not contain any @author tags. +1 tests included. The patch appears to include 3 new or modified tests. +1 javadoc. The javadoc tool did not generate any warning messages. +1 javac. The applied patch does not increase the total number of javac compiler warnings. +1 findbugs. The patch does not introduce any new Findbugs warnings. -1 release audit. The applied patch generated 207 release audit warnings (more than the trunk's current 200 warnings). +1 core tests. The patch passed core unit tests. +1 contrib tests. The patch passed contrib unit tests. Test results: http://hudson.zones.apache.org/hudson/job/Zookeeper-Patch-h7.grid.sp2.yahoo.net/32/testReport/ Release audit warnings: http://hudson.zones.apache.org/hudson/job/Zookeeper-Patch-h7.grid.sp2.yahoo.net/32/artifact/trunk/patchprocess/releaseAuditDiffWarnings.txt Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Zookeeper-Patch-h7.grid.sp2.yahoo.net/32/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html Console output: http://hudson.zones.apache.org/hudson/job/Zookeeper-Patch-h7.grid.sp2.yahoo.net/32/console This message is automatically generated. > zookeeper-tree utility for export, import and incremental updates > - > > Key: ZOOKEEPER-496 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-496 > Project: Zookeeper > Issue Type: New Feature > Components: contrib > Environment: RHEL 4.6, libxml2 >Reporter: Anirban Roy >Assignee: Anirban Roy > Fix For: 3.3.0 > > Attachments: zktreeutil.patch > > Original Estimate: 168h > Remaining Estimate: 168h > > == > zktreeutil - Zookeeper Tree Data Utility > Author: Anirban Roy > Organization: Yahoo Inc. > == > zktreeutil program is intended to manage and manipulate zk-tree data quickly, > effi- > ciently and with ease. The utility operates on free-form ZK-tree and hence > can be used > for any cluster managed by Zookeeper. Here are the basic functionalities - > EXPORT: The whole/partial ZK-tree is exported into a XML file. This helps in > capturing a current snapshot of the data for backup/analysis. For a subtree > export, one need to specify the path to the ZK-subtree with proper option. > IMPORT: The ZK-tree can be imported from XML into ZK cluster. This helps in > priming > the new ZK cluster with static configuration. The import can be non-intrusive > by > making only the additions in the existing data. The import of subtree is also > possible by optionally providing the path to the ZK-subtree. > DIFF: Creates a diff between live ZK data vs data saved in XML file. Diff can > ignore > some ZK-tree branches (possibly dynamic data) on reading the optional ignore > flag > from XML file. Diffing on a ZK-subtree achieved by providing path to > ZK-subtree with > diff command. > UPDATE: Make the incremental changes into the live ZK-tree from saved XML, > essentia- > lly after running the diff. > DUMP: Dumps the ZK-tree on the standard output device reading either from > live ZK > server or XML file. Like export, ZK-subtree can be dumped with optionaly > providing the path to the ZK-subtree, and till a certain depth of the > (sub)tree. > The exported ZK data into XML file can be shortened by only keeping the > static ZK > nodes which are required to prime a cluster. The dynamic zk nodes (created > on-the- > fly) can be ignored by setting a 'ignore' attribute at the root node of the > dynamic > subtree (see tests/zk_sample.xml), possibly deleting all inner ZK nodes under > that. > Once ignored, the whole subtree is ignored during DIFF, UPDATE and WRITE. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (ZOOKEEPER-496) zookeeper-tree utility for export, import and incremental updates
[ https://issues.apache.org/jira/browse/ZOOKEEPER-496?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12796901#action_12796901 ] Hadoop QA commented on ZOOKEEPER-496: - -1 overall. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12425366/zktreeutil.patch against trunk revision 896144. +1 @author. The patch does not contain any @author tags. +1 tests included. The patch appears to include 3 new or modified tests. +1 javadoc. The javadoc tool did not generate any warning messages. +1 javac. The applied patch does not increase the total number of javac compiler warnings. +1 findbugs. The patch does not introduce any new Findbugs warnings. -1 release audit. The applied patch generated 208 release audit warnings (more than the trunk's current 201 warnings). -1 core tests. The patch failed core unit tests. +1 contrib tests. The patch passed contrib unit tests. Test results: http://hudson.zones.apache.org/hudson/job/Zookeeper-Patch-h8.grid.sp2.yahoo.net/98/testReport/ Release audit warnings: http://hudson.zones.apache.org/hudson/job/Zookeeper-Patch-h8.grid.sp2.yahoo.net/98/artifact/trunk/patchprocess/releaseAuditDiffWarnings.txt Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Zookeeper-Patch-h8.grid.sp2.yahoo.net/98/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html Console output: http://hudson.zones.apache.org/hudson/job/Zookeeper-Patch-h8.grid.sp2.yahoo.net/98/console This message is automatically generated. > zookeeper-tree utility for export, import and incremental updates > - > > Key: ZOOKEEPER-496 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-496 > Project: Zookeeper > Issue Type: New Feature > Components: contrib > Environment: RHEL 4.6, libxml2 >Reporter: Anirban Roy >Assignee: Anirban Roy > Fix For: 3.3.0 > > Attachments: zktreeutil.patch > > Original Estimate: 168h > Remaining Estimate: 168h > > == > zktreeutil - Zookeeper Tree Data Utility > Author: Anirban Roy > Organization: Yahoo Inc. > == > zktreeutil program is intended to manage and manipulate zk-tree data quickly, > effi- > ciently and with ease. The utility operates on free-form ZK-tree and hence > can be used > for any cluster managed by Zookeeper. Here are the basic functionalities - > EXPORT: The whole/partial ZK-tree is exported into a XML file. This helps in > capturing a current snapshot of the data for backup/analysis. For a subtree > export, one need to specify the path to the ZK-subtree with proper option. > IMPORT: The ZK-tree can be imported from XML into ZK cluster. This helps in > priming > the new ZK cluster with static configuration. The import can be non-intrusive > by > making only the additions in the existing data. The import of subtree is also > possible by optionally providing the path to the ZK-subtree. > DIFF: Creates a diff between live ZK data vs data saved in XML file. Diff can > ignore > some ZK-tree branches (possibly dynamic data) on reading the optional ignore > flag > from XML file. Diffing on a ZK-subtree achieved by providing path to > ZK-subtree with > diff command. > UPDATE: Make the incremental changes into the live ZK-tree from saved XML, > essentia- > lly after running the diff. > DUMP: Dumps the ZK-tree on the standard output device reading either from > live ZK > server or XML file. Like export, ZK-subtree can be dumped with optionaly > providing the path to the ZK-subtree, and till a certain depth of the > (sub)tree. > The exported ZK data into XML file can be shortened by only keeping the > static ZK > nodes which are required to prime a cluster. The dynamic zk nodes (created > on-the- > fly) can be ignored by setting a 'ignore' attribute at the root node of the > dynamic > subtree (see tests/zk_sample.xml), possibly deleting all inner ZK nodes under > that. > Once ignored, the whole subtree is ignored during DIFF, UPDATE and WRITE. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (ZOOKEEPER-496) zookeeper-tree utility for export, import and incremental updates
[ https://issues.apache.org/jira/browse/ZOOKEEPER-496?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12741700#action_12741700 ] Hadoop QA commented on ZOOKEEPER-496: - -1 overall. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12416094/zktreeutil.diff against trunk revision 802964. +1 @author. The patch does not contain any @author tags. +1 tests included. The patch appears to include 3 new or modified tests. +1 javadoc. The javadoc tool did not generate any warning messages. +1 javac. The applied patch does not increase the total number of javac compiler warnings. +1 findbugs. The patch does not introduce any new Findbugs warnings. -1 release audit. The applied patch generated 183 release audit warnings (more than the trunk's current 176 warnings). +1 core tests. The patch passed core unit tests. +1 contrib tests. The patch passed contrib unit tests. Test results: http://hudson.zones.apache.org/hudson/job/Zookeeper-Patch-vesta.apache.org/184/testReport/ Release audit warnings: http://hudson.zones.apache.org/hudson/job/Zookeeper-Patch-vesta.apache.org/184/artifact/trunk/patchprocess/releaseAuditDiffWarnings.txt Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Zookeeper-Patch-vesta.apache.org/184/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html Console output: http://hudson.zones.apache.org/hudson/job/Zookeeper-Patch-vesta.apache.org/184/console This message is automatically generated. > zookeeper-tree utility for export, import and incremental updates > - > > Key: ZOOKEEPER-496 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-496 > Project: Zookeeper > Issue Type: New Feature > Components: contrib > Environment: RHEL 4.6, libxml2 >Reporter: Anirban Roy >Assignee: Anirban Roy > Fix For: 3.3.0 > > Attachments: zktreeutil.diff > > Original Estimate: 168h > Remaining Estimate: 168h > > I propose and plan to develop a ZK-tree utility for managing cluster data (ZK > tree) quickly and efficiently. The utility operates on free-form ZK-tree and > hence can be used for any cluster managed by Zookeeper. Here are the basic > functionalities - > Export ZK-tree: The whole ZK-tree is exported into a XML file. This helps in > capturing a current snapshot of the data for backup/analysis. In addition, > the data can be dumped as tree-like text format which is easily readable. > Import ZK-tree: The ZK-tree can be imported from XML into ZK cluster. This > helps in priming the new ZK cluster with static configuration. The import can > be non-intrusive by making only the additions in the existing data. > Diff ZK-tree: Creates a diff between live ZK data vs data saved in XML file. > Diff can ignore some ZK-tree branches (possibly dynamic data) on reading the > flag from XML file. > Update ZK-tree: Make the incremental changes into the live ZK-tree from saved > XML, essentially after running the diff. > Thanks > Anirban -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.