You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kylin.apache.org by "Yerui Sun (JIRA)" <ji...@apache.org> on 2016/05/20 08:49:12 UTC

[jira] [Created] (KYLIN-1718) Grow ByteBuffer Dynamically in Cube Building and Query

Yerui Sun created KYLIN-1718:
--------------------------------

             Summary: Grow ByteBuffer Dynamically in Cube Building and Query
                 Key: KYLIN-1718
                 URL: https://issues.apache.org/jira/browse/KYLIN-1718
             Project: Kylin
          Issue Type: Improvement
          Components: Job Engine, Query Engine
    Affects Versions: v1.5.1, v1.5.2
            Reporter: Yerui Sun
            Assignee: Yerui Sun
             Fix For: v1.5.3


In Cube Building Mapper/Reducer and CubeVisitService, we use an allocated ByteBuffer to store encoded metrics value, with a constant size RowConstants.ROWVALUE_BUFFER_SIZE, which is 1MB by default.
If the metrics value is larger than 1MB, such as high cardinality bitmap,  BufferOverflowException will be threw. We need grow the ByteBuffer if the exception occured.



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