[ https://issues.apache.org/jira/browse/HBASE-21300?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16702638#comment-16702638 ]
Guanghao Zhang commented on HBASE-21300: ---------------------------------------- TestMultiColumnScanner not related. And there is a issue HBASE-21520 for it. Let me commit it. And ping [~stack] for branch-2.1 and branch-2.0. > Fix the wrong reference file path when restoring snapshots for tables with > MOB columns > -------------------------------------------------------------------------------------- > > Key: HBASE-21300 > URL: https://issues.apache.org/jira/browse/HBASE-21300 > Project: HBase > Issue Type: Bug > Affects Versions: 3.0.0, 2.2.0 > Reporter: Yi Mei > Assignee: Yi Mei > Priority: Major > Attachments: HBASE-21300.master.001.patch, > HBASE-21300.master.002.patch, HBASE-21300.master.003.patch, > HBASE-21300.master.004.patch, HBASE-21300.master.005.patch, > HBASE-21300.master.006.patch, HBASE-21300.master.007.patch, > HBASE-21300.master.008.patch > > > 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: > {quote}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 > {quote} > The restore dir files are as follows: > {quote}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 > {quote} > > > -- This message was sent by Atlassian JIRA (v7.6.3#76005)