Skip to content

[BEAM-88][WIP] DataflowPipelineOptions.tempLocation doesn't really default to stagingLocation#379

Closed
ilganeli wants to merge 1 commit intoapache:masterfrom
ilganeli:BEAM-88
Closed

[BEAM-88][WIP] DataflowPipelineOptions.tempLocation doesn't really default to stagingLocation#379
ilganeli wants to merge 1 commit intoapache:masterfrom
ilganeli:BEAM-88

Conversation

@ilganeli
Copy link

This is still a work in progress since it's unclear where the default settings should actually be set. However, I've started by adding a unit test that demonstrates the issue, showing that we violate the assumption that one path is set by default.

…error is thrown when setting either tempLocation or stagingLocation for DataflowPipelineOptions.
@peihe
Copy link
Contributor

peihe commented Jun 6, 2016

R: @peihe

Hi Ilya,
The default value is set in here by DataflowPipelineRunner:
https://github.com/apache/incubator-beam/blob/master/runners/google-cloud-dataflow-java/src/main/java/org/apache/beam/runners/dataflow/DataflowPipelineRunner.java#L273

Also, I am in the progress of changing this behavior. tempLocation has been lifted to PipelineOptions, and became a general concept (not limited to Dataflow). I am changing it not to default to stagingLocation (a Dataflow options).

@kennknowles
Copy link
Member

Sorry for being nosy, just browsing PRs. Is #438 the change referred to here?

@dhalperi
Copy link
Contributor

With all the new changes to PipelineOptions, this is actually the intended behavior.

Please close PR at your convenience.

@dhalperi
Copy link
Contributor

Of course, you can also respond here, on BEAM-88, or on Beam mailing list with new comments on updated behavior.

@ilganeli ilganeli closed this Jul 19, 2016
dhalperi pushed a commit to dhalperi/beam that referenced this pull request Aug 23, 2016
tvalentyn pushed a commit to tvalentyn/beam that referenced this pull request May 15, 2018
pl04351820 pushed a commit to pl04351820/beam that referenced this pull request Dec 20, 2023
Source-Link: googleapis/synthtool@b0eb8a8
Post-Processor: gcr.io/repo-automation-bots/owlbot-python:latest@sha256:df50e8d462f86d6bcb42f27ecad55bb12c404f1c65de9c6fe4c4d25120080bd6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants