Class ReplicationSinkTrackerTableCreator
java.lang.Object
org.apache.hadoop.hbase.replication.master.ReplicationSinkTrackerTableCreator
This will create
REPLICATION_SINK_TRACKER_TABLE_NAME_STR
table if
hbase.regionserver.replication.sink.tracker.enabled config key is enabled and table not created-
Field Summary
Modifier and TypeFieldDescriptionprivate static final org.slf4j.Logger
static final byte[]
static final boolean
static final String
Will createREPLICATION_SINK_TRACKER_TABLE_NAME_STR
table if this conf is enabledstatic final byte[]
TheREPLICATION_SINK_TRACKER_TABLE_NAME_STR
info family in array of bytesprivate static final String
TheREPLICATION_SINK_TRACKER_TABLE_NAME_STR
info family as a stringstatic final TableName
REPLICATION_SINK_TRACKER_TABLE_NAME_STR
table name - can be enabled with config - hbase.regionserver.replication.sink.tracker.enabledstatic final String
static final byte[]
private static final TableDescriptorBuilder
static final byte[]
private static final long
static final byte[]
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
createIfNeededAndNotExists
(org.apache.hadoop.conf.Configuration conf, MasterServices masterServices)
-
Field Details
-
LOG
-
TTL
-
RS_COLUMN
-
WAL_NAME_COLUMN
-
TIMESTAMP_COLUMN
-
OFFSET_COLUMN
-
REPLICATION_SINK_TRACKER_ENABLED_KEY
Will createREPLICATION_SINK_TRACKER_TABLE_NAME_STR
table if this conf is enabled- See Also:
-
REPLICATION_SINK_TRACKER_ENABLED_DEFAULT
- See Also:
-
REPLICATION_SINK_TRACKER_INFO_FAMILY_STR
TheREPLICATION_SINK_TRACKER_TABLE_NAME_STR
info family as a string- See Also:
-
REPLICATION_SINK_TRACKER_INFO_FAMILY
TheREPLICATION_SINK_TRACKER_TABLE_NAME_STR
info family in array of bytes -
REPLICATION_SINK_TRACKER_TABLE_NAME_STR
- See Also:
-
REPLICATION_SINK_TRACKER_TABLE_NAME
REPLICATION_SINK_TRACKER_TABLE_NAME_STR
table name - can be enabled with config - hbase.regionserver.replication.sink.tracker.enabled -
TABLE_DESCRIPTOR_BUILDER
-
-
Constructor Details
-
ReplicationSinkTrackerTableCreator
private ReplicationSinkTrackerTableCreator()
-
-
Method Details
-
createIfNeededAndNotExists
public static void createIfNeededAndNotExists(org.apache.hadoop.conf.Configuration conf, MasterServices masterServices) throws IOException - Throws:
IOException
-