hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Purtell (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (HBASE-13044) Configuration option for disabling coprocessor loading
Date Sat, 14 Feb 2015 02:20:12 GMT

    [ https://issues.apache.org/jira/browse/HBASE-13044?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14321148#comment-14321148
] 

Andrew Purtell edited comment on HBASE-13044 at 2/14/15 2:19 AM:
-----------------------------------------------------------------

Patch adds two new configuration options, set to current default behavior, and documents them
in hbase-defaults.xml. New unit test. 

{{hbase.coprocessor.enabled}} controls globally if any coprocessors will be loaded. Set to
"false" to disable. Defaults to "true".

{{hbase.coprocessor.user.enabled}} controls if any user (aka table) coprocessors will be loaded.
Set to "false" to disable. Defaults to "true".

I use "user" rather than "table" following naming convention of other coprocessor related
configuration keys.

While "hbase.coprocessor.enabled" would be included in the site file along with any system
coprocessor specifications, it is a useful global toggle as described, and will override any
other settings if the site file happens to be assembled from fragments. 


was (Author: apurtell):
Patch adds two new configuration options, set to current default behavior, and documents them
in hbase-defaults.xml. New unit test. 

{{hbase.coprocessor.enabled}} controls globally if any coprocessors will be loaded. Set to
"false" to disable. Defaults to "true".

{{hbase.coprocessor.user.enabled}} controls if any user (aka table) coprocessors will be loaded.
Set to "false" to disable. Defaults to "true".

I use "user" rather than "table" following naming convention of other coprocessor related
configuration keys.

> Configuration option for disabling coprocessor loading
> ------------------------------------------------------
>
>                 Key: HBASE-13044
>                 URL: https://issues.apache.org/jira/browse/HBASE-13044
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: Andrew Purtell
>            Assignee: Andrew Purtell
>            Priority: Minor
>             Fix For: 2.0.0, 1.0.1, 0.98.11, 1.1.1
>
>         Attachments: HBASE-13044.patch
>
>
> Some users would like complete assurance coprocessors cannot be loaded. Add a configuration
option that prevents coprocessors from ever being loaded by ignoring any load directives found
in the site file or table metadata. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message