tvalentyn commented on code in PR #36518:
URL: https://github.com/apache/beam/pull/36518#discussion_r2433751882
##########
sdks/python/apache_beam/runners/worker/worker_status.py:
##########
@@ -149,6 +150,17 @@ def _active_processing_bundles_state(bundle_process_cache):
state += "time since transition: %.2f seconds\n" % (s[3] / 1e9)
active_bundles.append(state)
+ if bundle_processor_cache.processors_being_created:
+ active_bundles.append("Processors being created:\n")
+ for instruction, (bundle_id, thread, creation_time) in (
+ bundle_processor_cache.processors_being_created.items()):
+ state = '--- instruction %s ---\n' % instruction
+ state += 'ProcessBundleDescriptorId: %s\n' % bundle_id
+ state += "tracked thread: %s\n" % thread
+ state += "time since creation started: %.2f seconds\n" % (
+ time.time() - creation_time)
Review Comment:
done
--
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]