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
FieldsModifier and TypeFieldDescriptionprivate static final org.slf4j.Loggerstatic final byte[]static final booleanstatic final StringWill createREPLICATION_SINK_TRACKER_TABLE_NAME_STRtable if this conf is enabledstatic final byte[]TheREPLICATION_SINK_TRACKER_TABLE_NAME_STRinfo family in array of bytesprivate static final StringTheREPLICATION_SINK_TRACKER_TABLE_NAME_STRinfo family as a stringstatic final TableNameREPLICATION_SINK_TRACKER_TABLE_NAME_STRtable name - can be enabled with config - hbase.regionserver.replication.sink.tracker.enabledstatic final Stringstatic final byte[]private static final TableDescriptorBuilderstatic final byte[]private static final longstatic final byte[] -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcreateIfNeededAndNotExists(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_STRtable 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_STRinfo family as a string- See Also:
-
REPLICATION_SINK_TRACKER_INFO_FAMILY
TheREPLICATION_SINK_TRACKER_TABLE_NAME_STRinfo family in array of bytes -
REPLICATION_SINK_TRACKER_TABLE_NAME_STR
- See Also:
-
REPLICATION_SINK_TRACKER_TABLE_NAME
REPLICATION_SINK_TRACKER_TABLE_NAME_STRtable 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
-