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

HLogFactory should be able to accept multiple custom WALReaders in case of failure to read WAL logs due to upgrade/migrate of hbase

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Invalid
    • 0.96.0, 0.98.4
    • None
    • wal
    • None

    Description

      The HLogFactory createReader function allows the user to create their own reader and just assumes that the reader will work correctly.
      The default implementation checks between Protobuf and sequencefiles. However, the custom reader option does not account for any differences in the files.
      There should be an option or configuration to specify multiple custom readers in the case that an old custom reader was used for sequence files and and a custom reader is being used for protobuf instead of throwing an IPBRE
      The current HLogFactory does not allow me to fall back and handle upgraded file systems similar to the default case.

      Attachments

        1. HBASE_12437.patch
          4 kB
          Enoch Hsu

        Issue Links

          Activity

            People

              Unassigned Unassigned
              enhs8920 Enoch Hsu
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: