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
class BookieShell.DecommissionBookieCmd extends BookieShell.MyCommand
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 Constructor Description DecommissionBookieCmd()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) java.lang.StringgetDescription()(package private) org.apache.commons.cli.OptionsgetOptions()(package private) java.lang.StringgetUsage()intrunCmd(org.apache.commons.cli.CommandLine cmdLine)-
Methods inherited from class org.apache.bookkeeper.bookie.BookieShell.MyCommand
description, printUsage, runCmd
-
-
-
-
Method Detail
-
getDescription
java.lang.String getDescription()
- Specified by:
getDescriptionin classBookieShell.MyCommand
-
getUsage
java.lang.String getUsage()
- Specified by:
getUsagein classBookieShell.MyCommand
-
getOptions
org.apache.commons.cli.Options getOptions()
- Specified by:
getOptionsin classBookieShell.MyCommand
-
runCmd
public int runCmd(org.apache.commons.cli.CommandLine cmdLine) throws java.lang.Exception- Specified by:
runCmdin classBookieShell.MyCommand- Throws:
java.lang.Exception
-
-