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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.0.0
    • 2.0.0
    • None
    • None
    • 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

            huaxiang Hua Xiang
            huaxiang Hua Xiang
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: