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
-
public class DecommissionCommand extends BookieCommand<DecommissionCommand.DecommissionFlags>
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 Classes Modifier and Type Class Description static class
DecommissionCommand.DecommissionFlags
Flags for decommission command.
-
Field Summary
Fields Modifier and Type Field Description (package private) static org.slf4j.Logger
LOG
-
Fields inherited from class org.apache.bookkeeper.tools.framework.CliCommand
spec
-
-
Constructor Summary
Constructors Constructor Description DecommissionCommand()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
apply(ServerConfiguration conf, DecommissionCommand.DecommissionFlags cmdFlags)
-
Methods inherited from class org.apache.bookkeeper.tools.cli.helpers.BookieCommand
apply
-
Methods inherited from class org.apache.bookkeeper.tools.common.BKCommand
acceptServiceUri, apply, apply, apply
-
Methods inherited from class org.apache.bookkeeper.tools.framework.CliCommand
category, description, getUsage, name, path, setParent, usage
-
-
-
-
Method Detail
-
apply
public boolean apply(ServerConfiguration conf, DecommissionCommand.DecommissionFlags cmdFlags)
- Specified by:
apply
in classBookieCommand<DecommissionCommand.DecommissionFlags>
-
-