[
https://issues.apache.org/jira/browse/BEAM-9339?focusedWorklogId=434776&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-434776
]
ASF GitHub Bot logged work on BEAM-9339:
----------------------------------------
Author: ASF GitHub Bot
Created on: 19/May/20 03:12
Start Date: 19/May/20 03:12
Worklog Time Spent: 10m
Work Description: lukecwik commented on a change in pull request #11748:
URL: https://github.com/apache/beam/pull/11748#discussion_r427005013
##########
File path:
runners/google-cloud-dataflow-java/src/main/java/org/apache/beam/runners/dataflow/DataflowPipelineTranslator.java
##########
@@ -183,7 +183,10 @@ public JobSpecification translate(
String workerHarnessContainerImageURL =
DataflowRunner.getContainerImageForJob(options.as(DataflowPipelineOptions.class));
RunnerApi.Environment defaultEnvironmentForDataflow =
- Environments.createDockerEnvironment(workerHarnessContainerImageURL);
+ Environments.createDockerEnvironment(workerHarnessContainerImageURL)
+ .toBuilder()
+ .addAllCapabilities(Environments.getJavaCapabilities())
Review comment:
Requirements is on the pipeline and that works.
Since Dataflow is creating its own environment it is difficult to have
common code because of the differences in the artifact staging and job APIs
----------------------------------------------------------------
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: 434776)
Time Spent: 8h 10m (was: 8h)
> Declare capabilities in SDK environments
> ----------------------------------------
>
> Key: BEAM-9339
> URL: https://issues.apache.org/jira/browse/BEAM-9339
> Project: Beam
> Issue Type: New Feature
> Components: sdk-go, sdk-java-harness, sdk-py-harness
> Reporter: Robert Bradshaw
> Assignee: Robert Bradshaw
> Priority: P2
> Fix For: 2.22.0
>
> Time Spent: 8h 10m
> Remaining Estimate: 0h
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)