You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by "ueshin (via GitHub)" <gi...@apache.org> on 2025/03/28 01:01:21 UTC
Re: [PR] [SPARK-51608][PYTHON] Log exception on Python runner termination [spark]
ueshin commented on code in PR #49890:
URL: https://github.com/apache/spark/pull/49890#discussion_r2017773133
##########
core/src/main/scala/org/apache/spark/api/python/PythonRunner.scala:
##########
@@ -274,7 +274,7 @@ private[spark] abstract class BasePythonRunner[IN, OUT](
worker.stop()
} catch {
case e: Exception =>
- logWarning("Failed to stop worker")
+ logWarning("Failed to stop worker", e)
Review Comment:
Shall we use `log" ... "`, even though there is no `MDC` embedded?
```suggestion
logWarning(log"Failed to stop worker", e)
```
--
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: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org