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

Ted Yu updated HBASE-4428:
--------------------------

    Attachment: test-TestSingleSizeCache.trace

Trace shows the deadlock between doAnAction() and testCacheMultiThreaded().

> Two methods in CacheTestUtils don't call setDaemon() on the threads
> -------------------------------------------------------------------
>
>                 Key: HBASE-4428
>                 URL: https://issues.apache.org/jira/browse/HBASE-4428
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Ted Yu
>            Assignee: Ted Yu
>         Attachments: 4428.addendum, 4428.txt, test-TestSingleSizeCache.trace
>
>
> hammerSingleKey() and hammerEviction() don't call t.setDaemon(true) on the 
> threads they create.
> The correct pattern is:
> {code}
>       t.setDaemon(true);
>       ctx.addThread(t);
> {code}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to