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

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

    Attachment: 4428.addendum

Addendum fixes the deadlock shown in attachment.
ctx.stop() should only be called at the end of 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
>
>
> 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