hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Enis Soztutar (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-6827) [WINDOWS] TestScannerTimeout fails expecting a timeout
Date Wed, 19 Sep 2012 00:19:07 GMT

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

Enis Soztutar commented on HBASE-6827:
--------------------------------------

The failure seems to be related to timing. We wait for SCANNER_TIMEOUT (10secs), but the Leases.java
only wakes up once in HConstants.THREAD_WAKE_FREQUENCY (10 sec by default, 1 sec in tests).
But the wait should actually ensure that we wait for at least
SCANNER_TIMEOUT + THREAD_WAKE_FREQUENCY.
                
> [WINDOWS] TestScannerTimeout fails expecting a timeout
> ------------------------------------------------------
>
>                 Key: HBASE-6827
>                 URL: https://issues.apache.org/jira/browse/HBASE-6827
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 0.96.0, 0.94.3
>            Reporter: Enis Soztutar
>            Assignee: Enis Soztutar
>
> TestScannerTimeout.test2481() fails with:
> {code}
> java.lang.AssertionError: We should be timing out
> 	at org.junit.Assert.fail(Assert.java:93)
> 	at org.apache.hadoop.hbase.client.TestScannerTimeout.test2481(TestScannerTimeout.java:117)
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message