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

runzhiwang updated LIVY-714:
----------------------------
    Description: 
# 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!

  was:!image-2019-11-20-09-50-52-316.png!


> 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)

Reply via email to