Class BulkLoadCollectorJob.BulkLoadCollectorMapper

java.lang.Object
org.apache.hadoop.mapreduce.Mapper<WALKey,WALEdit,org.apache.hadoop.io.Text,org.apache.hadoop.io.NullWritable>
org.apache.hadoop.hbase.backup.mapreduce.BulkLoadCollectorJob.BulkLoadCollectorMapper
Enclosing class:
BulkLoadCollectorJob

public static class BulkLoadCollectorJob.BulkLoadCollectorMapper extends org.apache.hadoop.mapreduce.Mapper<WALKey,WALEdit,org.apache.hadoop.io.Text,org.apache.hadoop.io.NullWritable>
Mapper that extracts relative bulk-load paths from a WAL entry (via BulkLoadProcessor), resolves them to full paths (via BackupFileSystemManager#resolveBulkLoadFullPath(Path, Path)), and emits each full path as the map key (Text). Uses the same table-filtering semantics as other WAL mappers: if no tables are configured, all tables are processed; otherwise only the configured table set is processed. Map output: (Text fullPathString, NullWritable)
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.apache.hadoop.mapreduce.Mapper

    org.apache.hadoop.mapreduce.Mapper.Context
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private final org.apache.hadoop.io.Text
     
    private final Map<TableName,TableName>
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    map(WALKey key, WALEdit value, org.apache.hadoop.mapreduce.Mapper<WALKey,WALEdit,org.apache.hadoop.io.Text,org.apache.hadoop.io.NullWritable>.org.apache.hadoop.mapreduce.Mapper.Context context)
     
    private String
     
    protected void
    setup(org.apache.hadoop.mapreduce.Mapper<WALKey,WALEdit,org.apache.hadoop.io.Text,org.apache.hadoop.io.NullWritable>.org.apache.hadoop.mapreduce.Mapper.Context context)
     

    Methods inherited from class org.apache.hadoop.mapreduce.Mapper

    cleanup, run

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait