Class MetadataSchema.TabletsSection.ServerColumnFamily
- java.lang.Object
-
- org.apache.accumulo.core.metadata.schema.MetadataSchema.TabletsSection.ServerColumnFamily
-
- Enclosing class:
- MetadataSchema.TabletsSection
public static class MetadataSchema.TabletsSection.ServerColumnFamily extends Object
Column family for recording information used by the TServer
-
-
Field Summary
Fields Modifier and Type Field Description static ColumnFQ
COMPACT_COLUMN
static String
COMPACT_QUAL
Holds compact IDs to enable waiting on a compaction to completestatic String
DEFAULT_TABLET_DIR_NAME
Initial tablet directory name for the default tablet in all tablesstatic ColumnFQ
DIRECTORY_COLUMN
static String
DIRECTORY_QUAL
Holds the location of the tablet in the DFS file systemstatic ColumnFQ
FLUSH_COLUMN
static String
FLUSH_QUAL
Holds flush IDs to enable waiting on a flush to completestatic ColumnFQ
LOCK_COLUMN
static String
LOCK_QUAL
Holds lock IDs to enable a sanity check to ensure that the TServer writing to the metadata tablet is not deadstatic org.apache.hadoop.io.Text
NAME
static String
STR_NAME
static ColumnFQ
TIME_COLUMN
static String
TIME_QUAL
Holds theTimeType
-
Constructor Summary
Constructors Constructor Description ServerColumnFamily()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
isValidDirCol(String dirName)
Matches regex for a tablet directory like "default_tablet" or "t-000009x"static void
validateDirCol(String dirName)
-
-
-
Field Detail
-
STR_NAME
public static final String STR_NAME
- See Also:
- Constant Field Values
-
NAME
public static final org.apache.hadoop.io.Text NAME
-
DIRECTORY_QUAL
public static final String DIRECTORY_QUAL
Holds the location of the tablet in the DFS file system- See Also:
- Constant Field Values
-
DIRECTORY_COLUMN
public static final ColumnFQ DIRECTORY_COLUMN
-
DEFAULT_TABLET_DIR_NAME
public static final String DEFAULT_TABLET_DIR_NAME
Initial tablet directory name for the default tablet in all tables- See Also:
- Constant Field Values
-
TIME_QUAL
public static final String TIME_QUAL
Holds theTimeType
- See Also:
- Constant Field Values
-
TIME_COLUMN
public static final ColumnFQ TIME_COLUMN
-
FLUSH_QUAL
public static final String FLUSH_QUAL
Holds flush IDs to enable waiting on a flush to complete- See Also:
- Constant Field Values
-
FLUSH_COLUMN
public static final ColumnFQ FLUSH_COLUMN
-
COMPACT_QUAL
public static final String COMPACT_QUAL
Holds compact IDs to enable waiting on a compaction to complete- See Also:
- Constant Field Values
-
COMPACT_COLUMN
public static final ColumnFQ COMPACT_COLUMN
-
LOCK_QUAL
public static final String LOCK_QUAL
Holds lock IDs to enable a sanity check to ensure that the TServer writing to the metadata tablet is not dead- See Also:
- Constant Field Values
-
LOCK_COLUMN
public static final ColumnFQ LOCK_COLUMN
-
-
Method Detail
-
isValidDirCol
public static boolean isValidDirCol(String dirName)
Matches regex for a tablet directory like "default_tablet" or "t-000009x"- Returns:
- true if dirName is a valid value for the
DIRECTORY_COLUMN
in the metadata table. Returns false otherwise.
-
validateDirCol
public static void validateDirCol(String dirName)
- Throws:
IllegalArgumentException
- whenisValidDirCol(String)
returns false.
-
-