You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by "RenZhiMin (JIRA)" <ji...@apache.org> on 2018/03/21 02:21:00 UTC

[jira] [Created] (KYLIN-3303) 全局字典没有增加cube区分

RenZhiMin created KYLIN-3303:
--------------------------------

             Summary: 全局字典没有增加cube区分
                 Key: KYLIN-3303
                 URL: https://issues.apache.org/jira/browse/KYLIN-3303
             Project: Kylin
          Issue Type: Bug
          Components: Job Engine
    Affects Versions: v2.0.0
            Reporter: RenZhiMin


cube设计中,某个COUNT_DISTINCT指标使用全局字典。当构建cube时会在hdfs生成字典文件,对应的目录是:{kylin.env.hdfs-working-dir}/resources/GlobalDict/dict/database.tableName/column/,同时会在hbase元数据中生成元数据信息,hbase中元数据rowkey信息:/dict/database.tableName/column/。value信息指定对应的hdfs路径。问题是:当删除cube时没有删除对应的hdfs数据和hbase数据。另外hdfs数据路径和hbase元数据rowkey信息都没有指定具体的cube,如果某一个表的列在多个cube中都使用到了全局字典,会导致多个cube共用一份字典数据。



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)