You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by "Zhong Yanghong (JIRA)" <ji...@apache.org> on 2016/08/16 08:10:20 UTC

[jira] [Updated] (KYLIN-1702) The Key of the Snapshot to the related lookup table may be not informative

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

Zhong Yanghong updated KYLIN-1702:
----------------------------------
    Attachment: change_layout_path_of_table_snapshot_with_tableName.patch

A small patch for changing the layout path of snapshot table is attached. [~Shaofengshi], could you help review this patch? Thanks.

> The Key of the Snapshot to the related lookup table may be not informative
> --------------------------------------------------------------------------
>
>                 Key: KYLIN-1702
>                 URL: https://issues.apache.org/jira/browse/KYLIN-1702
>             Project: Kylin
>          Issue Type: Improvement
>            Reporter: Zhong Yanghong
>            Assignee: Zhong Yanghong
>         Attachments: change_layout_path_of_table_snapshot_with_tableName.patch
>
>
> Currently the key for the snapshot stored in hbase metadata file is as follows:
> ResourceStore.SNAPSHOT_RESOURCE_ROOT + "/" + new File(signature.getPath()).getName() + "/" + uuid + ".snapshot"
> However, some hive tables stored in hive may organized like dirName/tableName/00, dirName/tableName/01.
> Based on current setting, the key will be ResourceStore.SNAPSHOT_RESOURCE_ROOT + "/" + 00 + "/" + uuid + ".snapshot", which is lack of the table name information.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)