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

Ian Knome updated HBASE-3538:
-----------------------------

    Attachment: 
HBASE-3538_-_ColumnFamily_names_to_not_have_slashes_in_their_names_.patch

1. First draft to ignore back as well as forward slashes in column family names.

2. Added a simple test to validate that column family name does not include 
slashes.

> 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
>             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

Reply via email to