Package org.apache.accumulo.core.logging
Class TabletLogger
- java.lang.Object
-
- org.apache.accumulo.core.logging.TabletLogger
-
public class TabletLogger extends Object
This class contains source for logs messages about a tablets internal state, like its location, set of files, metadata.- See Also:
org.apache.accumulo.core.logging
-
-
Constructor Summary
Constructors Constructor Description TabletLogger()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
assigned(KeyExtent extent, TServerInstance server)
A decision was made to assign a tablet to a tablet server process.static void
bulkImported(KeyExtent extent, TabletFile file)
static void
compacted(KeyExtent extent, CompactionJob job, TabletFile output)
static void
compacting(KeyExtent extent, CompactionJob job, CompactionConfig config)
static void
flushed(KeyExtent extent, Optional<StoredTabletFile> newDatafile)
static boolean
isWalRefLoggingEnabled()
static void
loaded(KeyExtent extent, TServerInstance server)
static void
loading(KeyExtent extent, TServerInstance server)
A tablet server has received an assignment message from manager and queued the tablet for loading.static void
missassigned(KeyExtent extent, String goalState, String currentState, TServerInstance future, TServerInstance current, int walogs)
Called when a tablet's current assignment state does not match the goal state.static void
recovered(KeyExtent extent, List<LogEntry> logEntries, long numMutation, long numEntries)
static void
recovering(KeyExtent extent, List<LogEntry> logEntries)
static void
selected(KeyExtent extent, CompactionKind kind, Collection<? extends TabletFile> inputs)
static void
split(KeyExtent parent, KeyExtent lowChild, KeyExtent highChild, TServerInstance server)
static void
suspended(KeyExtent extent, HostAndPort server, long time, TimeUnit timeUnit, int numWalogs)
static void
unassigned(KeyExtent extent, int logCount)
static void
unsuspended(KeyExtent extent)
static void
walRefsChanged(KeyExtent extent, Collection<String> refsSupplier)
Called when the set of write ahead logs a tablet currently has unflushed data in changes.
-
-
-
Method Detail
-
assigned
public static void assigned(KeyExtent extent, TServerInstance server)
A decision was made to assign a tablet to a tablet server process. Accumulo will stick to this decision until the tablet server loads the tablet or dies.
-
loading
public static void loading(KeyExtent extent, TServerInstance server)
A tablet server has received an assignment message from manager and queued the tablet for loading.
-
suspended
public static void suspended(KeyExtent extent, HostAndPort server, long time, TimeUnit timeUnit, int numWalogs)
-
unsuspended
public static void unsuspended(KeyExtent extent)
-
loaded
public static void loaded(KeyExtent extent, TServerInstance server)
-
unassigned
public static void unassigned(KeyExtent extent, int logCount)
-
split
public static void split(KeyExtent parent, KeyExtent lowChild, KeyExtent highChild, TServerInstance server)
-
missassigned
public static void missassigned(KeyExtent extent, String goalState, String currentState, TServerInstance future, TServerInstance current, int walogs)
Called when a tablet's current assignment state does not match the goal state.
-
selected
public static void selected(KeyExtent extent, CompactionKind kind, Collection<? extends TabletFile> inputs)
-
compacting
public static void compacting(KeyExtent extent, CompactionJob job, CompactionConfig config)
-
compacted
public static void compacted(KeyExtent extent, CompactionJob job, TabletFile output)
-
flushed
public static void flushed(KeyExtent extent, Optional<StoredTabletFile> newDatafile)
-
bulkImported
public static void bulkImported(KeyExtent extent, TabletFile file)
-
recovered
public static void recovered(KeyExtent extent, List<LogEntry> logEntries, long numMutation, long numEntries)
-
isWalRefLoggingEnabled
public static boolean isWalRefLoggingEnabled()
-
walRefsChanged
public static void walRefsChanged(KeyExtent extent, Collection<String> refsSupplier)
Called when the set of write ahead logs a tablet currently has unflushed data in changes.
-
-