You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Dongjoon Hyun (Jira)" <ji...@apache.org> on 2020/05/14 19:08:00 UTC

[jira] [Updated] (SPARK-31387) HiveThriftServer2Listener update methods fail with unknown operation/session id

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

Dongjoon Hyun updated SPARK-31387:
----------------------------------
    Fix Version/s:     (was: 3.0.0)

> HiveThriftServer2Listener update methods fail with unknown operation/session id
> -------------------------------------------------------------------------------
>
>                 Key: SPARK-31387
>                 URL: https://issues.apache.org/jira/browse/SPARK-31387
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 2.3.4, 2.4.5, 3.0.0
>            Reporter: Ali Smesseim
>            Priority: Major
>
> HiveThriftServer2Listener update methods, such as onSessionClosed and onOperationError throw a NullPointerException (in Spark 3) or a NoSuchElementException (in Spark 2) when the input session/operation id is unknown. In Spark 2, this can cause control flow issues with the caller of the listener. In Spark 3, the listener is called by a ListenerBus which catches the exception, but it would still be nicer if an invalid update is logged and does not throw an exception.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org