hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matteo Bertozzi (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-14635) Fix flaky test TestSnapshotCloneIndependence
Date Thu, 26 May 2016 04:29:13 GMT

     [ https://issues.apache.org/jira/browse/HBASE-14635?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Matteo Bertozzi updated HBASE-14635:
------------------------------------
       Resolution: Fixed
    Fix Version/s:     (was: 1.3.0)
                   1.4.0
           Status: Resolved  (was: Patch Available)

> Fix flaky test TestSnapshotCloneIndependence
> --------------------------------------------
>
>                 Key: HBASE-14635
>                 URL: https://issues.apache.org/jira/browse/HBASE-14635
>             Project: HBase
>          Issue Type: Task
>          Components: test
>            Reporter: stack
>            Assignee: Appy
>             Fix For: 2.0.0, 1.4.0
>
>         Attachments: HBASE-14635-master-v2.patch, HBASE-14635-master-v3.patch, HBASE-14635-master-v4.patch,
HBASE-14635-master.patch
>
>
> So the main bug fix here is that if online is set to false, {{createSnapshotAndValidate}}
disables the original table.  So instead of current code doing
> {noformat}
> if (!online) {
>     tryDisable(admin, localTableName);
> }
> {noformat}
> we should be doing
> {noformat}
> if (!online) {
>   admin.enableTable(originalTableName);
>   UTIL.waitTableAvailable(originalTableName);
> }
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message