Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-6121

[89-fb] Fix TaskMonitor/MultiPut multithreading bug

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Invalid
    • None
    • None
    • None

    Description

      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)

      Attachments

        Activity

          People

            Unassigned Unassigned
            amirshim Amir Shimoni
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: