beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Commented] (BEAM-3239) Enable debug server for python sdk workers
Date Thu, 30 Nov 2017 19:29:00 GMT


ASF GitHub Bot commented on BEAM-3239:

aaltay commented on a change in pull request #4178: [BEAM-3239] Adding debug server to sdk
worker to get threaddumps

 File path: sdks/python/apache_beam/runners/worker/
 @@ -30,6 +31,39 @@
 # This module is experimental. No backwards-compatibility guarantees.
+class StatusServer(object):
+  def start(self, STATUS_HTTP_PORT=0, started_callback=None):
 Review comment:
   Can you document the arguments in pydocs?
   And why do we need these arguments:
   `STATUS_HTTP_PORT` is really constant 0 for now to pick a random port. We can use a constant
   `started_callback` seems like it is just a test construct. Do we need it?

This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:

> Enable debug server for python sdk workers
> ------------------------------------------
>                 Key: BEAM-3239
>                 URL:
>             Project: Beam
>          Issue Type: Improvement
>          Components: sdk-py-core
>            Reporter: Ankur Goenka
>            Assignee: Ankur Goenka
>            Priority: Minor
> Enable status server to dump threads when http get call is made to the server.

This message was sent by Atlassian JIRA

View raw message