You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Toby White (JIRA)" <ji...@apache.org> on 2009/02/04 22:19:59 UTC

[jira] Updated: (HBASE-1184) HColumnDescriptor is a little too restrictive with family names

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

Toby White updated HBASE-1184:
------------------------------

    Status: Patch Available  (was: Open)

The attached patch fixes the issue.

It reverses the sense of the test, and simply tests that each character is not a control character.

It also tidies up the error message slightly (removing the reference to ending with colons, since that is tested in a separate check)

> HColumnDescriptor is a little too restrictive with family names
> ---------------------------------------------------------------
>
>                 Key: HBASE-1184
>                 URL: https://issues.apache.org/jira/browse/HBASE-1184
>             Project: Hadoop HBase
>          Issue Type: Improvement
>    Affects Versions: 0.19.0
>            Reporter: Toby White
>            Priority: Minor
>
> HColumnDescriptor crrently requires of its family names that they be letters, digits, underscores or periods.
> Character.isLetterOrDigit(b[i]) || b[i] == '_' || b[i] == '.'
> It would be nice if it let rather more characters be used (personally, I'd like to use a hyphen!)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.