Uses of Class
org.apache.bookkeeper.bookie.BookieException
-
Packages that use BookieException Package Description org.apache.bookkeeper.bookie Provides a Bookie server that stores entries for clients.org.apache.bookkeeper.bookie.datainteg Package of the classes for defining bookie stats.org.apache.bookkeeper.bookie.storage.ldb Classes related to DB based ledger storage.org.apache.bookkeeper.discover Classes related to service discovery.org.apache.bookkeeper.meta Classes for interacting with bookkeeper ledgers and ledger metadata.org.apache.bookkeeper.proto Classes related to the Bookkeeper protocol. -
-
Uses of BookieException in org.apache.bookkeeper.bookie
Subclasses of BookieException in org.apache.bookkeeper.bookie Modifier and Type Class Description static classBookieException.BookieIllegalOpExceptionSignals that an illegal operation attempts to access the data in a bookie.static classBookieException.BookieUnauthorizedAccessExceptionSignals that an unauthorized operation attempts to access the data in a bookie.static classBookieException.CookieExistExceptionSignal that cookie already exists when creating a new cookie.static classBookieException.CookieNotFoundExceptionSignal that no cookie is found when starting a bookie.static classBookieException.DataUnknownExceptionSignal when a ledger is in a limbo state and certain operations cannot be performed on it.static classBookieException.DiskPartitionDuplicationExceptionSignals when multiple ledger/journal directories are mounted in same disk partition.static classBookieException.EntryLogMetadataMapExceptionSignal that error while accessing entry-log metadata map.static classBookieException.InvalidCookieExceptionSignal that an invalid cookie is found when starting a bookie.static classBookieException.LedgerFencedAndDeletedExceptionSignals that a ledger has been fenced in a bookie.static classBookieException.LedgerFencedExceptionSignals that a ledger has been fenced in a bookie.static classBookieException.MetadataStoreExceptionSignal when bookie has problems on accessing metadata store.static classBookieException.OperationRejectedExceptionSignals that a ledger's operation has been rejected by an internal component because of the resource saturation.static classBookieException.UnknownBookieIdExceptionSignal when bookie has problems on accessing metadata store.static classBookieException.UpgradeExceptionSignals that an exception occurs on upgrading a bookie.Methods in org.apache.bookkeeper.bookie that return BookieException Modifier and Type Method Description static BookieExceptionBookieException. create(int code)Methods in org.apache.bookkeeper.bookie that throw BookieException Modifier and Type Method Description voidBookie. addEntry(io.netty.buffer.ByteBuf entry, boolean ackBeforeSync, BookkeeperInternalCallbacks.WriteCallback cb, java.lang.Object ctx, byte[] masterKey)voidBookieImpl. addEntry(io.netty.buffer.ByteBuf entry, boolean ackBeforeSync, BookkeeperInternalCallbacks.WriteCallback cb, java.lang.Object ctx, byte[] masterKey)Add entry to a ledger.(package private) abstract longLedgerDescriptor. addEntry(io.netty.buffer.ByteBuf entry)(package private) longLedgerDescriptorImpl. addEntry(io.netty.buffer.ByteBuf entry)longLedgerStorage. addEntry(io.netty.buffer.ByteBuf entry)Add an entry to the storage.(package private) abstract voidLedgerDescriptor. checkAccess(byte[] masterKey)(package private) voidLedgerDescriptorImpl. checkAccess(byte[] masterKey)(package private) voidLedgerDescriptorReadOnlyImpl. checkAccess(byte[] masterKey)voidCookieValidation. checkCookies(java.util.List<java.io.File> directories)voidLegacyCookieValidation. checkCookies(java.util.List<java.io.File> directories)static MetadataBookieDriverBookieResources. createMetadataDriver(ServerConfiguration conf, StatsLogger statsLogger)Instantiate the metadata driver for the Bookie.voidCookie. deleteFromRegistrationManager(RegistrationManager rm, ServerConfiguration conf, Version version)Deletes cookie from registration manager.voidCookie. deleteFromRegistrationManager(RegistrationManager rm, BookieId address, Version version)Delete cookie from registration manager.booleanLedgerStorage. entryExists(long ledgerId, long entryId)Whether an entry exists.java.util.concurrent.CompletableFuture<java.lang.Boolean>Bookie. fenceLedger(long ledgerId, byte[] masterKey)Fences a ledger.java.util.concurrent.CompletableFuture<java.lang.Boolean>BookieImpl. fenceLedger(long ledgerId, byte[] masterKey)Fences a ledger.io.netty.buffer.ByteBufLedgerStorage. getEntry(long ledgerId, long entryId)Read an entry from storage.io.netty.buffer.ByteBufSortedLedgerStorage. getEntry(long ledgerId, long entryId)io.netty.buffer.ByteBufBookie. getExplicitLac(long ledgerId)io.netty.buffer.ByteBufBookieImpl. getExplicitLac(long ledgerId)(package private) abstract io.netty.buffer.ByteBufLedgerDescriptor. getExplicitLac()(package private) io.netty.buffer.ByteBufLedgerDescriptorImpl. getExplicitLac()io.netty.buffer.ByteBufLedgerStorage. getExplicitLac(long ledgerId)LedgerDescriptorHandleFactory. getHandle(long ledgerId, byte[] masterKey, boolean journalReplay)LedgerDescriptorHandleFactoryImpl. getHandle(long ledgerId, byte[] masterKey, boolean journalReplay)(package private) abstract longLedgerDescriptor. getLastAddConfirmed()(package private) longLedgerDescriptorImpl. getLastAddConfirmed()longLedgerStorage. getLastAddConfirmed(long ledgerId)Get last add confirmed.(package private) LedgerDescriptorBookieImpl. getLedgerForEntry(io.netty.buffer.ByteBuf entry, byte[] masterKey)Retrieve the ledger descriptor for the ledger which entry should be added to.(package private) abstract booleanLedgerDescriptor. isFenced()(package private) booleanLedgerDescriptorImpl. isFenced()booleanLedgerStorage. isFenced(long ledgerId)Check whether the ledger is fenced in ledger storage or not.static BookieImplBookieImpl. newBookieImpl(ServerConfiguration conf, RegistrationManager registrationManager, LedgerStorage storage, DiskChecker diskChecker, LedgerDirsManager ledgerDirsManager, LedgerDirsManager indexDirsManager, StatsLogger statsLogger, io.netty.buffer.ByteBufAllocator allocator, java.util.function.Supplier<BookieServiceInfo> bookieServiceInfoProvider)io.netty.buffer.ByteBufBookie. readEntry(long ledgerId, long entryId)io.netty.buffer.ByteBufBookieImpl. readEntry(long ledgerId, long entryId)(package private) abstract io.netty.buffer.ByteBufLedgerDescriptor. readEntry(long entryId)(package private) io.netty.buffer.ByteBufLedgerDescriptorImpl. readEntry(long entryId)static Versioned<Cookie>Cookie. readFromRegistrationManager(RegistrationManager rm, ServerConfiguration conf)Read cookie from registration manager.static Versioned<Cookie>Cookie. readFromRegistrationManager(RegistrationManager rm, BookieId address)Read cookie from registration manager for a given bookie address.(package private) voidBookieImpl. readJournal()longBookie. readLastAddConfirmed(long ledgerId)longBookieImpl. readLastAddConfirmed(long ledgerId)(package private) byte[]IndexPersistenceMgr. readMasterKey(long ledgerId)byte[]InterleavedLedgerStorage. readMasterKey(long ledgerId)byte[]InterleavedStorageRegenerateIndexOp.DryRunLedgerCache. readMasterKey(long ledgerId)byte[]LedgerCache. readMasterKey(long ledgerId)byte[]LedgerCacheImpl. readMasterKey(long ledgerId)byte[]LedgerStorage. readMasterKey(long ledgerId)Get the master key for a ledger.byte[]SortedLedgerStorage. readMasterKey(long ledgerId)voidBookie. recoveryAddEntry(io.netty.buffer.ByteBuf entry, BookkeeperInternalCallbacks.WriteCallback cb, java.lang.Object ctx, byte[] masterKey)voidBookieImpl. recoveryAddEntry(io.netty.buffer.ByteBuf entry, BookkeeperInternalCallbacks.WriteCallback cb, java.lang.Object ctx, byte[] masterKey)Add entry to a ledger, even if the ledger has previous been fenced.voidBookie. setExplicitLac(io.netty.buffer.ByteBuf entry, BookkeeperInternalCallbacks.WriteCallback writeCallback, java.lang.Object ctx, byte[] masterKey)voidBookieImpl. setExplicitLac(io.netty.buffer.ByteBuf entry, BookkeeperInternalCallbacks.WriteCallback writeCallback, java.lang.Object ctx, byte[] masterKey)voidCookie. writeToRegistrationManager(RegistrationManager rm, ServerConfiguration conf, Version version)Writes cookie details to registration manager.Constructors in org.apache.bookkeeper.bookie that throw BookieException Constructor Description BookieImpl(ServerConfiguration conf, RegistrationManager registrationManager, LedgerStorage storage, DiskChecker diskChecker, LedgerDirsManager ledgerDirsManager, LedgerDirsManager indexDirsManager, StatsLogger statsLogger, io.netty.buffer.ByteBufAllocator allocator, java.util.function.Supplier<BookieServiceInfo> bookieServiceInfoProvider)ReadOnlyBookie(ServerConfiguration conf, RegistrationManager registrationManager, LedgerStorage storage, DiskChecker diskChecker, LedgerDirsManager ledgerDirsManager, LedgerDirsManager indexDirsManager, StatsLogger statsLogger, io.netty.buffer.ByteBufAllocator allocator, java.util.function.Supplier<BookieServiceInfo> bookieServiceInfoProvider) -
Uses of BookieException in org.apache.bookkeeper.bookie.datainteg
Methods in org.apache.bookkeeper.bookie.datainteg that throw BookieException Modifier and Type Method Description voidDataIntegrityCookieValidation. checkCookies(java.util.List<java.io.File> directories)(package private) booleanDataIntegrityCheckImpl. isEntryMissing(WriteSets writeSets, java.util.NavigableMap<java.lang.Long,java.lang.Integer> bookieIndices, long ledgerId, long entryId) -
Uses of BookieException in org.apache.bookkeeper.bookie.storage.ldb
Methods in org.apache.bookkeeper.bookie.storage.ldb that throw BookieException Modifier and Type Method Description longDbLedgerStorage. addEntry(io.netty.buffer.ByteBuf entry)longSingleDirectoryDbLedgerStorage. addEntry(io.netty.buffer.ByteBuf entry)booleanDbLedgerStorage. entryExists(long ledgerId, long entryId)booleanSingleDirectoryDbLedgerStorage. entryExists(long ledgerId, long entryId)io.netty.buffer.ByteBufDbLedgerStorage. getEntry(long ledgerId, long entryId)io.netty.buffer.ByteBufSingleDirectoryDbLedgerStorage. getEntry(long ledgerId, long entryId)io.netty.buffer.ByteBufDbLedgerStorage. getExplicitLac(long ledgerId)io.netty.buffer.ByteBufSingleDirectoryDbLedgerStorage. getExplicitLac(long ledgerId)longDbLedgerStorage. getLastAddConfirmed(long ledgerId)longSingleDirectoryDbLedgerStorage. getLastAddConfirmed(long ledgerId)io.netty.buffer.ByteBufDbLedgerStorage. getLastEntry(long ledgerId)io.netty.buffer.ByteBufSingleDirectoryDbLedgerStorage. getLastEntry(long ledgerId)booleanDbLedgerStorage. isFenced(long ledgerId)booleanSingleDirectoryDbLedgerStorage. isFenced(long ledgerId)byte[]DbLedgerStorage. readMasterKey(long ledgerId)byte[]SingleDirectoryDbLedgerStorage. readMasterKey(long ledgerId) -
Uses of BookieException in org.apache.bookkeeper.discover
Methods in org.apache.bookkeeper.discover that throw BookieException Modifier and Type Method Description java.lang.StringRegistrationManager. getClusterInstanceId()Return the cluster instance id.java.lang.StringZKRegistrationManager. getClusterInstanceId()booleanRegistrationManager. isBookieRegistered(BookieId bookieId)Checks if Bookie with the given BookieId is registered as readwrite or readonly bookie.booleanZKRegistrationManager. isBookieRegistered(BookieId bookieId)Versioned<byte[]>RegistrationManager. readCookie(BookieId bookieId)Read the cookie data, which will be used for verifying the integrity of the bookie environment.Versioned<byte[]>ZKRegistrationManager. readCookie(BookieId bookieId)voidRegistrationManager. registerBookie(BookieId bookieId, boolean readOnly, BookieServiceInfo serviceInfo)Registering the bookie server as bookieId.voidZKRegistrationManager. registerBookie(BookieId bookieId, boolean readOnly, BookieServiceInfo bookieServiceInfo)voidRegistrationManager. removeCookie(BookieId bookieId, Version version)Remove the cookie data.voidZKRegistrationManager. removeCookie(BookieId bookieId, Version version)voidRegistrationManager. unregisterBookie(BookieId bookieId, boolean readOnly)Unregistering the bookie server as bookieId.voidZKRegistrationManager. unregisterBookie(BookieId bookieId, boolean readOnly)voidRegistrationManager. writeCookie(BookieId bookieId, Versioned<byte[]> cookieData)Write the cookie data, which will be used for verifying the integrity of the bookie environment.voidZKRegistrationManager. writeCookie(BookieId bookieId, Versioned<byte[]> cookieData) -
Uses of BookieException in org.apache.bookkeeper.meta
Methods in org.apache.bookkeeper.meta that throw BookieException Modifier and Type Method Description Versioned<byte[]>NullMetadataBookieDriver.NullRegistrationManager. readCookie(BookieId bookieId)voidNullMetadataBookieDriver.NullRegistrationManager. writeCookie(BookieId bookieId, Versioned<byte[]> cookieData) -
Uses of BookieException in org.apache.bookkeeper.proto
Methods in org.apache.bookkeeper.proto that throw BookieException Modifier and Type Method Description static BookieServerBookieServer. newBookieServer(ServerConfiguration conf, Bookie bookie, StatsLogger statsLogger, io.netty.buffer.ByteBufAllocator allocator, UncleanShutdownDetection uncleanShutdownDetection)protected BookkeeperProtocol.ReadResponseLongPollReadEntryProcessorV3. readEntry(BookkeeperProtocol.ReadResponse.Builder readResponseBuilder, long entryId, com.google.common.base.Stopwatch startTimeSw)protected BookkeeperProtocol.ReadResponseReadEntryProcessorV3. readEntry(BookkeeperProtocol.ReadResponse.Builder readResponseBuilder, long entryId, boolean readLACPiggyBack, com.google.common.base.Stopwatch startTimeSw)Read a specific entry.protected BookkeeperProtocol.ReadResponseReadEntryProcessorV3. readEntry(BookkeeperProtocol.ReadResponse.Builder readResponseBuilder, long entryId, com.google.common.base.Stopwatch startTimeSw)Read a specific entry.Constructors in org.apache.bookkeeper.proto that throw BookieException Constructor Description BookieNettyServer(ServerConfiguration conf, RequestProcessor processor, io.netty.buffer.ByteBufAllocator allocator)BookieServer(ServerConfiguration conf, Bookie bookie, StatsLogger statsLogger, io.netty.buffer.ByteBufAllocator allocator, UncleanShutdownDetection uncleanShutdownDetection)
-