You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "Davor Bonaci (JIRA)" <ji...@apache.org> on 2016/05/23 22:43:12 UTC
[jira] [Comment Edited] (BEAM-88)
DataflowPipelineOptions.tempLocation doesn't really default to
stagingLocation
[ https://issues.apache.org/jira/browse/BEAM-88?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15297271#comment-15297271 ]
Davor Bonaci edited comment on BEAM-88 at 5/23/16 10:42 PM:
------------------------------------------------------------
[~ilganeli], awesome! We look forward to your contributions.
[~peihe0@gmail.com], is this still up to date?
was (Author: davor):
[~ilganeli], awesome! We look forward to your contributions.
[~peihe0@gmail.com]], is this still up to date?
> DataflowPipelineOptions.tempLocation doesn't really default to stagingLocation
> ------------------------------------------------------------------------------
>
> Key: BEAM-88
> URL: https://issues.apache.org/jira/browse/BEAM-88
> Project: Beam
> Issue Type: Bug
> Components: runner-dataflow
> Reporter: Eugene Kirpichov
> Priority: Trivial
>
> The documentation of DataflowPipelineOptions.tempLocation says: ..."defaults to using stagingLocation."...
> However calling .getTempLocation() when only --stagingLocation is specified on the command line gives null.
> The "defaulting" is really done in DataflowPipelineRunner.fromOptions():
> {code}
> if (Strings.isNullOrEmpty(dataflowOptions.getTempLocation())) {
> dataflowOptions.setTempLocation(dataflowOptions.getStagingLocation());
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)