You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by "Shaofeng SHI (JIRA)" <ji...@apache.org> on 2016/01/22 10:42:39 UTC
[jira] [Commented] (KYLIN-1344) Bitmap measure defined after TopN
measure can cause merge to fail
[ https://issues.apache.org/jira/browse/KYLIN-1344?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15112218#comment-15112218 ]
Shaofeng SHI commented on KYLIN-1344:
-------------------------------------
This is a bug in TopNCounterSerializer, which assume the the byte array behind a ByteArray for each counter item is an independent array; That is wrong once merge the cube, as in MergeCuboidMapper, when run reEncodeDictionary, it will use a shared long array as the backend storage for all Items;
The patch has been pushed to 2.x-staging branch, will run the integration test tonight.
> Bitmap measure defined after TopN measure can cause merge to fail
> -----------------------------------------------------------------
>
> Key: KYLIN-1344
> URL: https://issues.apache.org/jira/browse/KYLIN-1344
> Project: Kylin
> Issue Type: Bug
> Affects Versions: v2.1
> Reporter: liyang
> Assignee: Shaofeng SHI
> Fix For: v2.1
>
>
> When the new Bitmap measure is defined after a TopN measure, the build fails inside CuboidReducer. Yerui troubleshoot to the point that the error might be in MergeCuboidMapper when it re-calculcates the TopN measure.
> Ref https://issues.apache.org/jira/browse/KYLIN-1186
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)