You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "stack (JIRA)" <ji...@apache.org> on 2011/03/12 07:36:59 UTC

[jira] Resolved: (HBASE-3538) Column families allow to have slashes in name

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

stack resolved HBASE-3538.
--------------------------

      Resolution: Fixed
        Assignee: Ian Knome
    Hadoop Flags: [Reviewed]

Committed to TRUNK.  This changes our parse of CF names but I don't think CF names w/ a slash or forward slash would have ever worked anyways.

Thank you for the patch Ian.  I made you a contributor and assigned you the issue.

> Column families allow to have slashes in name
> ---------------------------------------------
>
>                 Key: HBASE-3538
>                 URL: https://issues.apache.org/jira/browse/HBASE-3538
>             Project: HBase
>          Issue Type: Bug
>          Components: regionserver
>    Affects Versions: 0.90.0
>            Reporter: Lars George
>            Assignee: Ian Knome
>             Fix For: 0.92.0
>
>         Attachments: HBASE-3538_-_ColumnFamily_names_to_not_have_slashes_in_their_names_.patch
>
>
> The check in HColumnDescriptor.isLegalFamilyName() does not check for slashes and may cause issue.
> {code}
> create 'test2', 'cf/am/2'
> $ bin/hadoop dfs -lsr /hbase/test2/d1da5042d2b233f056f7604398f29537
> drwxr-xr-x   - larsgeorge supergroup          0 2011-02-15 21:12 /hbase/test2/d1da5042d2b233f056f7604398f29537/.oldlogs
> -rw-r--r--   3 larsgeorge supergroup        124 2011-02-15 21:12 /hbase/test2/d1da5042d2b233f056f7604398f29537/.oldlogs/hlog.1297800748239
> -rw-r--r--   3 larsgeorge supergroup        714 2011-02-15 21:12 /hbase/test2/d1da5042d2b233f056f7604398f29537/.regioninfo
> drwxr-xr-x   - larsgeorge supergroup          0 2011-02-15 21:12 /hbase/test2/d1da5042d2b233f056f7604398f29537/cf
> drwxr-xr-x   - larsgeorge supergroup          0 2011-02-15 21:12 /hbase/test2/d1da5042d2b233f056f7604398f29537/cf/am
> drwxr-xr-x   - larsgeorge supergroup          0 2011-02-15 21:12 /hbase/test2/d1da5042d2b233f056f7604398f29537/cf/am/2
> {code}

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