You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Jimmy Xiang (Created) (JIRA)" <ji...@apache.org> on 2011/12/31 05:23:33 UTC

[jira] [Created] (HBASE-5112) TestReplication#queueFailover flaky due to code error

TestReplication#queueFailover flaky due to code error
-----------------------------------------------------

                 Key: HBASE-5112
                 URL: https://issues.apache.org/jira/browse/HBASE-5112
             Project: HBase
          Issue Type: Bug
    Affects Versions: 0.92.0, 0.94.0
            Reporter: Jimmy Xiang
            Assignee: Jimmy Xiang


In TestReplication#queueFailover, the second scan is not reset for each new scan.  Followed scan may not be able to scan the whole table.
So it cannot get all the data and the test fails.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HBASE-5112) TestReplication#queueFailover flaky due to potentially uninitialized Scan

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-5112?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13177990#comment-13177990 ] 

Hudson commented on HBASE-5112:
-------------------------------

Integrated in HBase-0.92 #221 (See [https://builds.apache.org/job/HBase-0.92/221/])
    HBASE-5112  TestReplication#queueFailover flaky due to potentially
               uninitialized Scan (Jimmy Xiang)

tedyu : 
Files : 
* /hbase/branches/0.92/CHANGES.txt
* /hbase/branches/0.92/src/test/java/org/apache/hadoop/hbase/replication/TestReplication.java

                
> TestReplication#queueFailover flaky due to potentially uninitialized Scan
> -------------------------------------------------------------------------
>
>                 Key: HBASE-5112
>                 URL: https://issues.apache.org/jira/browse/HBASE-5112
>             Project: HBase
>          Issue Type: Test
>    Affects Versions: 0.92.0, 0.94.0
>            Reporter: Jimmy Xiang
>            Assignee: Jimmy Xiang
>             Fix For: 0.92.0, 0.94.0
>
>         Attachments: 5112-v2.txt, hbase-5112.patch
>
>
> In TestReplication#queueFailover, the second scan is not reset for each new scan.  Followed scan may not be able to scan the whole table.
> So it cannot get all the data and the test fails.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HBASE-5112) TestReplication#queueFailover flaky due to code error

Posted by "Zhihong Yu (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-5112?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Zhihong Yu updated HBASE-5112:
------------------------------

    Fix Version/s: 0.94.0
                   0.92.0
       Issue Type: Test  (was: Bug)
    
> TestReplication#queueFailover flaky due to code error
> -----------------------------------------------------
>
>                 Key: HBASE-5112
>                 URL: https://issues.apache.org/jira/browse/HBASE-5112
>             Project: HBase
>          Issue Type: Test
>    Affects Versions: 0.92.0, 0.94.0
>            Reporter: Jimmy Xiang
>            Assignee: Jimmy Xiang
>             Fix For: 0.92.0, 0.94.0
>
>         Attachments: hbase-5112.patch
>
>
> In TestReplication#queueFailover, the second scan is not reset for each new scan.  Followed scan may not be able to scan the whole table.
> So it cannot get all the data and the test fails.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HBASE-5112) TestReplication#queueFailover flaky due to code error

Posted by "Jimmy Xiang (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-5112?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13177887#comment-13177887 ] 

Jimmy Xiang commented on HBASE-5112:
------------------------------------

@Ted, could you please give this patch a try on your MacBook?  I could not reproduce the failure on my box.
I looked into the code carefully and this fix should make this testcase not flaky any more.
                
> TestReplication#queueFailover flaky due to code error
> -----------------------------------------------------
>
>                 Key: HBASE-5112
>                 URL: https://issues.apache.org/jira/browse/HBASE-5112
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 0.92.0, 0.94.0
>            Reporter: Jimmy Xiang
>            Assignee: Jimmy Xiang
>         Attachments: hbase-5112.patch
>
>
> In TestReplication#queueFailover, the second scan is not reset for each new scan.  Followed scan may not be able to scan the whole table.
> So it cannot get all the data and the test fails.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HBASE-5112) TestReplication#queueFailover flaky due to potentially uninitialized Scan

Posted by "Zhihong Yu (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-5112?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Zhihong Yu updated HBASE-5112:
------------------------------

    Attachment: org.apache.hadoop.hbase.replication.TestReplication-output.txt

TestReplication still fails on Linux during a test suite run.
Attached is test output.
                
> TestReplication#queueFailover flaky due to potentially uninitialized Scan
> -------------------------------------------------------------------------
>
>                 Key: HBASE-5112
>                 URL: https://issues.apache.org/jira/browse/HBASE-5112
>             Project: HBase
>          Issue Type: Test
>    Affects Versions: 0.92.0, 0.94.0
>            Reporter: Jimmy Xiang
>            Assignee: Jimmy Xiang
>             Fix For: 0.92.0, 0.94.0
>
>         Attachments: 5112-v2.txt, hbase-5112.patch, org.apache.hadoop.hbase.replication.TestReplication-output.txt
>
>
> In TestReplication#queueFailover, the second scan is not reset for each new scan.  Followed scan may not be able to scan the whole table.
> So it cannot get all the data and the test fails.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HBASE-5112) TestReplication#queueFailover flaky due to potentially uninitialized Scan

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-5112?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13178004#comment-13178004 ] 

Hudson commented on HBASE-5112:
-------------------------------

Integrated in HBase-TRUNK #2596 (See [https://builds.apache.org/job/HBase-TRUNK/2596/])
    HBASE-5112  TestReplication#queueFailover flaky due to potentially
               uninitialized Scan (Jimmy Xiang)

tedyu : 
Files : 
* /hbase/trunk/CHANGES.txt
* /hbase/trunk/src/test/java/org/apache/hadoop/hbase/replication/TestReplication.java

                
> TestReplication#queueFailover flaky due to potentially uninitialized Scan
> -------------------------------------------------------------------------
>
>                 Key: HBASE-5112
>                 URL: https://issues.apache.org/jira/browse/HBASE-5112
>             Project: HBase
>          Issue Type: Test
>    Affects Versions: 0.92.0, 0.94.0
>            Reporter: Jimmy Xiang
>            Assignee: Jimmy Xiang
>             Fix For: 0.92.0, 0.94.0
>
>         Attachments: 5112-v2.txt, hbase-5112.patch
>
>
> In TestReplication#queueFailover, the second scan is not reset for each new scan.  Followed scan may not be able to scan the whole table.
> So it cannot get all the data and the test fails.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HBASE-5112) TestReplication#queueFailover flaky due to potentially uninitialized Scan

Posted by "Hadoop QA (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-5112?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13178124#comment-13178124 ] 

Hadoop QA commented on HBASE-5112:
----------------------------------

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12508999/org.apache.hadoop.hbase.replication.TestReplication-output.txt
  against trunk revision .

    +1 @author.  The patch does not contain any @author tags.

    +1 tests included.  The patch appears to include 367 new or modified tests.

    -1 patch.  The patch command could not apply the patch.

Console output: https://builds.apache.org/job/PreCommit-HBASE-Build/644//console

This message is automatically generated.
                
> TestReplication#queueFailover flaky due to potentially uninitialized Scan
> -------------------------------------------------------------------------
>
>                 Key: HBASE-5112
>                 URL: https://issues.apache.org/jira/browse/HBASE-5112
>             Project: HBase
>          Issue Type: Test
>    Affects Versions: 0.92.0, 0.94.0
>            Reporter: Jimmy Xiang
>            Assignee: Jimmy Xiang
>             Fix For: 0.92.0, 0.94.0
>
>         Attachments: 5112-v2.txt, hbase-5112.patch, org.apache.hadoop.hbase.replication.TestReplication-output.txt
>
>
> In TestReplication#queueFailover, the second scan is not reset for each new scan.  Followed scan may not be able to scan the whole table.
> So it cannot get all the data and the test fails.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HBASE-5112) TestReplication#queueFailover flaky due to potentially uninitialized Scan

Posted by "Lars Hofhansl (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-5112?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13177895#comment-13177895 ] 

Lars Hofhansl commented on HBASE-5112:
--------------------------------------

+1 on v2
                
> TestReplication#queueFailover flaky due to potentially uninitialized Scan
> -------------------------------------------------------------------------
>
>                 Key: HBASE-5112
>                 URL: https://issues.apache.org/jira/browse/HBASE-5112
>             Project: HBase
>          Issue Type: Test
>    Affects Versions: 0.92.0, 0.94.0
>            Reporter: Jimmy Xiang
>            Assignee: Jimmy Xiang
>             Fix For: 0.92.0, 0.94.0
>
>         Attachments: 5112-v2.txt, hbase-5112.patch
>
>
> In TestReplication#queueFailover, the second scan is not reset for each new scan.  Followed scan may not be able to scan the whole table.
> So it cannot get all the data and the test fails.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HBASE-5112) TestReplication#queueFailover flaky due to code error

Posted by "Jimmy Xiang (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-5112?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jimmy Xiang updated HBASE-5112:
-------------------------------

    Status: Patch Available  (was: Open)
    
> TestReplication#queueFailover flaky due to code error
> -----------------------------------------------------
>
>                 Key: HBASE-5112
>                 URL: https://issues.apache.org/jira/browse/HBASE-5112
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 0.92.0, 0.94.0
>            Reporter: Jimmy Xiang
>            Assignee: Jimmy Xiang
>         Attachments: hbase-5112.patch
>
>
> In TestReplication#queueFailover, the second scan is not reset for each new scan.  Followed scan may not be able to scan the whole table.
> So it cannot get all the data and the test fails.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HBASE-5112) TestReplication#queueFailover flaky due to potentially uninitialized Scan

Posted by "Lars Hofhansl (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-5112?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13178080#comment-13178080 ] 

Lars Hofhansl commented on HBASE-5112:
--------------------------------------

There might be multiple issues. This patch is still good, I think.
                
> TestReplication#queueFailover flaky due to potentially uninitialized Scan
> -------------------------------------------------------------------------
>
>                 Key: HBASE-5112
>                 URL: https://issues.apache.org/jira/browse/HBASE-5112
>             Project: HBase
>          Issue Type: Test
>    Affects Versions: 0.92.0, 0.94.0
>            Reporter: Jimmy Xiang
>            Assignee: Jimmy Xiang
>             Fix For: 0.92.0, 0.94.0
>
>         Attachments: 5112-v2.txt, hbase-5112.patch, org.apache.hadoop.hbase.replication.TestReplication-output.txt
>
>
> In TestReplication#queueFailover, the second scan is not reset for each new scan.  Followed scan may not be able to scan the whole table.
> So it cannot get all the data and the test fails.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HBASE-5112) TestReplication#queueFailover flaky due to code error

Posted by "Jimmy Xiang (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-5112?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jimmy Xiang updated HBASE-5112:
-------------------------------

    Attachment: hbase-5112.patch
    
> TestReplication#queueFailover flaky due to code error
> -----------------------------------------------------
>
>                 Key: HBASE-5112
>                 URL: https://issues.apache.org/jira/browse/HBASE-5112
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 0.92.0, 0.94.0
>            Reporter: Jimmy Xiang
>            Assignee: Jimmy Xiang
>         Attachments: hbase-5112.patch
>
>
> In TestReplication#queueFailover, the second scan is not reset for each new scan.  Followed scan may not be able to scan the whole table.
> So it cannot get all the data and the test fails.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HBASE-5112) TestReplication#queueFailover flaky due to code error

Posted by "Lars Hofhansl (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-5112?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13177891#comment-13177891 ] 

Lars Hofhansl commented on HBASE-5112:
--------------------------------------

Nice find. +1 on patch.
                
> TestReplication#queueFailover flaky due to code error
> -----------------------------------------------------
>
>                 Key: HBASE-5112
>                 URL: https://issues.apache.org/jira/browse/HBASE-5112
>             Project: HBase
>          Issue Type: Test
>    Affects Versions: 0.92.0, 0.94.0
>            Reporter: Jimmy Xiang
>            Assignee: Jimmy Xiang
>             Fix For: 0.92.0, 0.94.0
>
>         Attachments: hbase-5112.patch
>
>
> In TestReplication#queueFailover, the second scan is not reset for each new scan.  Followed scan may not be able to scan the whole table.
> So it cannot get all the data and the test fails.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HBASE-5112) TestReplication#queueFailover flaky due to potentially uninitialized Scan

Posted by "Zhihong Yu (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-5112?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Zhihong Yu updated HBASE-5112:
------------------------------

    Hadoop Flags: Reviewed
         Summary: TestReplication#queueFailover flaky due to potentially uninitialized Scan  (was: TestReplication#queueFailover flaky due to code error)
    
> TestReplication#queueFailover flaky due to potentially uninitialized Scan
> -------------------------------------------------------------------------
>
>                 Key: HBASE-5112
>                 URL: https://issues.apache.org/jira/browse/HBASE-5112
>             Project: HBase
>          Issue Type: Test
>    Affects Versions: 0.92.0, 0.94.0
>            Reporter: Jimmy Xiang
>            Assignee: Jimmy Xiang
>             Fix For: 0.92.0, 0.94.0
>
>         Attachments: hbase-5112.patch
>
>
> In TestReplication#queueFailover, the second scan is not reset for each new scan.  Followed scan may not be able to scan the whole table.
> So it cannot get all the data and the test fails.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HBASE-5112) TestReplication#queueFailover flaky due to potentially uninitialized Scan

Posted by "Zhihong Yu (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-5112?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13177893#comment-13177893 ] 

Zhihong Yu commented on HBASE-5112:
-----------------------------------

I looped TestReplication#queueFailover 5 times using both 5112-v2.txt and 5099.92 - no error

I am looping TestReplication itself 5 more times.

Will integrate both 5112 and 5099 if there is no error.

Thanks for the New Year present, Jimmy.
                
> TestReplication#queueFailover flaky due to potentially uninitialized Scan
> -------------------------------------------------------------------------
>
>                 Key: HBASE-5112
>                 URL: https://issues.apache.org/jira/browse/HBASE-5112
>             Project: HBase
>          Issue Type: Test
>    Affects Versions: 0.92.0, 0.94.0
>            Reporter: Jimmy Xiang
>            Assignee: Jimmy Xiang
>             Fix For: 0.92.0, 0.94.0
>
>         Attachments: 5112-v2.txt, hbase-5112.patch
>
>
> In TestReplication#queueFailover, the second scan is not reset for each new scan.  Followed scan may not be able to scan the whole table.
> So it cannot get all the data and the test fails.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HBASE-5112) TestReplication#queueFailover flaky due to potentially uninitialized Scan

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-5112?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13177912#comment-13177912 ] 

Hudson commented on HBASE-5112:
-------------------------------

Integrated in HBase-0.92-security #55 (See [https://builds.apache.org/job/HBase-0.92-security/55/])
    HBASE-5112  TestReplication#queueFailover flaky due to potentially
               uninitialized Scan (Jimmy Xiang)

tedyu : 
Files : 
* /hbase/branches/0.92/CHANGES.txt
* /hbase/branches/0.92/src/test/java/org/apache/hadoop/hbase/replication/TestReplication.java

                
> TestReplication#queueFailover flaky due to potentially uninitialized Scan
> -------------------------------------------------------------------------
>
>                 Key: HBASE-5112
>                 URL: https://issues.apache.org/jira/browse/HBASE-5112
>             Project: HBase
>          Issue Type: Test
>    Affects Versions: 0.92.0, 0.94.0
>            Reporter: Jimmy Xiang
>            Assignee: Jimmy Xiang
>             Fix For: 0.92.0, 0.94.0
>
>         Attachments: 5112-v2.txt, hbase-5112.patch
>
>
> In TestReplication#queueFailover, the second scan is not reset for each new scan.  Followed scan may not be able to scan the whole table.
> So it cannot get all the data and the test fails.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HBASE-5112) TestReplication#queueFailover flaky due to potentially uninitialized Scan

Posted by "Zhihong Yu (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-5112?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13177897#comment-13177897 ] 

Zhihong Yu commented on HBASE-5112:
-----------------------------------

Integrated to 0.92 and TRUNK.

Thanks for the patch, Jimmy.

Thanks for the review, Lars.
                
> TestReplication#queueFailover flaky due to potentially uninitialized Scan
> -------------------------------------------------------------------------
>
>                 Key: HBASE-5112
>                 URL: https://issues.apache.org/jira/browse/HBASE-5112
>             Project: HBase
>          Issue Type: Test
>    Affects Versions: 0.92.0, 0.94.0
>            Reporter: Jimmy Xiang
>            Assignee: Jimmy Xiang
>             Fix For: 0.92.0, 0.94.0
>
>         Attachments: 5112-v2.txt, hbase-5112.patch
>
>
> In TestReplication#queueFailover, the second scan is not reset for each new scan.  Followed scan may not be able to scan the whole table.
> So it cannot get all the data and the test fails.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HBASE-5112) TestReplication#queueFailover flaky due to potentially uninitialized Scan

Posted by "stack (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-5112?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

stack updated HBASE-5112:
-------------------------

       Resolution: Fixed
    Fix Version/s:     (was: 0.94.0)
           Status: Resolved  (was: Patch Available)

This was committed a while back.
                
> TestReplication#queueFailover flaky due to potentially uninitialized Scan
> -------------------------------------------------------------------------
>
>                 Key: HBASE-5112
>                 URL: https://issues.apache.org/jira/browse/HBASE-5112
>             Project: HBase
>          Issue Type: Test
>    Affects Versions: 0.92.0, 0.94.0
>            Reporter: Jimmy Xiang
>            Assignee: Jimmy Xiang
>             Fix For: 0.92.0
>
>         Attachments: 5112-v2.txt, hbase-5112.patch, org.apache.hadoop.hbase.replication.TestReplication-output.txt
>
>
> In TestReplication#queueFailover, the second scan is not reset for each new scan.  Followed scan may not be able to scan the whole table.
> So it cannot get all the data and the test fails.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HBASE-5112) TestReplication#queueFailover flaky due to potentially uninitialized Scan

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-5112?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13178009#comment-13178009 ] 

Hudson commented on HBASE-5112:
-------------------------------

Integrated in HBase-TRUNK-security #56 (See [https://builds.apache.org/job/HBase-TRUNK-security/56/])
    HBASE-5112  TestReplication#queueFailover flaky due to potentially
               uninitialized Scan (Jimmy Xiang)

tedyu : 
Files : 
* /hbase/trunk/CHANGES.txt
* /hbase/trunk/src/test/java/org/apache/hadoop/hbase/replication/TestReplication.java

                
> TestReplication#queueFailover flaky due to potentially uninitialized Scan
> -------------------------------------------------------------------------
>
>                 Key: HBASE-5112
>                 URL: https://issues.apache.org/jira/browse/HBASE-5112
>             Project: HBase
>          Issue Type: Test
>    Affects Versions: 0.92.0, 0.94.0
>            Reporter: Jimmy Xiang
>            Assignee: Jimmy Xiang
>             Fix For: 0.92.0, 0.94.0
>
>         Attachments: 5112-v2.txt, hbase-5112.patch
>
>
> In TestReplication#queueFailover, the second scan is not reset for each new scan.  Followed scan may not be able to scan the whole table.
> So it cannot get all the data and the test fails.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HBASE-5112) TestReplication#queueFailover flaky due to potentially uninitialized Scan

Posted by "Zhihong Yu (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-5112?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Zhihong Yu updated HBASE-5112:
------------------------------

    Attachment: 5112-v2.txt

I propose this patch based on Jimmy's where Thread is set as Daemon.
                
> TestReplication#queueFailover flaky due to potentially uninitialized Scan
> -------------------------------------------------------------------------
>
>                 Key: HBASE-5112
>                 URL: https://issues.apache.org/jira/browse/HBASE-5112
>             Project: HBase
>          Issue Type: Test
>    Affects Versions: 0.92.0, 0.94.0
>            Reporter: Jimmy Xiang
>            Assignee: Jimmy Xiang
>             Fix For: 0.92.0, 0.94.0
>
>         Attachments: 5112-v2.txt, hbase-5112.patch
>
>
> In TestReplication#queueFailover, the second scan is not reset for each new scan.  Followed scan may not be able to scan the whole table.
> So it cannot get all the data and the test fails.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira