[
https://issues.apache.org/jira/browse/BEAM-7036?focusedWorklogId=225250&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-225250
]
ASF GitHub Bot logged work on BEAM-7036:
----------------------------------------
Author: ASF GitHub Bot
Created on: 09/Apr/19 20:45
Start Date: 09/Apr/19 20:45
Worklog Time Spent: 10m
Work Description: ibzib commented on pull request #8254: [BEAM-7036]
Spark portable runner: stage files to run on 'remote' clu…
URL: https://github.com/apache/beam/pull/8254#discussion_r273692360
##########
File path:
runners/spark/src/main/java/org/apache/beam/runners/spark/SparkPipelineRunner.java
##########
@@ -53,6 +56,17 @@ public SparkPipelineResult run(RunnerApi.Pipeline pipeline,
JobInfo jobInfo) {
Pipeline trimmedPipeline = PipelineTrimmer.trim(pipeline,
translator.knownUrns());
Pipeline fusedPipeline =
GreedyPipelineFuser.fuse(trimmedPipeline).toPipeline();
+ if (pipelineOptions.getFilesToStage() == null) {
+ pipelineOptions.setFilesToStage(
+
detectClassPathResourcesToStage(SparkPipelineRunner.class.getClassLoader()));
+ LOG.info(
+ "PipelineOptions.filesToStage was not specified. Defaulting to files
from the classpath");
+ }
+ prepareFilesToStageForRemoteClusterExecution(pipelineOptions);
+ LOG.info(
+ "Will stage {} files. Enable logging at DEBUG level to see which files
will be staged.");
Review comment:
note to self: missing argument here
----------------------------------------------------------------
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: 225250)
Time Spent: 0.5h (was: 20m)
> Spark portable runner: stage files to run on 'remote' cluster
> -------------------------------------------------------------
>
> Key: BEAM-7036
> URL: https://issues.apache.org/jira/browse/BEAM-7036
> Project: Beam
> Issue Type: Improvement
> Components: runner-spark
> Reporter: Kyle Weaver
> Assignee: Kyle Weaver
> Priority: Major
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)