Package org.apache.bookkeeper.bookie
Class BookieShell.DecommissionBookieCmd
java.lang.Object
org.apache.bookkeeper.bookie.BookieShell.MyCommand
org.apache.bookkeeper.bookie.BookieShell.DecommissionBookieCmd
- All Implemented Interfaces:
BookieShell.Command
- Enclosing class:
- BookieShell
Command to trigger AuditTask by resetting lostBookieRecoveryDelay and
then make sure the ledgers stored in the bookie are properly replicated
and Cookie of the decommissioned bookie should be deleted from metadata
server.
-
Field Summary
Fields inherited from class org.apache.bookkeeper.bookie.BookieShell.MyCommand
cmdName, opts -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.bookkeeper.bookie.BookieShell.MyCommand
description, printUsage, runCmd
-
Constructor Details
-
DecommissionBookieCmd
DecommissionBookieCmd()
-
-
Method Details
-
getDescription
String getDescription()- Specified by:
getDescriptionin classBookieShell.MyCommand
-
getUsage
String getUsage()- Specified by:
getUsagein classBookieShell.MyCommand
-
getOptions
org.apache.commons.cli.Options getOptions()- Specified by:
getOptionsin classBookieShell.MyCommand
-
runCmd
- Specified by:
runCmdin classBookieShell.MyCommand- Throws:
Exception
-