You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2018/03/11 06:29:00 UTC
[jira] [Commented] (KYLIN-3271) Optimize sub-path check of
ResourceTool
[ https://issues.apache.org/jira/browse/KYLIN-3271?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16394408#comment-16394408 ]
ASF subversion and git services commented on KYLIN-3271:
--------------------------------------------------------
Commit c2ef3c62a96ca52ef673335f621232d6d664c24a in kylin's branch refs/heads/sync from [~nichunen]
[ https://gitbox.apache.org/repos/asf?p=kylin.git;h=c2ef3c6 ]
KYLIN-3271 Minor, avoid null pointer exception
> Optimize sub-path check of ResourceTool
> ---------------------------------------
>
> Key: KYLIN-3271
> URL: https://issues.apache.org/jira/browse/KYLIN-3271
> Project: Kylin
> Issue Type: Improvement
> Components: Metadata
> Affects Versions: v2.2.0
> Reporter: nichunen
> Assignee: nichunen
> Priority: Minor
> Fix For: v2.4.0
>
>
> kylin uses class org.apache.kylin.common.persistence.ResourceTool to do metadata download, upload, remove, etc. The algorithm for resource transversal is not very effective. For instance, for an "execute_output" with key "/execute_output/\{uuid}", the algorithm will try to check whether it's a folder with sub-resources, this makes un-necessary time cost, and in cases of metadata with lots of jobs, it may last for a long time before the finish.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)