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

Tighten HFileLink api to enable non-snapshot uses

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.1.0, 2.0.0
    • 1.1.0, 2.0.0
    • snapshots
    • None
    • Reviewed

    Description

      In HBASE-12332 we'd like to use the FileLink's IO redirecting powers but want to be able to specify arbitrary alternate link paths and not be tied to the SnapshotFileLink file pattern (aka, table=region-hfile).

      To do this we need change the constructors and some internals so that it is more generic. Along the way, we remove the FileStatus constructor arguments in favor of Path's and reduce the number of ways to create HFileLinks, and tighten up the scope privacy of many methods.

      Attachments

        1. hbase-12749.patch
          23 kB
          Jonathan Hsieh
        2. hbase-12749.v2.patch
          29 kB
          Jonathan Hsieh
        3. hbase-12749.v3.patch
          29 kB
          Jonathan Hsieh
        4. hbase-12749.v4.patch
          28 kB
          Jonathan Hsieh

        Issue Links

          Activity

            People

              jmhsieh Jonathan Hsieh
              jmhsieh Jonathan Hsieh
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: