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

Fix the wrong reference file path when restoring snapshots for tables with MOB columns

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.0-alpha-1, 2.2.0
    • Fix Version/s: 3.0.0-alpha-1, 2.2.0, 2.0.3, 2.1.2
    • Component/s: None
    • Labels:
      None

      Description

      When restoring snapshots for tables with MOB columns, the reference files for mob region are created under hbase root dir, rather than restore dir.

      Some of the mob reference file paths are as follows:

      hdfs:/7ae0d109-3ca4-d0e7-7250-62ed234ab247/mobdir/data/ns_testMob/testMob
      hdfs:/7ae0d109-3ca4-d0e7-7250-62ed234ab247/mobdir/data/ns_testMob/testMob/057a856eb65753c6e6bdb168ba58a0b2
      hdfs:/7ae0d109-3ca4-d0e7-7250-62ed234ab247/mobdir/data/ns_testMob/testMob/057a856eb65753c6e6bdb168ba58a0b2/A
      hdfs:/7ae0d109-3ca4-d0e7-7250-62ed234ab247/mobdir/data/ns_testMob/testMob/057a856eb65753c6e6bdb168ba58a0b2/A/d41d8cd98f00b204e9800998ecf8427e201810120fc8e2446f174598a7280a81b1134cee
      hdfs:/7ae0d109-3ca4-d0e7-7250-62ed234ab247/mobdir/data/ns_testMob/testMob/057a856eb65753c6e6bdb168ba58a0b2/A/ns_testMob=testMob=057a856eb65753c6e6bdb168ba58a0b2-d41d8cd98f00b204e9800998ecf8427e201810120fc8e2446f174598a7280a81b1134cee

      The restore dir files are as follows:

      hdfs://hbase/.tmpdir-to-restore-snapshot/856e06fa-e018-4e95-9647-2cfbd5161e7e
      hdfs://hbase/.tmpdir-to-restore-snapshot/856e06fa-e018-4e95-9647-2cfbd5161e7e/data
      hdfs://hbase/.tmpdir-to-restore-snapshot/856e06fa-e018-4e95-9647-2cfbd5161e7e/data/ns_testMob
      hdfs://hbase/.tmpdir-to-restore-snapshot/856e06fa-e018-4e95-9647-2cfbd5161e7e/data/ns_testMob/testMob
      hdfs://hbase/.tmpdir-to-restore-snapshot/856e06fa-e018-4e95-9647-2cfbd5161e7e/data/ns_testMob/testMob/ecdf66f0d8c09a816faf37336ad262e1
      hdfs://hbase/.tmpdir-to-restore-snapshot/856e06fa-e018-4e95-9647-2cfbd5161e7e/data/ns_testMob/testMob/ecdf66f0d8c09a816faf37336ad262e1/.regioninfo
      hdfs://hbase/.tmpdir-to-restore-snapshot/856e06fa-e018-4e95-9647-2cfbd5161e7e/data/ns_testMob/testMob/ecdf66f0d8c09a816faf37336ad262e1/A
      hdfs://hbase/.tmpdir-to-restore-snapshot/856e06fa-e018-4e95-9647-2cfbd5161e7e/data/ns_testMob/testMob/ecdf66f0d8c09a816faf37336ad262e1/A/ns_testMob=testMob=ecdf66f0d8c09a816faf37336ad262e1-7208172df03b46518370643aa28ffd05

       

       

       

        Attachments

        1. HBASE-21300.master.001.patch
          3 kB
          Yi Mei
        2. HBASE-21300.master.002.patch
          10 kB
          Yi Mei
        3. HBASE-21300.master.003.patch
          12 kB
          Yi Mei
        4. HBASE-21300.master.004.patch
          14 kB
          Yi Mei
        5. HBASE-21300.master.005.patch
          14 kB
          Yi Mei
        6. HBASE-21300.master.006.patch
          14 kB
          Yi Mei
        7. HBASE-21300.master.007.patch
          14 kB
          Yi Mei
        8. HBASE-21300.master.008.patch
          14 kB
          Yi Mei
        9. HBASE-21300.branch-2.1.001.patch
          14 kB
          Yi Mei
        10. HBASE-21300.branch-2.0.001.patch
          14 kB
          Yi Mei

          Activity

            People

            • Assignee:
              meiyi Yi Mei
              Reporter:
              meiyi Yi Mei
            • Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: