You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Cosmin Lehene (JIRA)" <ji...@apache.org> on 2015/01/07 16:18:36 UTC

[jira] [Commented] (HBASE-6121) [89-fb] Fix TaskMonitor/MultiPut multithreading bug

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

Cosmin Lehene commented on HBASE-6121:
--------------------------------------

[~amirshim], [~apurtell] is this still valid?

> [89-fb] Fix TaskMonitor/MultiPut multithreading bug
> ---------------------------------------------------
>
>                 Key: HBASE-6121
>                 URL: https://issues.apache.org/jira/browse/HBASE-6121
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Amir Shimoni
>            Assignee: Amir Shimoni
>            Priority: Minor
>              Labels: delete
>
> We shouldn't clear an ArrayList that might be iterated on by another thread.
> Specifically, multiput() calls clear() on ArrayList (to free up some memory) while MultiPut.toMap is iterating over that ArrayList in a different thread (called from MonitorTasks UI)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)