Uses of Interface
org.apache.bookkeeper.tools.framework.Command
-
Packages that use Command Package Description org.apache.bookkeeper.tools.cli.commands.autorecovery org.apache.bookkeeper.tools.cli.commands.bookie Commands to operate a single bookie.org.apache.bookkeeper.tools.cli.commands.bookies Commands on operating a cluster of bookies.org.apache.bookkeeper.tools.cli.commands.client This package contains all client related commands.org.apache.bookkeeper.tools.cli.commands.cookie Cookie related cli commands.org.apache.bookkeeper.tools.cli.commands.health org.apache.bookkeeper.tools.cli.helpers This classes provides some helper mixins for easily to add commands to bookie shell.org.apache.bookkeeper.tools.common Common classes used across multiple tools.org.apache.bookkeeper.tools.framework BookKeeper Tool Framework. -
-
Uses of Command in org.apache.bookkeeper.tools.cli.commands.autorecovery
Classes in org.apache.bookkeeper.tools.cli.commands.autorecovery that implement Command Modifier and Type Class Description classListUnderReplicatedCommandCommand to listing under replicated ledgers.classLostBookieRecoveryDelayCommandCommand to Setter and Getter for LostBookieRecoveryDelay value (in seconds) in metadata store.classQueryAutoRecoveryStatusCommandCommand to Query current auto recovery status.classToggleCommandCommand to enable or disable auto recovery in the cluster.classTriggerAuditCommandCommand to trigger AuditTask by resetting lostBookieRecoveryDelay to its current value.classWhoIsAuditorCommandCommand to print which node has the auditor lock. -
Uses of Command in org.apache.bookkeeper.tools.cli.commands.bookie
Classes in org.apache.bookkeeper.tools.cli.commands.bookie that implement Command Modifier and Type Class Description classCheckDBLedgersIndexCommandCommand to check the DBLedgerStorage ledgers index integrity.classConvertToDBStorageCommandA command to convert bookie indexes from InterleavedStorage to DbLedgerStorage format.classConvertToInterleavedStorageCommandA command to convert bookie indexes from DbLedgerStorage to InterleavedStorage format.classFlipBookieIdCommandCommand to update ledger command.classFormatCommandCommand to format the current server contents.classInitCommandA command to initialize new bookie.classLastMarkCommandA bookie command to print the last log marker.classLedgerCommandCommand to dump ledger index entries into readable format.classListActiveLedgersCommandList active(exist in metadata storage) ledgers in a entry log file.classListFilesOnDiscCommandCommand to list the files in JournalDirectories/LedgerDirectories/IndexDirectories.classListLedgersCommandCommand for list all ledgers on the cluster.classLocalConsistencyCheckCommandCommand to check local storage for inconsistencies.classReadJournalCommandCommand to scan a journal file and format the entries into readable format.classReadLedgerCommandCommand to read ledger entries.classReadLogCommandCommand to read entry log files.classReadLogMetadataCommandCommand to print metadata of entry log.classRebuildDBLedgerLocationsIndexCommandCommand to rebuild DBLedgerStorage locations index.classRebuildDBLedgersIndexCommandCommand to rebuild DBLedgerStorage ledgers index.classRegenerateInterleavedStorageIndexFileCommandCommand to regenerate an index file for interleaved storage.classSanityTestCommandA bookie command to sanity test for local bookie.classUpdateBookieInLedgerCommandCommand to update ledger command. -
Uses of Command in org.apache.bookkeeper.tools.cli.commands.bookies
Classes in org.apache.bookkeeper.tools.cli.commands.bookies that implement Command Modifier and Type Class Description classClusterInfoCommandA bookie command to retrieve bookies cluster info.classDecommissionCommandCommand 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.classEndpointInfoCommandGet endpoint information about a Bookie.classInfoCommandA bookie command to retrieve bookie info.classInitCommandInitializes new cluster by creating required znodes for the cluster.classInstanceIdCommandCommand to print instance id of the cluster.classListBookiesCommandCommand to list available bookies.classMetaFormatCommandFormat the bookkeeper metadata present in zookeeper.classNukeExistingClusterCommandNuke bookkeeper metadata of existing cluster in zookeeper.classRecoverCommandCommand to ledger data recovery for failed bookie. -
Uses of Command in org.apache.bookkeeper.tools.cli.commands.client
Classes in org.apache.bookkeeper.tools.cli.commands.client that implement Command Modifier and Type Class Description classDeleteLedgerCommandCommand to delete a given ledger.classLedgerMetaDataCommandPrint the metadata for a ledger.classSimpleTestCommandA client command that simply tests if a cluster is healthy. -
Uses of Command in org.apache.bookkeeper.tools.cli.commands.cookie
Classes in org.apache.bookkeeper.tools.cli.commands.cookie that implement Command Modifier and Type Class Description classAdminCommandCommand to update cookie.(package private) classCookieCommand<CookieFlagsT extends CliFlags>This is a mixin for cookie related commands to extends.classCreateCookieCommandA command that create cookie.classDeleteCookieCommandA command that deletes cookie.classGenerateCookieCommandA command that generate cookie.classGetCookieCommandA command that deletes cookie.classUpdateCookieCommandA command that updates cookie. -
Uses of Command in org.apache.bookkeeper.tools.cli.commands.health
Classes in org.apache.bookkeeper.tools.cli.commands.health that implement Command Modifier and Type Class Description classSwitchOfHealthCheckCommandCommand to enable or disable health check in the cluster. -
Uses of Command in org.apache.bookkeeper.tools.cli.helpers
Classes in org.apache.bookkeeper.tools.cli.helpers that implement Command Modifier and Type Class Description classBookieCommand<BookieFlagsT extends CliFlags>This is a mixin for bookie related commands to extends.classClientCommand<ClientFlagsT extends CliFlags>This is a mixin class for commands that needs a bookkeeper client.classDiscoveryCommand<DiscoveryFlagsT extends CliFlags>This is a mixin for commands that talks to discovery service. -
Uses of Command in org.apache.bookkeeper.tools.common
Classes in org.apache.bookkeeper.tools.common that implement Command Modifier and Type Class Description classBKCommand<CommandFlagsT extends CliFlags>Base bk command class. -
Uses of Command in org.apache.bookkeeper.tools.framework
Subinterfaces of Command in org.apache.bookkeeper.tools.framework Modifier and Type Interface Description interfaceCommandGroup<GlobalFlagsT extends CliFlags>A command group that group commands together.Classes in org.apache.bookkeeper.tools.framework that implement Command Modifier and Type Class Description classCliCommand<GlobalFlagsT extends CliFlags,CommandFlagsT extends CliFlags>A command that runs a CLI spec.classCliCommandGroup<GlobalFlagsT extends CliFlags>A command group that group commands together.(package private) classHelpCommand<GlobalFlagsT extends CliFlags,CommandFlagsT extends CliFlags>Help command to show help information.Methods in org.apache.bookkeeper.tools.framework that return Command Modifier and Type Method Description (package private) CommandCli. getCommand(java.lang.String command)Methods in org.apache.bookkeeper.tools.framework that return types with arguments of type Command Modifier and Type Method Description java.util.Set<Command>CliSpec. commands()(package private) java.util.Map<java.lang.String,Command>Cli. getCommandMap()Methods in org.apache.bookkeeper.tools.framework with parameters of type Command Modifier and Type Method Description CliSpec.Builder<CliFlagsT>CliSpec.Builder. addCommand(Command command)Method parameters in org.apache.bookkeeper.tools.framework with type arguments of type Command Modifier and Type Method Description static voidCommandUtils. printAvailableCommands(java.util.Map<java.lang.String,Command> commands, java.io.PrintStream printer)Print the available commands in commander.(package private) static <CliFlagsT extends CliFlags>
com.beust.jcommander.JCommanderCli. setupCli(java.lang.String cmdPath, CliSpec<CliFlagsT> spec, java.util.Map<java.lang.String,Command> commandMap)
-