Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-28268

Provide option to skip wal while using TableOutputFormat

    XMLWordPrintableJSON

Details

    • Reviewed

    Description

      If we have replication setup between clusters A <-> B, during production incidents where HFiles get corrupted (e.g. via hdfs missing blocks) on cluster A, we can use CopyTable job to copy the data from B

      In those cases considering the data is being copied from B to A via CopyTable, it doesn't make sense to write to WALs on A using TableOutputFormat (since the mutations being copied already exist on B).
      We can add a config to customise durability (https://github.com/apache/hbase/blob/master/hbase-client/src/main/java/org/apache/hadoop/hbase/client/Durability.java) within TableOutputFormat so that an operator can use it to skip WAL writes

      Attachments

        Activity

          People

            raghavendra.b Raghavendra B
            ukumar Ujjawal Kumar
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: