|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectvoldemort.tools.admin.command.AbstractAdminCommand
voldemort.tools.admin.command.AdminCommandCleanup.SubCommandCleanupOrphanedData
public static class AdminCommandCleanup.SubCommandCleanupOrphanedData
cleanup orphaned-data command
Constructor Summary | |
---|---|
AdminCommandCleanup.SubCommandCleanupOrphanedData()
|
Method Summary | |
---|---|
static void |
doCleanupOrphanedData(AdminClient adminClient,
java.util.List<java.lang.Integer> nodeIds)
Removes orphaned data on a single node after rebalancing is done. |
static void |
executeCommand(java.lang.String[] args)
Parses command-line and removes orphaned data on a single node after rebalancing is done. |
protected static joptsimple.OptionParser |
getParser()
Initializes parser |
static void |
printHelp(java.io.PrintStream stream)
Prints help menu for command. |
Methods inherited from class voldemort.tools.admin.command.AbstractAdminCommand |
---|
executeHelp |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AdminCommandCleanup.SubCommandCleanupOrphanedData()
Method Detail |
---|
protected static joptsimple.OptionParser getParser()
public static void printHelp(java.io.PrintStream stream) throws java.io.IOException
stream
- PrintStream object for output
java.io.IOException
public static void executeCommand(java.lang.String[] args) throws java.io.IOException
args
- Command-line inputprintHelp
- Tells whether to print help only or execute command
actually
java.io.IOException
public static void doCleanupOrphanedData(AdminClient adminClient, java.util.List<java.lang.Integer> nodeIds)
adminClient
- An instance of AdminClient points to given clusternodeIds
- Node ids to remove orphaned data on
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |