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

Reuse the thread pool in the shell to not run out of threads

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.98.0, 0.95.2, 0.94.10
    • None
    • None
    • Reviewed

    Description

      I was trying some stuff in the shell and tried just to get a few puts in a loop to a table. I quickly ran out of threads (java.lang.OutOfMemoryError: unable to create new native thread).

      It seems we create a new HTable per get/put/etc call. We could just reuse one thread pool instead.

      Attachments

        1. HBASE-8988.patch
          1 kB
          Jean-Daniel Cryans
        2. 8988-0.94.txt
          0.8 kB
          Lars Hofhansl

        Activity

          People

            jdcryans Jean-Daniel Cryans
            jdcryans Jean-Daniel Cryans
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: