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

Vsevolod Ostapenko commented on KYLIN-3114:
-------------------------------------------

I attached the patch for the proposed enhancement. Tested it internally and it 
seem to work as expected. 
Properties will be reloaded by QueryService only if kylinConfig has not been 
yet initialized (use case for that is when a user hits refresh while on the 
"Insights" tab or navigates directly to <kylin_server>:7070/kylin/query URL in 
their browser).

Please review and provide feedback.

> Make timeout for the queries submitted through the Web UI configurable
> ----------------------------------------------------------------------
>
>                 Key: KYLIN-3114
>                 URL: https://issues.apache.org/jira/browse/KYLIN-3114
>             Project: Kylin
>          Issue Type: Bug
>          Components: Web 
>    Affects Versions: v2.2.0
>         Environment: HDP 2.5.6, Kylin 2.2.0
>            Reporter: Vsevolod Ostapenko
>            Assignee: Vsevolod Ostapenko
>            Priority: Minor
>             Fix For: v2.3.0
>
>         Attachments: KYLIN-3114.master.001.patch
>
>   Original Estimate: 48h
>  Remaining Estimate: 48h
>
> Currently query.js hard codes timeout for the queries submitted via Web UI to 
> be 300_000 milliseconds.
> Depending on the situation, the default value can be either too large, or too 
> small, especially when query does not hit any cube and is passed through to 
> Hive or Impala.
> Query timeout should be made configurable via kylin.properties.



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

Reply via email to