[
https://issues.apache.org/jira/browse/BEAM-5658?focusedWorklogId=192929&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-192929
]
ASF GitHub Bot logged work on BEAM-5658:
----------------------------------------
Author: ASF GitHub Bot
Created on: 31/Jan/19 16:54
Start Date: 31/Jan/19 16:54
Worklog Time Spent: 10m
Work Description: swegner commented on pull request #7684: [BEAM-5658]
Re-enable findbugs on Dataflow worker
URL: https://github.com/apache/beam/pull/7684#discussion_r252750746
##########
File path:
runners/google-cloud-dataflow-java/worker/src/main/java/org/apache/beam/runners/dataflow/worker/BatchDataflowWorker.java
##########
@@ -370,6 +370,8 @@ boolean doWork(WorkItem workItem, WorkItemStatusClient
workItemStatusClient) thr
counterSet,
executionContext,
stageName);
+ } else {
+ throw new IllegalStateException("Work Item was neither a MapTask nor a
SourceOperation");
Review comment:
This is a change in the default behavior (throwing vs passing `null`
worker). Please verify that this change is intended / correct.
Also: remove default assignment of `DataflowWorkExecutor worker = null`
above; no longer needed
----------------------------------------------------------------
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:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 192929)
Time Spent: 50m (was: 40m)
> Enable FindBugs in dataflow java worker code
> --------------------------------------------
>
> Key: BEAM-5658
> URL: https://issues.apache.org/jira/browse/BEAM-5658
> Project: Beam
> Issue Type: Test
> Components: runner-dataflow
> Reporter: Boyuan Zhang
> Assignee: Kenneth Knowles
> Priority: Critical
> Time Spent: 50m
> Remaining Estimate: 0h
>
> Currently we disabled FindBugs task in worker code. We should enable if after
> fixing all related warnings and errors.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)