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

ReplicationSource.openReader fails to locate HLogs when they aren't split yet

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.90.0
    • Component/s: None
    • Labels:
      None

      Description

      In ReplicationSource.openReader there's a special handling of HLogs location during a failover and it's currently broken as it will retry 10 times and if the log splitting isn't done by then then it will skip the file forever.

      First issue is that it looks at the chain of failovers but not the oldest one.

      Second issue is that the location is found starting from the current RS's folder, instead of the dead RS's folder.

        Attachments

        1. HBASE-3370.patch
          2 kB
          Jean-Daniel Cryans

          Activity

            People

            • Assignee:
              jdcryans Jean-Daniel Cryans
              Reporter:
              jdcryans Jean-Daniel Cryans
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: