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

Coprocessor classloader is replicated for all regions in the HRegionServer

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 0.92.2, 0.94.2
    • 0.94.4, 0.95.0
    • Coprocessors
    • None
    • Reviewed

    Description

      HBASE-6308 introduced a new custom CoprocessorClassLoader to load the coprocessor classes and a new instance of this CL is created for each single HRegion opened. This leads to OOME-PermGen when the number of regions go above hundres / region server.
      Having the table coprocessor jailed in a separate classloader is good however we should create only one for all regions of a table in each HRS.

      Attachments

        1. 7205-0.94.txt
          13 kB
          Ted Yu
        2. 7205-v1.txt
          8 kB
          Ted Yu
        3. 7205-v10.txt
          13 kB
          Ted Yu
        4. 7205-v3.txt
          7 kB
          Ted Yu
        5. 7205-v4.txt
          10 kB
          Ted Yu
        6. 7205-v5.txt
          13 kB
          Adrian Muraru
        7. 7205-v6.txt
          11 kB
          Ted Yu
        8. 7205-v7.txt
          14 kB
          Adrian Muraru
        9. 7205-v8.txt
          13 kB
          Ted Yu
        10. 7205-v9.txt
          14 kB
          Adrian Muraru
        11. HBASE-7205_v2.patch
          7 kB
          Adrian Muraru

        Issue Links

          Activity

            People

              zhihyu@ebaysf.com Ted Yu
              amuraru Adrian Muraru
              Votes:
              0 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: