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

Coprocessor classloader is replicated for all regions in the HRegionServer

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 0.92.2, 0.94.2
    • Fix Version/s: 0.94.4, 0.95.0
    • Component/s: Coprocessors
    • Labels:
      None
    • Hadoop Flags:
      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-v1.txt
          8 kB
          Ted Yu
        2. HBASE-7205_v2.patch
          7 kB
          Adrian Muraru
        3. 7205-v3.txt
          7 kB
          Ted Yu
        4. 7205-v4.txt
          10 kB
          Ted Yu
        5. 7205-v5.txt
          13 kB
          Adrian Muraru
        6. 7205-v6.txt
          11 kB
          Ted Yu
        7. 7205-v7.txt
          14 kB
          Adrian Muraru
        8. 7205-v8.txt
          13 kB
          Ted Yu
        9. 7205-v9.txt
          14 kB
          Adrian Muraru
        10. 7205-v10.txt
          13 kB
          Ted Yu
        11. 7205-0.94.txt
          13 kB
          Ted Yu

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: