Issue Details (XML | Word | Printable)

Key: KATTA-158
Type: New Feature New Feature
Status: Open Open
Priority: Major Major
Assignee: Unassigned
Reporter: Mathias Walter
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Katta

remove a node from Katta

Created: 20/Sep/10 07:00 AM   Updated: 26/May/11 07:26 AM
Component/s: cluster
Affects Version/s: 0.6.2
Fix Version/s: 0.6.5

File Attachments: 1. Text File KATTA-158.patch (2 kB)



 Description  « Hide
The Katta command line tool provides the option listNodes, but does not provide an option to remove nodes which are not used anymore (i. e. test nodes). One can remove these nodes with the Zookeeper command line tool. But it would be useful to have such an option with the Katta command line tool.

 All   Comments   Change History   git Commits      Sort Order: Ascending order - Click to sort in descending order
Mathias Walter added a comment - 20/Sep/10 07:02 AM
The patch adds the option "removeNode <index name>" to the Katta command line client.

Mathias Walter added a comment - 20/Sep/10 07:03 AM
Indeed, this is not a major feature. But I don't know how to change the priority of an issue already created.

Johannes Zillmann added a comment - 26/Sep/10 01:32 PM
What happens in the case you're removing live node ?

Mathias Walter added a comment - 22/Dec/10 09:16 AM
The live node remains active, but queries are not served to it anymore.

The patch just cleans up the Zookeeper. It's up to the Katta administrator to stop the node. Usually a node fails or is permanently removed from the Katta cluster, but remains registered in Zookeeper.

I can also implement a node interaction command to shutdown a live node, if it should be removed. Would that makes sense?