You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by "Xingxing Di (JIRA)" <ji...@apache.org> on 2017/11/24 12:49:00 UTC

[jira] [Updated] (KYLIN-3059) Query got IllegalArgumentException

     [ https://issues.apache.org/jira/browse/KYLIN-3059?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Xingxing Di updated KYLIN-3059:
-------------------------------
    Description: 
A query got an exception , the error trace was :


{code:java}
Caused by: java.lang.IllegalArgumentException
        at com.google.common.base.Preconditions.checkArgument(Preconditions.java:76)
        at org.apache.kylin.metadata.model.TblColRef.<init>(TblColRef.java:105)
        at org.apache.kylin.metadata.model.TblColRef.columnForUnknownModel(TblColRef.java:74)
        at org.apache.kylin.query.relnode.OLAPTableScan.buildColumnRowType(OLAPTableScan.java:231)

{code}

the code is : 

{code:java}
    TblColRef(TableRef table, ColumnDesc column) {
        checkArgument(table.getTableDesc() == column.getTable()); // this line cause exception
        this.table = table;
        this.column = column;
    } 
{code}


and after we did "Reload metadata", query executed successful.

I dont know what will cause this exception,  i think it may related to ProjectL2Cache or ProjectManager.




  was:
A query got an exception , the error trace was :

Caused by: java.lang.IllegalArgumentException
        at com.google.common.base.Preconditions.checkArgument(Preconditions.java:76)
        at org.apache.kylin.metadata.model.TblColRef.<init>(TblColRef.java:105)
        at org.apache.kylin.metadata.model.TblColRef.columnForUnknownModel(TblColRef.java:74)
        at org.apache.kylin.query.relnode.OLAPTableScan.buildColumnRowType(OLAPTableScan.java:231)

the code is : 

{code:java}
    TblColRef(TableRef table, ColumnDesc column) {
        checkArgument(table.getTableDesc() == column.getTable()); // this line cause exception
        this.table = table;
        this.column = column;
    } 
{code}


and after we did "Reload metadata", query executed successful.

I dont know what will cause this exception,  i think it may related to ProjectL2Cache or ProjectManager.





> Query got IllegalArgumentException
> ----------------------------------
>
>                 Key: KYLIN-3059
>                 URL: https://issues.apache.org/jira/browse/KYLIN-3059
>             Project: Kylin
>          Issue Type: Bug
>          Components: Query Engine
>    Affects Versions: v1.6.0
>         Environment: apache-kylin-1.6.0-hbase1.x
> apache hadoop 2.7.2
> hbase-1.2.4
>            Reporter: Xingxing Di
>            Assignee: liyang
>         Attachments: query.log
>
>
> A query got an exception , the error trace was :
> {code:java}
> Caused by: java.lang.IllegalArgumentException
>         at com.google.common.base.Preconditions.checkArgument(Preconditions.java:76)
>         at org.apache.kylin.metadata.model.TblColRef.<init>(TblColRef.java:105)
>         at org.apache.kylin.metadata.model.TblColRef.columnForUnknownModel(TblColRef.java:74)
>         at org.apache.kylin.query.relnode.OLAPTableScan.buildColumnRowType(OLAPTableScan.java:231)
> {code}
> the code is : 
> {code:java}
>     TblColRef(TableRef table, ColumnDesc column) {
>         checkArgument(table.getTableDesc() == column.getTable()); // this line cause exception
>         this.table = table;
>         this.column = column;
>     } 
> {code}
> and after we did "Reload metadata", query executed successful.
> I dont know what will cause this exception,  i think it may related to ProjectL2Cache or ProjectManager.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)