Class DecommissionCommand
java.lang.Object
org.apache.bookkeeper.tools.framework.CliCommand<BKFlags,CommandFlagsT>
org.apache.bookkeeper.tools.common.BKCommand<BookieFlagsT>
org.apache.bookkeeper.tools.cli.helpers.BookieCommand<DecommissionCommand.DecommissionFlags>
org.apache.bookkeeper.tools.cli.commands.bookies.DecommissionCommand
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.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classFlags for decommission command. -
Field Summary
FieldsFields inherited from class org.apache.bookkeeper.tools.framework.CliCommand
spec -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanapply(ServerConfiguration conf, DecommissionCommand.DecommissionFlags cmdFlags) Methods inherited from class org.apache.bookkeeper.tools.cli.helpers.BookieCommand
applyMethods inherited from class org.apache.bookkeeper.tools.common.BKCommand
acceptServiceUri, apply, apply, applyMethods inherited from class org.apache.bookkeeper.tools.framework.CliCommand
category, description, getUsage, name, path, setParent, usage
-
Field Details
-
LOG
static final org.slf4j.Logger LOG
-
-
Constructor Details
-
DecommissionCommand
public DecommissionCommand()
-
-
Method Details
-
apply
- Specified by:
applyin classBookieCommand<DecommissionCommand.DecommissionFlags>
-