You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Matteo Bertozzi (JIRA)" <ji...@apache.org> on 2013/01/28 02:51:14 UTC

[jira] [Created] (HBASE-7689) CloneTableHandler notify completion too early

Matteo Bertozzi created HBASE-7689:
--------------------------------------

             Summary: CloneTableHandler notify completion too early
                 Key: HBASE-7689
                 URL: https://issues.apache.org/jira/browse/HBASE-7689
             Project: HBase
          Issue Type: Sub-task
          Components: snapshots
    Affects Versions: hbase-6055
            Reporter: Matteo Bertozzi
            Assignee: Matteo Bertozzi
             Fix For: hbase-6055, 0.96.0


With HBASE-7365 the clone table handler notify that the clone is finished before the base create table handler has moved the table folder in place and added regions to .META.

If the client call isRestoreDone() before the META+disk update gets an exception like this:
{code}
org.apache.hadoop.hbase.TableNotFoundException: clonedtb-1359268409309
	at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegionInMeta(HConnectionManager.java:991)
	at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegion(HConnectionManager.java:856)
	at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegion(HConnectionManager.java:813)
	at org.apache.hadoop.hbase.client.HTable.finishSetup(HTable.java:234)
	at org.apache.hadoop.hbase.client.HTable.<init>(HTable.java:174)
	at org.apache.hadoop.hbase.client.TestRestoreSnapshotFromClient.verifyRowCount(TestRestoreSnapshotFromClient.java:387)
	at org.apache.hadoop.hbase.client.TestRestoreSnapshotFromClient.testCloneSnapshot(TestRestoreSnapshotFromClient.java:259)
	at org.apache.hadoop.hbase.client.TestRestoreSnapshotFromClient.testCloneSnapshot(TestRestoreSnapshotFromClient.java:251)
{code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira