sumeetgajjar opened a new pull request, #5952:
URL: https://github.com/apache/iceberg/pull/5952

   In this PR, we fix `SparkTestBase#stopMetastoreAndSpark`. 
   
   When `SparkTestBase#startMetastoreAndSpark` throws an exception while 
starting embedded HMS or while creating `SparkSession`, the respective 
`metastore` or `spark` instance would be null. Thus when `stop` method is 
invoked on either of those, an NPE is thrown simply adding noise to the logs.
   
   Adding a nullability check before invoking stop to prevent NPE noise in the 
test logs.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to