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

Zhong Yanghong commented on KYLIN-2846:
---------------------------------------

There's two issues currently found.
* In HBase, htable data with different namespace are organized with different 
HDFS folders. Since hdfs files are case-sensitive, the namespace & table name 
should be case-sensitive. In {{CubeHTableUtil}} for htable creation, 
{code}
HTableDescriptor tableDesc = new 
HTableDescriptor(TableName.valueOf(cubeSegment.getStorageLocationIdentifier()));
{code}
it's not inconsistent with 
{code}
HTable htable = new HTable(hbaseConf, 
getOptionValue(OPTION_HTABLE_NAME).toUpperCase());
{code}
in {{CubeHFileJob}}
* After add namespace for {{storageLocationIdentifier}} of {{CubeSegment}}, it 
should also be considered in {{StorageCleanJobHbaseUtil}}. Otherwise, when 
using this tool to delete useless htables, simple string match filter will not 
run correctly.

> Add a config of hbase namespace for cube storage
> ------------------------------------------------
>
>                 Key: KYLIN-2846
>                 URL: https://issues.apache.org/jira/browse/KYLIN-2846
>             Project: Kylin
>          Issue Type: New Feature
>          Components: Storage - HBase
>    Affects Versions: v2.1.0
>            Reporter: Liu Shaohui
>            Assignee: Liu Shaohui
>            Priority: Minor
>             Fix For: v2.2.0
>
>         Attachments: KYLIN-2846-001-addium.patch, KYLIN-2846-001.patch
>
>
> In multi-tenancy HBase cluster, namespace is important for quota management 
> and permission control. So we add a global configuration of hbase namespace 
> for cube storage.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to