[jira] [Created] (KYLIN-3743) kylin on druid query no data when partion column as filter

2018-12-26 Thread jinguowei (JIRA)
jinguowei created KYLIN-3743:


 Summary: kylin on druid query no data when partion column as filter
 Key: KYLIN-3743
 URL: https://issues.apache.org/jira/browse/KYLIN-3743
 Project: Kylin
  Issue Type: Improvement
  Components: Query Engine
Affects Versions: v2.6.0
Reporter: jinguowei
 Fix For: v2.6.0
 Attachments: 231545815044_.pic.jpg, 231545815044_.pic_thumb.jpg

kylin on druid,when query like [select * from tb where dt='MMdd'] will no 
data return
fix query no data when partion column as filter

fix on : https://github.com/apache/kylin/pull/419



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


答复: 答复: Kylin2.5 - org.apache.catalina.LifecycleException: Failed to start component

2018-12-26 Thread Na Zhai
Hi, CookieNats.



   Have you run the bin/sample.sh? In this script, "engine_type" and 
"storage_type" will be set. If it does not work, it may be your env has the 
problem. You can modify the script or modify the kylin_sales_cube.json as the 
article saying. That is a good way. After you run Kylin in the right way. You 
can change the "engine_type" in Model -> Cube Designer -> Advanced Setting page.



   Best wishes!



发送自 Windows 10 版邮件应用




发件人: CookieNats 
发送时间: Wednesday, December 26, 2018 5:41:04 PM
收件人: dev@kylin.apache.org
主题: Re: 答复: Kylin2.5 - org.apache.catalina.LifecycleException: Failed to start 
component

Hi kylin-dev,


在您的指导下经过一段时间摸索和尝试我本地的kylin已经启动起来,导入sample例子,不过遇到一个问题,例子中kylin_sales_cube.json里有一个环境变量导致load
cube的时候介些json出错,所以麻烦告知一下这个参数应该在哪里设置,并在在网上看到里相同问题:https://blog.csdn.net/u010429286/article/details/72722597,不过他是使用修改json的方式解决的。

"engine_type" : %default_engine_type%,
"storage_type" : %default_storage_type%

感谢kylin团队的支持

--
Sent from: http://apache-kylin.74782.x6.nabble.com/


Re: 答复: show the kylin sql for timeout

2018-12-26 Thread JiaTao Tao
At present, Kylin's min "kylin.query.timeout-seconds" is 60s, and you can
not set this smaller.

If you want to simulate the scenario of timeout, you can take a look at
"ITKylinQueryTest#testTimeoutQuery". It uses a hack way, see:
"org.apache.kylin.gridtable.StorageSideBehavior#SCAN_FILTER_AGGR_CHECKMEM_WITHDELAY".
But I do not recommend this cuz it seems just for developing and it is too
hacky.

By the way, Kylin's timeout exception is: KylinTimeoutException. And
there's a test mocked this scenario:
"org.apache.kylin.rest.service.KylinQueryTimeoutTest". May this can help
you.

-- 


Regards!

Aron Tao

黄云尧  于2018年12月26日周三 上午11:54写道:

> i want to catch the exception and do something
> 发件人:Na Zhai 
> 发送日期:2018-12-26 16:40:32
> 收件人:"dev@kylin.apache.org" 
> 主题:答复: show the kylin sql for timeout>Hi, yunyao.
> >
> >   Is that you mean you want to see the phenomenon of SQL query
> timeout? Why do you want to do that? Or you just want to know the value of
> timeout?
> >
> >
> >
> >发送自 Windows 10 版邮件应用
> >
> >
> >
> >
> >发件人: 黄云尧 
> >发送时间: Monday, December 24, 2018 4:52:05 PM
> >收件人: dev@kylin.apache.org
> >主题: show the kylin sql for timeout
> >
> >I want to demo the appearance when a sql for timeout in kylin query ,
> someone has a good idea?
> >
> >
> >
> >
> >
> >
> >
>
>
>


Re: show the kylin sql for timeout

2018-12-26 Thread yiifeger wu
Hi, Yunyao,
maybe u could set a small timeout value in the Kylin.properties, then it
should be okay to get a TimeoutException

黄云尧  于2018年12月24日周一 下午4:52写道:

> I want to demo the appearance when a sql for timeout in kylin query ,
> someone has a good idea?
>
>
>
>
>
>
>
>


Re:答复: show the kylin sql for timeout

2018-12-26 Thread 黄云尧
i want to catch the exception and do something
发件人:Na Zhai 
发送日期:2018-12-26 16:40:32
收件人:"dev@kylin.apache.org" 
主题:答复: show the kylin sql for timeout>Hi, yunyao.
>
>   Is that you mean you want to see the phenomenon of SQL query timeout? 
> Why do you want to do that? Or you just want to know the value of timeout?
>
>
>
>发送自 Windows 10 版邮件应用
>
>
>
>
>发件人: 黄云尧 
>发送时间: Monday, December 24, 2018 4:52:05 PM
>收件人: dev@kylin.apache.org
>主题: show the kylin sql for timeout
>
>I want to demo the appearance when a sql for timeout in kylin query , someone 
>has a good idea?
>
>
>
>
>
>
>




[jira] [Created] (KYLIN-3742) DataRequest fail to deserialized

2018-12-26 Thread XiaoXiang Yu (JIRA)
XiaoXiang Yu created KYLIN-3742:
---

 Summary: DataRequest fail to deserialized 
 Key: KYLIN-3742
 URL: https://issues.apache.org/jira/browse/KYLIN-3742
 Project: Kylin
  Issue Type: Bug
  Components: Streaming
Reporter: XiaoXiang Yu
Assignee: XiaoXiang Yu


DataRequest send to Streaming Receiver is cannot be deserialized successfully 
because of 

ParameterDesc's equals method throw a NPE for field null +_colRef._+



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


Re: 答复: Kylin2.5 - org.apache.catalina.LifecycleException: Failed to start component

2018-12-26 Thread CookieNats
Hi kylin-dev,

   
在您的指导下经过一段时间摸索和尝试我本地的kylin已经启动起来,导入sample例子,不过遇到一个问题,例子中kylin_sales_cube.json里有一个环境变量导致load
cube的时候介些json出错,所以麻烦告知一下这个参数应该在哪里设置,并在在网上看到里相同问题:https://blog.csdn.net/u010429286/article/details/72722597,不过他是使用修改json的方式解决的。

"engine_type" : %default_engine_type%,
"storage_type" : %default_storage_type%

感谢kylin团队的支持

--
Sent from: http://apache-kylin.74782.x6.nabble.com/

答复: show the kylin sql for timeout

2018-12-26 Thread Na Zhai
Hi, yunyao.

   Is that you mean you want to see the phenomenon of SQL query timeout? 
Why do you want to do that? Or you just want to know the value of timeout?



发送自 Windows 10 版邮件应用




发件人: 黄云尧 
发送时间: Monday, December 24, 2018 4:52:05 PM
收件人: dev@kylin.apache.org
主题: show the kylin sql for timeout

I want to demo the appearance when a sql for timeout in kylin query , someone 
has a good idea?