You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lens.apache.org by "Puneet Gupta (JIRA)" <ji...@apache.org> on 2016/01/12 16:23:39 UTC

[jira] [Commented] (LENS-921) Clean unaccessed InMemoryResultSet intances form server

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

Puneet Gupta commented on LENS-921:
-----------------------------------

Can provide a server level timeout for all InMemoryResultSet(s). Once this timeout is reached form the time the result was created, it should be a candidate for purging.

> Clean unaccessed InMemoryResultSet intances form server
> -------------------------------------------------------
>
>                 Key: LENS-921
>                 URL: https://issues.apache.org/jira/browse/LENS-921
>             Project: Apache Lens
>          Issue Type: Improvement
>            Reporter: Puneet Gupta
>            Assignee: Puneet Gupta
>            Priority: Minor
>
> As of now InMemoryResultSet can be purged only when its fully accessed {@see org.apache.lens.server.api.driver.InMemoryResultSet.canBePurged()}
> In case the client does not consume this result set (and other auto consumption options like email intimation with result set are switched off), such  InMemoryResultSet(s) can lie in Lens Server Memory forever.



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