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

Qilin Cao updated HBASE-17843:
------------------------------
    Attachment: HBASE-17843-v1.patch

> JUnit test timed out in TestRegionReplicaFailover.java
> ------------------------------------------------------
>
>                 Key: HBASE-17843
>                 URL: https://issues.apache.org/jira/browse/HBASE-17843
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: Qilin Cao
>            Priority: Minor
>         Attachments: HBASE-17843-v1.patch
>
>
> I found junit test failed in TestRegionReplicaFailover.java, so I changed the 
> testPrimaryRegionKill method  test timeout = 240000
> error logs:
> Tests run: 6, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 285.221 sec 
> <<< FAILURE! - in 
> org.apache.hadoop.hbase.regionserver.TestRegionReplicaFailover
> testPrimaryRegionKill[0](org.apache.hadoop.hbase.regionserver.TestRegionReplicaFailover)
>   Time elapsed: 125.963 sec  <<< ERROR!
> org.junit.runners.model.TestTimedOutException: test timed out after 120000 
> milliseconds
> at java.lang.Object.wait(Native Method)
>       at java.lang.Object.wait(Object.java:460)
>       at java.util.concurrent.TimeUnit.timedWait(TimeUnit.java:348)
>       at 
> org.apache.hadoop.hbase.client.ResultBoundedCompletionService.pollForSpecificCompletedTask(ResultBoundedCompletionService.java:258)
>       at 
> org.apache.hadoop.hbase.client.ResultBoundedCompletionService.pollForFirstSuccessfullyCompletedTask(ResultBoundedCompletionService.java:214)
>       at 
> org.apache.hadoop.hbase.client.RpcRetryingCallerWithReadReplicas.call(RpcRetryingCallerWithReadReplicas.java:209)
>       at org.apache.hadoop.hbase.client.HTable.get(HTable.java:428)
>       at org.apache.hadoop.hbase.client.HTable.get(HTable.java:392)
>       at 
> org.apache.hadoop.hbase.HBaseTestingUtility.verifyNumericRows(HBaseTestingUtility.java:2197)
>       at 
> org.apache.hadoop.hbase.regionserver.TestRegionReplicaFailover.verifyNumericRowsWithTimeout(TestRegionReplicaFailover.java:227)
>       at 
> org.apache.hadoop.hbase.regionserver.TestRegionReplicaFailover.testPrimaryRegionKill(TestRegionReplicaFailover.java:200)



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to