You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lens.apache.org by "Archana H (JIRA)" <ji...@apache.org> on 2016/08/19 07:50:20 UTC

[jira] [Closed] (LENS-978) Default value of "lens.client.query.poll.interval" is very small

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

Archana H closed LENS-978.
--------------------------

> Default value of "lens.client.query.poll.interval" is very small
> ----------------------------------------------------------------
>
>                 Key: LENS-978
>                 URL: https://issues.apache.org/jira/browse/LENS-978
>             Project: Apache Lens
>          Issue Type: Improvement
>            Reporter: Puneet Gupta
>            Assignee: Puneet Gupta
>            Priority: Trivial
>             Fix For: 2.6
>
>         Attachments: lens-978.v1.patch
>
>
> The  poll interval is kept at 10 ms as of now . This causes excessive polling on the server (as most clients do not set the property to an optimum value). 
> One use case for such small value could be in a case where user wants realtime/interactive response for queries that spend very small time in execution. But in this case the user has better options available in form of "EXECUTE_WITH_TIMEOUT" rather than using async query execution followed by continuous polling for state.
> Further the EXECUTE_WITH_TIMEOUT will also be made available on CLI (which was not the case earlier) via LENS-915 
> Propose to increase the value to 5 secs ( for specific use cases, users can override this value if required)



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