You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@livy.apache.org by "weiwenda (JIRA)" <ji...@apache.org> on 2018/12/21 03:08:00 UTC

[jira] [Created] (LIVY-545) Eldest Statement will be discarded even if user never get its result

weiwenda created LIVY-545:
-----------------------------

             Summary: Eldest Statement will be discarded even if user never get its result
                 Key: LIVY-545
                 URL: https://issues.apache.org/jira/browse/LIVY-545
             Project: Livy
          Issue Type: Bug
          Components: REPL
    Affects Versions: 0.5.0
            Reporter: weiwenda


1. when repl.session's statement num has reach threshold which is configured by livy.rsc.retained-statements, default as 100. The submit of 101th statement will lead to the discard of the eldest statement (should be No.1).

2. The discard means this statement is not attainable anymore. And if user forget to get the result of this discarded statement before or didn't  request the result in time, he must resubmit same statement again hoping server won't discard again.

3. In above workflow, cluster do some unnecessary effort. If the discarded statement need hours of time to execute, this serve mode will waste a lot of  money.

4. maybe resolve this problem by allow persist statement or discard statement that have be read in priority.



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