kylin-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "" <>
Subject 回复: Re: 【kylin2.5.0】 NullPointerException
Date Mon, 15 Oct 2018 11:46:45 GMT
Yeah,it's right! We set the "enableStatementCache" field to false and then it works!

About java client,we modify the code of kylin-jdbc-2.5.0.jar, in the executeKylinQuery() method
of,we add a param,like this:

and the problem has been solved.

Thanks everybody for helping!
发件人: Ma Gang
发送时间: 2018-10-14 10:28
收件人: user
主题: Re:Re:Re:Re: 【kylin2.5.0】 NullPointerException
Disable the preparedStatement cache should workaround this issue per my test, it can be disabled
by setting the "enableStatementCache" field to false in the sql request, like:

At 2018-10-14 10:23:06, "Ma Gang" <> wrote:
Jira ticket has been created for this issue:

I have provided a patch in the ticket, the issue is introduced by the preparedStatement cache
I didn't consider the case that when there is no realization exists in the OLAPContext.

在 2018-10-14 00:06:24,"Ma Gang" <> 写道:
You may first disable the preparestatement cache to see it works or not, it can be disabled
by setting the "enableStatementCache" field to false in the sql request, like:

At 2018-10-13 23:16:13, "Ma Gang" <> wrote:
That may caused by the sql that use preparedStatement didnot hit any cube, @guofeng, could
you provide the sql?

Ma Gang
Signature is customized by Netease Mail Master
On 10/13/2018 22:41, ShaoFeng Shi wrote: 
It looks more like a bug related with prepared statement cache.

@magang, it looks like the "preparedContext.olapContexts" may have null values but no check.

郭锋 <> 于2018年10月12日周五 下午3:52写道:

------------------ Original ------------------
From:  "Lijun Cao"<>;
Date:  Fri, Oct 12, 2018 03:51 PM
To:  "user"<>; 
Subject:  Re: 【kylin2.5.0】 NullPointerException
Hi 郭锋: 

Which edition of Kylin 2.5 do you use ? 

The apache-kylin-2.5.0-bin-cdh57.tar.gz one or the apache-kylin-2.5.0-bin-cdh60.tar.gz one

Best Regards

Lijun Cao

在 2018年10月12日,15:35,郭锋 <> 写道:

hi all:

       Kylin的版本为2.5.0 , 部署在cdh6.0.0 上, 当向kylin发送查询语句时,服务器端出现NullPointerException,


Best regards,

Shaofeng Shi 史少锋



View raw message