ueshin commented on code in PR #53513:
URL: https://github.com/apache/spark/pull/53513#discussion_r2761316355
##########
python/pyspark/util.py:
##########
@@ -1008,10 +1014,21 @@ def wrapper(*args: Any, **kwargs: Any) -> Any:
return wrapper
+ @contextmanager
+ def enable_faulthandler(self, start_periodic_traceback: bool = True) ->
Iterator[None]:
Review Comment:
Btw, the periodic traceback and faulthandler will be disabled after
`worker.main` ends. We may want to a config that exclusively enables the
periodic traceback here and worker only.
--
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]