You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by "Yerui Sun (JIRA)" <ji...@apache.org> on 2015/09/02 05:47:45 UTC
[jira] [Commented] (KYLIN-968) CubeSegment.lastBuildJobID is null
in new instance but used for rowkey_stats path
[ https://issues.apache.org/jira/browse/KYLIN-968?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14726694#comment-14726694 ]
Yerui Sun commented on KYLIN-968:
---------------------------------
[~qhzhou], [~Shaofengshi], would you please review this issue and patch?
After KYLIN-957 merged, this patch could merge into 0.7-staging branch successfully.
> CubeSegment.lastBuildJobID is null in new instance but used for rowkey_stats path
> ---------------------------------------------------------------------------------
>
> Key: KYLIN-968
> URL: https://issues.apache.org/jira/browse/KYLIN-968
> Project: Kylin
> Issue Type: Bug
> Components: Job Engine
> Affects Versions: v0.7.2
> Reporter: Yerui Sun
> Assignee: ZhouQianhao
> Attachments: KYLIN-968-0.7-staging.patch
>
>
> CubeSegment.lastBuildJobID is used to record the id of job which building this segment last time.
> When build or fresh a cube and append a new segment, the lastBuildingJobID remains as null until the segment build done and info updated. But in the segment building flow, lastBuildingJobID has been used for concat rowkey_stats path, in CubingJobBuilder.getRowkeyDistributionOutputPath, result in rowkey_stats path is like '/../kylin-null/../rowkey_stats', without job id in path.
> If more than one segments were building concurrently, the rowkey_stats path will be conflicts and result in wrong split keys for tables in HBase.
> Did anybody found this issue before? If not yet and we agreed with the analysis above, I'll apply a patch later.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)