Ali Smesseim created SPARK-31387:
------------------------------------

             Summary: 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.4.5, 2.3.4, 3
            Reporter: Ali Smesseim


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.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to