ueshin commented on code in PR #52931:
URL: https://github.com/apache/spark/pull/52931#discussion_r2539704551


##########
core/src/main/scala/org/apache/spark/api/python/PythonRunner.scala:
##########
@@ -811,16 +835,13 @@ private[spark] abstract class BasePythonRunner[IN, OUT](
               pythonWorkerStatusMessageWithContext(handle, worker, hasInput || 
buffer.hasRemaining))
           } else {
             logWarning(
-              log"Idle timeout reached for Python worker (timeout: " +
-              log"${MDC(LogKeys.PYTHON_WORKER_IDLE_TIMEOUT, 
idleTimeoutSeconds)} seconds). " +
-              log"No data received from the worker process: " +
-              pythonWorkerStatusMessageWithContext(handle, worker, hasInput || 
buffer.hasRemaining))
+              s"Idle timeout reached for Python worker (timeout: 
$idleTimeoutSeconds seconds). " +
+              s"No data received from the worker process - 
${taskIdentifier(context)}")

Review Comment:
   @Nishanth28 Why is it? Could you revert it to use log w/the MDC?



-- 
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