You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Amir Shimoni (JIRA)" <ji...@apache.org> on 2012/05/29 18:01:23 UTC

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

Amir Shimoni created HBASE-6121:
-----------------------------------

             Summary: [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


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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira