Puneet Gupta created LENS-978: --------------------------------- Summary: 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
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)