[
https://issues.apache.org/jira/browse/BEAM-8624?focusedWorklogId=352342&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-352342
]
ASF GitHub Bot logged work on BEAM-8624:
----------------------------------------
Author: ASF GitHub Bot
Created on: 03/Dec/19 00:41
Start Date: 03/Dec/19 00:41
Worklog Time Spent: 10m
Work Description: angoenka commented on pull request #10115: [BEAM-8624]
Implement Worker Status FnService in Dataflow runner
URL: https://github.com/apache/beam/pull/10115#discussion_r352929073
##########
File path: model/fn-execution/src/main/proto/beam_fn_api.proto
##########
@@ -872,3 +872,32 @@ service BeamFnExternalWorkerPool {
// Stop the SDK worker.
rpc StopWorker (StopWorkerRequest) returns (StopWorkerResponse) {}
}
+
+// Request from runner to SDK Harness asking for its status. For more details
see
+//
https://docs.google.com/document/d/1W77buQtdSEIPUKd9zemAM38fb-x3CvOoaTF4P2mSxmI/edit#
+message WorkerStatusRequest {
+ // (Required) Unique ID identifying this request.
+ string id = 1;
+}
+
+// Response from SDK Harness to runner containing the debug related status
info.
+message WorkerStatusResponse {
+ // (Required) Unique ID from the original request.
+ string id = 1;
+
+ // (Optional) Error message if exception encountered generating the status
response.
+ string error = 2;
+
+ // (Optional) Status debugging info reported by SDK harness worker. Content
and
+ // format of the content is not strongly enforced but should be
print-friendly and
+ // appropriate as an HTTP response body for end user. For details of the
preferred
+ // info to include in the message see
+ //
https://docs.google.com/document/d/1W77buQtdSEIPUKd9zemAM38fb-x3CvOoaTF4P2mSxmI/edit#bookmark=id.ntqwghfc10a6
+ string status_info = 3;
Review comment:
Shall we make this a map in case sdk wants to return multiple pages
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 352342)
Time Spent: 3h 40m (was: 3.5h)
> Implement FnService for status api in Dataflow runner
> -----------------------------------------------------
>
> Key: BEAM-8624
> URL: https://issues.apache.org/jira/browse/BEAM-8624
> Project: Beam
> Issue Type: Sub-task
> Components: runner-dataflow
> Reporter: Yichi Zhang
> Assignee: Yichi Zhang
> Priority: Major
> Time Spent: 3h 40m
> Remaining Estimate: 0h
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)