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

clean up short circuit read logic and docs

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Patch Available
    • Major
    • Resolution: Unresolved
    • 2.0.0
    • None
    • regionserver
    • None

    Description

      Mailing list discussion at https://lists.apache.org/thread.html/f6f73df0ceae29f762f9b9088e3ffd0bf8f109d3dd692df100bf4fd6@%3Cdev.hbase.apache.org%3E

      There are several inconsistencies between how our docs claim we do things and how we actually do things.

      There are two docs sections that attempt to address how SCR should work.

      dfs.client.read.shortcircuit.skip.checksum is advised to set to true, but our code in separate places ignores it and then later sets it to true anyway.

      CommonFSUtils and FSUtils duplicate code related to SCR setup.

      There is a workaround in HFileSystem for a bug that's been fixed in all versions of hadoop that we support. (HADOOP-9307)

      We suggest setting dfs.client.read.shortcircuit.buffer.size to a value that is very close to what we'd set it to anyway, without clearly explaining why this is important.

      There are other properties that we claim are important, but we don't offer any suggestions or explanations.

      Attachments

        1. HBASE-20674.v6.patch
          37 kB
          Mike Drob
        2. HBASE-20674.v5.patch
          37 kB
          Mike Drob
        3. HBASE-20674.v4.patch
          35 kB
          Mike Drob
        4. HBASE-20674.v3.patch
          23 kB
          Mike Drob
        5. HBASE-20674.v2.patch
          22 kB
          Mike Drob
        6. HBASE-20674.patch
          19 kB
          Mike Drob

        Activity

          People

            Unassigned Unassigned
            mdrob Mike Drob
            Votes:
            0 Vote for this issue
            Watchers:
            10 Start watching this issue

            Dates

              Created:
              Updated: