[
https://issues.apache.org/jira/browse/HBASE-3538?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12995200#comment-12995200
]
Lars George commented on HBASE-3538:
------------------------------------
Looking at the discussion in https://issues.apache.org/jira/browse/HDFS-13 it
seems only the slash needs to be checked for as everything else is either
already checked or is allowed in a file URI.
> 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
>
>
> 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