You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Todd Lipcon (JIRA)" <ji...@apache.org> on 2011/08/29 05:21:38 UTC
[jira] [Created] (HBASE-4268) Add utility to entirely clear out ZK
Add utility to entirely clear out ZK
------------------------------------
Key: HBASE-4268
URL: https://issues.apache.org/jira/browse/HBASE-4268
Project: HBase
Issue Type: New Feature
Components: scripts
Affects Versions: 0.92.0
Reporter: Todd Lipcon
In disaster scenarios, sometimes some cruft is left over in ZK, when it would be better to do a truely clean startup. We should add a script which allows the admin to clear out ZK while the cluster is down.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HBASE-4268) Add utility to entirely clear out
ZK
Posted by "Todd Lipcon (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-4268?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13093122#comment-13093122 ]
Todd Lipcon commented on HBASE-4268:
------------------------------------
yea, ZK 3.4.0 has a recursive delete. I figure we can do something more HBase-specific (eg different flags to determine whether we'd leave cluster ID in place, etc)
> Add utility to entirely clear out ZK
> ------------------------------------
>
> Key: HBASE-4268
> URL: https://issues.apache.org/jira/browse/HBASE-4268
> Project: HBase
> Issue Type: New Feature
> Components: scripts
> Affects Versions: 0.92.0
> Reporter: Todd Lipcon
>
> In disaster scenarios, sometimes some cruft is left over in ZK, when it would be better to do a truely clean startup. We should add a script which allows the admin to clear out ZK while the cluster is down.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Assigned] (HBASE-4268) Add utility to entirely clear out ZK
Posted by "Todd Lipcon (Assigned) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-4268?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Todd Lipcon reassigned HBASE-4268:
----------------------------------
Assignee: (was: Todd Lipcon)
Nope, I got distracted away from this task a few months ago. I can't seem to find the code that I'd started, either.
> Add utility to entirely clear out ZK
> ------------------------------------
>
> Key: HBASE-4268
> URL: https://issues.apache.org/jira/browse/HBASE-4268
> Project: HBase
> Issue Type: New Feature
> Components: scripts
> Affects Versions: 0.92.0
> Reporter: Todd Lipcon
>
> In disaster scenarios, sometimes some cruft is left over in ZK, when it would be better to do a truely clean startup. We should add a script which allows the admin to clear out ZK while the cluster is down.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HBASE-4268) Add utility to entirely clear out
ZK
Posted by "stack (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-4268?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13093100#comment-13093100 ]
stack commented on HBASE-4268:
------------------------------
I tried to do ./bin/hbase zkcli and then do a 'delete /hbase' but seems like this does not allow removal of non-empty node:
{code}
[zk: localhost:2181(CONNECTED) 2] delete /hbase
Node not empty: /hbase
{code}
> Add utility to entirely clear out ZK
> ------------------------------------
>
> Key: HBASE-4268
> URL: https://issues.apache.org/jira/browse/HBASE-4268
> Project: HBase
> Issue Type: New Feature
> Components: scripts
> Affects Versions: 0.92.0
> Reporter: Todd Lipcon
>
> In disaster scenarios, sometimes some cruft is left over in ZK, when it would be better to do a truely clean startup. We should add a script which allows the admin to clear out ZK while the cluster is down.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HBASE-4268) Add utility to entirely clear out
ZK
Posted by "Ted Yu (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-4268?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13486478#comment-13486478 ]
Ted Yu commented on HBASE-4268:
-------------------------------
Maybe after zookeeper 3.4.5 is released ?
> Add utility to entirely clear out ZK
> ------------------------------------
>
> Key: HBASE-4268
> URL: https://issues.apache.org/jira/browse/HBASE-4268
> Project: HBase
> Issue Type: New Feature
> Components: scripts
> Affects Versions: 0.92.0
> Reporter: Todd Lipcon
>
> In disaster scenarios, sometimes some cruft is left over in ZK, when it would be better to do a truely clean startup. We should add a script which allows the admin to clear out ZK while the cluster is down.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (HBASE-4268) Add utility to entirely clear out ZK
Posted by "stack (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-4268?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
stack resolved HBASE-4268.
--------------------------
Resolution: Won't Fix
Closing as won't fix. I recently used the rmr facility against a 3.4.3 ensemble to clear out a bunch of hbase droppings.
> Add utility to entirely clear out ZK
> ------------------------------------
>
> Key: HBASE-4268
> URL: https://issues.apache.org/jira/browse/HBASE-4268
> Project: HBase
> Issue Type: New Feature
> Components: scripts
> Affects Versions: 0.92.0
> Reporter: Todd Lipcon
>
> In disaster scenarios, sometimes some cruft is left over in ZK, when it would be better to do a truely clean startup. We should add a script which allows the admin to clear out ZK while the cluster is down.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HBASE-4268) Add utility to entirely clear out
ZK
Posted by "Todd Lipcon (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-4268?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13095802#comment-13095802 ]
Todd Lipcon commented on HBASE-4268:
------------------------------------
I actually started this, this afternoon, and forgot to assign to myself. Ram, unless you have some code, mind assigning it to me? Or I can upload what I have if you want to finish it off.
> Add utility to entirely clear out ZK
> ------------------------------------
>
> Key: HBASE-4268
> URL: https://issues.apache.org/jira/browse/HBASE-4268
> Project: HBase
> Issue Type: New Feature
> Components: scripts
> Affects Versions: 0.92.0
> Reporter: Todd Lipcon
> Assignee: ramkrishna.s.vasudevan
>
> In disaster scenarios, sometimes some cruft is left over in ZK, when it would be better to do a truely clean startup. We should add a script which allows the admin to clear out ZK while the cluster is down.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HBASE-4268) Add utility to entirely clear out
ZK
Posted by "ramkrishna.s.vasudevan (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-4268?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13095817#comment-13095817 ]
ramkrishna.s.vasudevan commented on HBASE-4268:
-----------------------------------------------
I have reassigned to you Todd :)
> Add utility to entirely clear out ZK
> ------------------------------------
>
> Key: HBASE-4268
> URL: https://issues.apache.org/jira/browse/HBASE-4268
> Project: HBase
> Issue Type: New Feature
> Components: scripts
> Affects Versions: 0.92.0
> Reporter: Todd Lipcon
> Assignee: Todd Lipcon
>
> In disaster scenarios, sometimes some cruft is left over in ZK, when it would be better to do a truely clean startup. We should add a script which allows the admin to clear out ZK while the cluster is down.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Assigned] (HBASE-4268) Add utility to entirely clear out ZK
Posted by "ramkrishna.s.vasudevan (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-4268?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ramkrishna.s.vasudevan reassigned HBASE-4268:
---------------------------------------------
Assignee: ramkrishna.s.vasudevan
> Add utility to entirely clear out ZK
> ------------------------------------
>
> Key: HBASE-4268
> URL: https://issues.apache.org/jira/browse/HBASE-4268
> Project: HBase
> Issue Type: New Feature
> Components: scripts
> Affects Versions: 0.92.0
> Reporter: Todd Lipcon
> Assignee: ramkrishna.s.vasudevan
>
> In disaster scenarios, sometimes some cruft is left over in ZK, when it would be better to do a truely clean startup. We should add a script which allows the admin to clear out ZK while the cluster is down.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Assigned] (HBASE-4268) Add utility to entirely clear out ZK
Posted by "ramkrishna.s.vasudevan (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-4268?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ramkrishna.s.vasudevan reassigned HBASE-4268:
---------------------------------------------
Assignee: Todd Lipcon (was: ramkrishna.s.vasudevan)
> Add utility to entirely clear out ZK
> ------------------------------------
>
> Key: HBASE-4268
> URL: https://issues.apache.org/jira/browse/HBASE-4268
> Project: HBase
> Issue Type: New Feature
> Components: scripts
> Affects Versions: 0.92.0
> Reporter: Todd Lipcon
> Assignee: Todd Lipcon
>
> In disaster scenarios, sometimes some cruft is left over in ZK, when it would be better to do a truely clean startup. We should add a script which allows the admin to clear out ZK while the cluster is down.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HBASE-4268) Add utility to entirely clear out
ZK
Posted by "Zhihong Yu (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-4268?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13188831#comment-13188831 ]
Zhihong Yu commented on HBASE-4268:
-----------------------------------
@Todd:
Are you working on this feature ?
I don't see attachment.
Thanks
> Add utility to entirely clear out ZK
> ------------------------------------
>
> Key: HBASE-4268
> URL: https://issues.apache.org/jira/browse/HBASE-4268
> Project: HBase
> Issue Type: New Feature
> Components: scripts
> Affects Versions: 0.92.0
> Reporter: Todd Lipcon
> Assignee: Todd Lipcon
>
> In disaster scenarios, sometimes some cruft is left over in ZK, when it would be better to do a truely clean startup. We should add a script which allows the admin to clear out ZK while the cluster is down.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HBASE-4268) Add utility to entirely clear out
ZK
Posted by "Karthik K (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-4268?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13188859#comment-13188859 ]
Karthik K commented on HBASE-4268:
----------------------------------
I had put in ZOOKEEPER-729 sometime ago, for the exact reason in the past.
With zk 3.4.2 , we can delete recursively as :
./bin/zkCli.sh rmr /hbase
>From the latest comment, seems like the command has been renamed in future releases though:
> Add utility to entirely clear out ZK
> ------------------------------------
>
> Key: HBASE-4268
> URL: https://issues.apache.org/jira/browse/HBASE-4268
> Project: HBase
> Issue Type: New Feature
> Components: scripts
> Affects Versions: 0.92.0
> Reporter: Todd Lipcon
>
> In disaster scenarios, sometimes some cruft is left over in ZK, when it would be better to do a truely clean startup. We should add a script which allows the admin to clear out ZK while the cluster is down.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HBASE-4268) Add utility to entirely clear out
ZK
Posted by "Todd Lipcon (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-4268?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13486472#comment-13486472 ]
Todd Lipcon commented on HBASE-4268:
------------------------------------
Perhaps we can resolve this now, as ZK 3.4.x have now become fairly commonplace?
> Add utility to entirely clear out ZK
> ------------------------------------
>
> Key: HBASE-4268
> URL: https://issues.apache.org/jira/browse/HBASE-4268
> Project: HBase
> Issue Type: New Feature
> Components: scripts
> Affects Versions: 0.92.0
> Reporter: Todd Lipcon
>
> In disaster scenarios, sometimes some cruft is left over in ZK, when it would be better to do a truely clean startup. We should add a script which allows the admin to clear out ZK while the cluster is down.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira