You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@livy.apache.org by "runzhiwang (Jira)" <ji...@apache.org> on 2019/11/20 01:58:00 UTC

[jira] [Commented] (LIVY-714) Cannot remove the app in leakedAppTags when timeout

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

runzhiwang commented on LIVY-714:
---------------------------------

I'm working on it.

> Cannot remove the app in leakedAppTags when timeout
> ---------------------------------------------------
>
>                 Key: LIVY-714
>                 URL: https://issues.apache.org/jira/browse/LIVY-714
>             Project: Livy
>          Issue Type: New Feature
>            Reporter: runzhiwang
>            Priority: Major
>         Attachments: image-2019-11-20-09-50-52-316.png
>
>
> # var isRemoved = false should be in while(iter.hasNext), otherwise if there are two apps, the first app will be removed and the second app will timeout in this loop, and after remove the first app, isRemoved = true, and the second app cannot pass the if(!isRemoved) and only will be delete in the next loop.
>  # entry.getValue - now is negative, and never greater than sessionLeakageCheckTimeout.
> !image-2019-11-20-09-50-52-316.png!



--
This message was sent by Atlassian Jira
(v8.3.4#803005)