[ 
https://issues.apache.org/jira/browse/KYLIN-1945?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15499098#comment-15499098
 ] 

hongbin ma commented on KYLIN-1945:
-----------------------------------

not yet

> Cuboid.translateToValidCuboid method throw exception while cube building or 
> query execute
> -----------------------------------------------------------------------------------------
>
>                 Key: KYLIN-1945
>                 URL: https://issues.apache.org/jira/browse/KYLIN-1945
>             Project: Kylin
>          Issue Type: Bug
>    Affects Versions: v1.5.3
>         Environment: centos 6.4 ,hadoop 2.6.4,kylin 1.5.3 hbase 1.2.1
>            Reporter: logicigam
>            Assignee: hongbin ma
>
> I manage to reproduce that exception at sample cube,just by add all of 
> defined dimension as Mandatory Dimensions into that Aggregation Groups,then 
> another group contain just part of dims.
> ===========
> here is the error stack while query execute:
> Caused by: java.util.NoSuchElementException
>         at java.util.ArrayList$Itr.next(ArrayList.java:834)
>         at java.util.Collections.min(Collections.java:665)
>         at 
> org.apache.kylin.cube.cuboid.Cuboid.translateToValidCuboid(Cuboid.java:217)
>         at 
> org.apache.kylin.cube.cuboid.Cuboid.translateToValidCuboid(Cuboid.java:141)
>         at org.apache.kylin.cube.cuboid.Cuboid.findById(Cuboid.java:83)
>         at org.apache.kylin.cube.cuboid.Cuboid.identifyCuboid(Cuboid.java:68)
>         at 
> org.apache.kylin.storage.gtrecord.GTCubeStorageQueryBase.search(GTCubeStorageQueryBase.java:97)
>         at 
> org.apache.kylin.query.enumerator.OLAPEnumerator.queryStorage(OLAPEnumerator.java:120)
>         at 
> org.apache.kylin.query.enumerator.OLAPEnumerator.moveNext(OLAPEnumerator.java:69)
>         at Baz$1$1.moveNext(Unknown Source)
>         at 
> org.apache.calcite.linq4j.EnumerableDefaults.groupBy_(EnumerableDefaults.java:819)
>         at 
> org.apache.calcite.linq4j.EnumerableDefaults.groupBy(EnumerableDefaults.java:754)
>         at 
> org.apache.calcite.linq4j.DefaultEnumerable.groupBy(DefaultEnumerable.java:302)
>         at Baz.bind(Unknown Source)
>         at 
> org.apache.calcite.jdbc.CalcitePrepare$CalciteSignature.enumerable(CalcitePrepare.java:326)
>         at 
> org.apache.calcite.jdbc.CalciteConnectionImpl.enumerable(CalciteConnectionImpl.java:281)
>         at 
> org.apache.calcite.jdbc.CalciteMetaImpl._createIterable(CalciteMetaImpl.java:545)
> and the same thing happen while cube building,exception log could be found at 
> hadoop job monitor page



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

Reply via email to