hbase-issues mailing list archives

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

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

Appy updated HBASE-14635:
-------------------------
    Description: 
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}

  was:Was disabled in the parent issue because flakey. This issue is about reenabling it after
figuring why its flakey.


> 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.3.0
>
>         Attachments: HBASE-14635-master-v2.patch, HBASE-14635-master-v3.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