[
https://issues.apache.org/jira/browse/BEAM-6008?focusedWorklogId=371117&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-371117
]
ASF GitHub Bot logged work on BEAM-6008:
----------------------------------------
Author: ASF GitHub Bot
Created on: 13/Jan/20 21:28
Start Date: 13/Jan/20 21:28
Worklog Time Spent: 10m
Work Description: ibzib commented on pull request #10566: [BEAM-6008]
Propagate errors during pipeline execution in Java's PortableRunner
URL: https://github.com/apache/beam/pull/10566#discussion_r366037322
##########
File path:
runners/java-fn-execution/src/main/java/org/apache/beam/runners/fnexecution/jobsubmission/JobInvocation.java
##########
@@ -243,6 +249,7 @@ private synchronized void setState(JobState.Enum state) {
}
private synchronized void sendMessage(JobMessage message) {
+ messageHistory.add(message);
Review comment:
Right now, it looks like sendMessage is only being called by onFailure:
https://github.com/apache/beam/blob/1db2e3976fb2a5c15c77e55928e19c003db3b387/runners/java-fn-execution/src/main/java/org/apache/beam/runners/fnexecution/jobsubmission/JobInvocation.java#L141-L150
Meaning there should be only 2 messages per pipeline failure. Unless there's
something I'm missing?
----------------------------------------------------------------
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: 371117)
Time Spent: 5h (was: 4h 50m)
> Propagate errors through portable runner
> ----------------------------------------
>
> Key: BEAM-6008
> URL: https://issues.apache.org/jira/browse/BEAM-6008
> Project: Beam
> Issue Type: Improvement
> Components: sdk-java-core, sdk-py-core
> Reporter: Robert Bradshaw
> Priority: Major
> Time Spent: 5h
> Remaining Estimate: 0h
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)