You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Matteo Bertozzi (JIRA)" <ji...@apache.org> on 2012/04/27 23:58:48 UTC

[jira] [Updated] (HBASE-5893) Allow spaces in coprocessor conf (aka trim() className)

     [ https://issues.apache.org/jira/browse/HBASE-5893?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matteo Bertozzi updated HBASE-5893:
-----------------------------------

    Attachment: HBASE-5893-v0.patch
    
> Allow spaces in coprocessor conf (aka trim() className)
> -------------------------------------------------------
>
>                 Key: HBASE-5893
>                 URL: https://issues.apache.org/jira/browse/HBASE-5893
>             Project: HBase
>          Issue Type: Bug
>          Components: coprocessors
>    Affects Versions: 0.92.1, 0.94.0, 0.96.0
>            Reporter: Matteo Bertozzi
>            Assignee: Matteo Bertozzi
>            Priority: Minor
>              Labels: conf, coprocessors
>         Attachments: HBASE-5893-v0.patch
>
>
> This is annoying especially for coprocessors where you've long class name.
> but maybe is a bug of Configuration.getStrings() that doesn't trim each string.
> When you've comma separated values like in the coprocessors case, you've to pack together your values without spaces ("v1,v2,v3,...") otherwise the coprocessor is not loaded because the class name with spaces is not found.
> {code}
> <property>
>    <name>hbase.coprocessor.master.classes</name>
>    <value>
>     org.apache.hadoop.hbase.security.token.TokenProvider,
>     org.apache.hadoop.hbase.security.access.AccessController
>    </value>
> </property>
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira