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

Allow for coprocessor whitelisting

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0.0
    • Component/s: Coprocessors
    • Labels:
    • Hadoop Flags:
      Reviewed
    • Release Note:
      Provides ability to restrict table coprocessors based on HDFS path whitelist. (Particularly useful for allowing Phoenix coprocessors but not arbitrary user created coprocessors.)

      Description

      Today one can turn off all non-system coprocessors with hbase.coprocessor.user.enabled however, this disables very useful things like Apache Phoenix's coprocessors. Some tenants of a multi-user HBase may also need to run bespoke coprocessors. But as an operator I would not want wanton coprocessor usage. Ideally, one could do one of two things:

      • Allow coprocessors defined in hbase-site.xml – this can only be administratively changed in most cases
      • Allow coprocessors from table descriptors but only if the coprocessor is whitelisted

        Attachments

        1. HBASE-16700.000.patch
          11 kB
          Clay B.
        2. HBASE-16700.001.patch
          12 kB
          Clay B.
        3. HBASE-16700.002.patch
          17 kB
          Clay B.
        4. HBASE-16700.003.patch
          16 kB
          Clay B.
        5. HBASE-16700.004.patch
          18 kB
          Clay B.
        6. HBASE-16700.005.patch
          20 kB
          Clay B.
        7. HBASE-16700.006.patch
          26 kB
          Clay B.
        8. HBASE-16700.007.patch
          26 kB
          Clay B.
        9. HBASE-16700.008.patch
          25 kB
          Clay B.

          Activity

            People

            • Assignee:
              clayb Clay B.
              Reporter:
              clayb Clay B.
            • Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: