hbase-issues mailing list archives

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

    [ https://issues.apache.org/jira/browse/HBASE-14635?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15302082#comment-15302082
] 

Hudson commented on HBASE-14635:
--------------------------------

FAILURE: Integrated in HBase-1.4 #178 (See [https://builds.apache.org/job/HBase-1.4/178/])
HBASE-14635 Fix flaky test TestSnapshotCloneIndependence (matteo.bertozzi: rev 7af013b26747c5da3dd8000ae1f674e24811edf4)
* hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestSnapshotCloneIndependence.java


> 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