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

Unify HFile Writer and Reader creation patterns

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Patch Available
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.0.0
    • Fix Version/s: None
    • Component/s: HFile
    • Labels:
      None

      Description

      There are a plethora of different static methods sprinkled through out HStoreFile and HFile, and many tests that have extraneous calls to 'new CacheConfig(conf)' or essentially extraneous FileSystem arguments threaded through out the code.

      This patch forces all creation to go through HFile Reader and Writer Builders, eliminates all static Builder constructors, and limits the exposure Reader/Writers . It also forces all HFile writer uses outside of the o.a.h.h.io.hfile package to use the StoreFile writers

        Attachments

        1. hbase-15069.patch
          126 kB
          Jonathan Hsieh
        2. hbase-15069.v2.patch
          127 kB
          Jonathan Hsieh
        3. hbase-15069.v3.patch
          126 kB
          Jonathan Hsieh
        4. hbase-15069.v4.patch
          127 kB
          Jonathan Hsieh
        5. hbase-15069.v4b.patch
          127 kB
          Jonathan Hsieh

          Issue Links

            Activity

              People

              • Assignee:
                jmhsieh Jonathan Hsieh
                Reporter:
                jmhsieh Jonathan Hsieh
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated: