[ 
https://issues.apache.org/jira/browse/HBASE-9128?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13730078#comment-13730078
 ] 

Enis Soztutar commented on HBASE-9128:
--------------------------------------

bq. How would migration 'handle' it?
The problem was that, when we filter out table directories using 
HConstants.HBASE_NON_USER_TABLE_DIRS, we might ignore tables named "logs", 
"data" if we just change the constants. We can easily circumvent this, but hard 
coding the old reserved names in the migration script, and handle filtering out 
table directories from ls output for hbase.rootdir differently. 
                
> Drop the '.' prefix from names under hbase.rootdir after namespaces goes in
> ---------------------------------------------------------------------------
>
>                 Key: HBASE-9128
>                 URL: https://issues.apache.org/jira/browse/HBASE-9128
>             Project: HBase
>          Issue Type: Sub-task
>            Reporter: stack
>            Priority: Critical
>
> Change it so instead of hbase.rootdir looking like this:
> {code}
> drwxr-xr-x   5 stack  staff  170 Aug  5 14:43 .data
> -rw-r--r--   1 stack  staff   12 Aug  5 14:43 .hbase.id.crc
> -rw-r--r--   1 stack  staff   12 Aug  5 14:43 .hbase.version.crc
> drwxr-xr-x   3 stack  staff  102 Aug  5 14:43 .logs
> drwxr-xr-x   2 stack  staff   68 Aug  5 14:43 .oldlogs
> drwxr-xr-x   3 stack  staff  102 Aug  5 14:43 .tmp
> -rwxrwxrwx   1 stack  staff   42 Aug  5 14:43 hbase.id
> -rwxrwxrwx   1 stack  staff    7 Aug  5 14:43 hbase.version
> {code}
> It looks like this:
> {code}
> drwxr-xr-x   5 stack  staff  170 Aug  5 14:43 data
> -rw-r--r--   1 stack  staff   12 Aug  5 14:43 .hbase.id.crc
> -rw-r--r--   1 stack  staff   12 Aug  5 14:43 .hbase.version.crc
> drwxr-xr-x   3 stack  staff  102 Aug  5 14:43 logs
> drwxr-xr-x   2 stack  staff   68 Aug  5 14:43 oldlogs
> drwxr-xr-x   3 stack  staff  102 Aug  5 14:43 tmp
> -rwxrwxrwx   1 stack  staff   42 Aug  5 14:43 hbase.id
> -rwxrwxrwx   1 stack  staff    7 Aug  5 14:43 hbase.version
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to