AngersZhuuuu commented on code in PR #33934:
URL: https://github.com/apache/spark/pull/33934#discussion_r1517416324


##########
core/src/main/scala/org/apache/spark/util/Utils.scala:
##########
@@ -3154,6 +3155,89 @@ private[spark] class RedirectThread(
   }
 }
 
+/**
+ * PythonRunner process wrapper. In this wrapper will collect process error 
message,
+ * if process exit with exception, spark can get process exit message.
+ *
+ * @param process PythonRunner python process
+ * @param out Where to redirect the message.
+ * @param name process name.
+ * @param propagateEof If propagate Eof.
+ */
+private[spark] class PythonRunnerProcessWrapper(

Review Comment:
   Refer to `RedirectThread `



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