Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-15446

WASB: PageBlobInputStream.skip breaks HBASE replication

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.9.0, 3.0.2
    • Fix Version/s: 2.10.0, 3.2.0, 3.1.1, 2.9.2
    • Component/s: fs/azure
    • Labels:
      None
    • Release Note:
      WASB: Bug fix to support non-sequential page blob reads. Required for HBASE replication.

      Description

      Page Blobs are primarily used by HBASE.  HBASE replication, which apparently has not been used with WASB until recently, performs non-sequential reads on log files using PageBlobInputStream.  There are bugs in this stream implementation which prevent skip and seek from working properly, and eventually the stream state becomes corrupt and unusable.

      I believe this bug affects all releases of WASB/HADOOP.  It appears to be a day-0 bug in PageBlobInputStream.  There were similar bugs opened in the past (HADOOP-15042) but the issue was not properly fixed, and no test coverage was added.

        Attachments

        1. HADOOP-15446-001.patch
          29 kB
          Thomas Marquardt
        2. HADOOP-15446-002.patch
          28 kB
          Thomas Marquardt
        3. HADOOP-15446-003.patch
          28 kB
          Thomas Marquardt
        4. HADOOP-15446-branch-2.001.patch
          28 kB
          Thomas Marquardt

          Activity

            People

            • Assignee:
              tmarquardt Thomas Marquardt
              Reporter:
              tmarquardt Thomas Marquardt
            • Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: