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-19138) Rare failure in TestLruBlockCache
Date Tue, 31 Oct 2017 23:25:00 GMT

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

Hudson commented on HBASE-19138:
--------------------------------

SUCCESS: Integrated in Jenkins build HBase-1.5 #125 (See [https://builds.apache.org/job/HBase-1.5/125/])
HBASE-19138 Rare failure in TestLruBlockCache (apurtell: rev 0ac5b337474a96a2e7a73fd2ab22bd25e852df12)
* (edit) hbase-server/src/test/java/org/apache/hadoop/hbase/io/hfile/TestLruBlockCache.java


> Rare failure in TestLruBlockCache
> ---------------------------------
>
>                 Key: HBASE-19138
>                 URL: https://issues.apache.org/jira/browse/HBASE-19138
>             Project: HBase
>          Issue Type: Bug
>          Components: test
>            Reporter: Andrew Purtell
>            Assignee: Andrew Purtell
>            Priority: Trivial
>             Fix For: 2.0.0, 3.0.0, 1.4.0, 1.5.0
>
>         Attachments: HBASE-19138.patch
>
>
> [ERROR] testCacheEvictionThreadSafe(org.apache.hadoop.hbase.io.hfile.TestLruBlockCache)
Time elapsed: 0.028 s <<< FAILURE!
> java.lang.AssertionError: expected:<0> but was:<1>
> at org.apache.hadoop.hbase.io.hfile.TestLruBlockCache.testCacheEvictionThreadSafe(TestLruBlockCache.java:86)
> Fix for this I think is waiting for the block count to drop to zero after awaiting shutdown
of the executor pool. There's a rare race here. Tests look good using a Waiter predicate so
far, but I haven't finished all 100 iterations yet. 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message