beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Halperin (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (BEAM-88) DataflowPipelineOptions.tempLocation doesn't really default to stagingLocation
Date Tue, 19 Jul 2016 00:30:20 GMT

     [ https://issues.apache.org/jira/browse/BEAM-88?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Daniel Halperin resolved BEAM-88.
---------------------------------
       Resolution: Won't Fix
    Fix Version/s: Not applicable

This is actually working as intended.

> 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
>             Fix For: Not applicable
>
>
> 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)

Mime
View raw message