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

WASB: PageBlobInputStream.skip breaks HBASE replication

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.9.0, 3.0.2
    • 2.10.0, 3.2.0, 3.1.1, 2.9.2
    • fs/azure
    • None
    • 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-branch-2.001.patch
          28 kB
          Thomas Marqardt
        2. HADOOP-15446-003.patch
          28 kB
          Thomas Marqardt
        3. HADOOP-15446-002.patch
          28 kB
          Thomas Marqardt
        4. HADOOP-15446-001.patch
          29 kB
          Thomas Marqardt

        Activity

          People

            tmarquardt Thomas Marqardt
            tmarquardt Thomas Marqardt
            Votes:
            0 Vote for this issue
            Watchers:
            10 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: