[
https://issues.apache.org/jira/browse/SPARK-31387?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ali Smesseim updated SPARK-31387:
---------------------------------
Description: 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. (was: 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
not throw an exception.)
> 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
> 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: [email protected]
For additional commands, e-mail: [email protected]