hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gary Helmling (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-3810) Registering a Coprocessor at HTableDescriptor should not be case sensitive
Date Fri, 22 Apr 2011 17:44:05 GMT

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

Gary Helmling commented on HBASE-3810:
--------------------------------------

In addition to relaxing the matching on the table attribute name for coprocessor entries,
we should relax the parsing of the attribute values defining the coprocessor classes:

 * fix regex to account for whitespace around ":" separators
 * make path portion optional -- we already skip the path handling if the class can be loaded
by the classloader
 * make priority optional and default to "USER"


This should make table attribute based configuration a bit more friendly.

> Registering a Coprocessor at HTableDescriptor should not be case sensitive 
> ---------------------------------------------------------------------------
>
>                 Key: HBASE-3810
>                 URL: https://issues.apache.org/jira/browse/HBASE-3810
>             Project: HBase
>          Issue Type: Improvement
>          Components: coprocessors
>    Affects Versions: 0.92.0
>         Environment: all
>            Reporter: Joerg Schad
>            Priority: Minor
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> Registering a Copressor in the following way will fail as the "Coprocessor$1" keyword
is case sensitive (instead COPROCESSOR$1 works fine). Removing this restriction would improve
usability.
> HTableDescriptor desc = new HTableDescriptor(tName);
> desc.setValue("Coprocessor$1",
>    path.toString() + ":" + full_class_name +
>  ":" + Coprocessor.Priority.USER);

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message