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

Use a shared thread pool for AtomicityWriter, AtomicGetReader, AtomicScanReader's connections in TestAcidGuarantees

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.0
    • Fix Version/s: 2.0.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      AtomicityWriter, AtomicGetReader, AtomicScanReader creates connection inside, since the thread pool is not shared, by default each connection will create 256 threads. If there are 5 AtomicityWriters, 1 AtomicGetReader, and 1 AtomicScanReader, it will create lots of threads and causes max user processes to be reached, and OOME. Use a share thread pool to work around this issue.

        Attachments

          Activity

            People

            • Assignee:
              huaxiang huaxiang sun
              Reporter:
              huaxiang huaxiang sun
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: