You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@livy.apache.org by "Quentin Lemaire (Jira)" <ji...@apache.org> on 2020/08/19 15:45:00 UTC
[jira] [Updated] (LIVY-786) Cancelling statement does not work
[ https://issues.apache.org/jira/browse/LIVY-786?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Quentin Lemaire updated LIVY-786:
---------------------------------
Priority: Blocker (was: Minor)
> Cancelling statement does not work
> ----------------------------------
>
> Key: LIVY-786
> URL: https://issues.apache.org/jira/browse/LIVY-786
> Project: Livy
> Issue Type: Bug
> Components: Core
> Affects Versions: 0.6.0
> Environment: emr-5.29.0
> Reporter: Quentin Lemaire
> Priority: Blocker
>
> Hi!
> I am running into troubles when trying to cancel a statement during an interactive session.
> The code I am running is:
> {code:java}
> Thread.sleep(600000)
> val r = 1 + 1
> {code}
> When I cancel the statement, I see the status of the statement changing to "Cancelling" in the Livy UI. After 30s (I left the default timeout), it changes to "Cancelled" and I see "Failed to cancel statement 1" in the logs. The session is still "Busy" and it finishes to run the code. Therefore, the cancellation didn't work and I can even see the result "r: Int = 2" after the sleep.
> Do you have any idea why it doesn't manage to cancel the statement (the code I am running is pretty basic). I didn't manage to find other information/logs on why the cancellation did not work correctly.
> The only solution I found to cancel such a statement is to kill the session.
> Thanks!
--
This message was sent by Atlassian Jira
(v8.3.4#803005)