[jira] [Commented] (BEAM-818) Remove Pipeline.getPipelineOptions
[ https://issues.apache.org/jira/browse/BEAM-818?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15993661#comment-15993661 ] Kenneth Knowles commented on BEAM-818: -- Upon exploring this, I think we need to do this another way: BigQueryIO needs a ValueProvider - runtime only is fine - to have a temp location for its files. This is a reasonable sort of thing for any IO to need, and similar. So, we don't want it to read the string or validate against it, but we do want a way to get the ValueProvider in there without forcing users to always specify it (that is why it is a global option). So I propose making runtime-only options that are unavailable even if a value happens to be specified. > Remove Pipeline.getPipelineOptions > -- > > Key: BEAM-818 > URL: https://issues.apache.org/jira/browse/BEAM-818 > Project: Beam > Issue Type: Improvement > Components: sdk-java-core >Reporter: Thomas Groh >Assignee: Kenneth Knowles > Labels: backward-incompatible > Fix For: First stable release > > > This stops transforms from changing their operation based on > construction-time options, and instead requires that configuration to be > explicit, or to obtain the configuration at runtime. > https://docs.google.com/document/d/1Wr05cYdqnCfrLLqSk--XmGMGgDwwNwWZaFbxLKvPqEQ/edit# -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Commented] (BEAM-818) Remove Pipeline.getPipelineOptions
[ https://issues.apache.org/jira/browse/BEAM-818?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15990013#comment-15990013 ] ASF GitHub Bot commented on BEAM-818: - Github user asfgit closed the pull request at: https://github.com/apache/beam/pull/2666 > Remove Pipeline.getPipelineOptions > -- > > Key: BEAM-818 > URL: https://issues.apache.org/jira/browse/BEAM-818 > Project: Beam > Issue Type: Improvement > Components: sdk-java-core >Reporter: Thomas Groh >Assignee: Kenneth Knowles > Labels: backward-incompatible > Fix For: First stable release > > > This stops transforms from changing their operation based on > construction-time options, and instead requires that configuration to be > explicit, or to obtain the configuration at runtime. > https://docs.google.com/document/d/1Wr05cYdqnCfrLLqSk--XmGMGgDwwNwWZaFbxLKvPqEQ/edit# -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Commented] (BEAM-818) Remove Pipeline.getPipelineOptions
[ https://issues.apache.org/jira/browse/BEAM-818?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15987023#comment-15987023 ] ASF GitHub Bot commented on BEAM-818: - Github user asfgit closed the pull request at: https://github.com/apache/beam/pull/2358 > Remove Pipeline.getPipelineOptions > -- > > Key: BEAM-818 > URL: https://issues.apache.org/jira/browse/BEAM-818 > Project: Beam > Issue Type: Improvement > Components: sdk-java-core >Reporter: Thomas Groh >Assignee: Kenneth Knowles > Labels: backward-incompatible > Fix For: First stable release > > > This stops transforms from changing their operation based on > construction-time options, and instead requires that configuration to be > explicit, or to obtain the configuration at runtime. > https://docs.google.com/document/d/1Wr05cYdqnCfrLLqSk--XmGMGgDwwNwWZaFbxLKvPqEQ/edit# -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Commented] (BEAM-818) Remove Pipeline.getPipelineOptions
[ https://issues.apache.org/jira/browse/BEAM-818?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15947487#comment-15947487 ] ASF GitHub Bot commented on BEAM-818: - GitHub user tgroh opened a pull request: https://github.com/apache/beam/pull/2358 [BEAM-818] Mark Pipeline#getPipelineOptions Experimental Be sure to do all of the following to help us incorporate your contribution quickly and easily: - [ ] Make sure the PR title is formatted like: `[BEAM-] Description of pull request` - [ ] Make sure tests pass via `mvn clean verify`. (Even better, enable Travis-CI on your fork and ensure the whole test matrix passes). - [ ] Replace `` in the title with the actual Jira issue number, if there is one. - [ ] If this contribution is large, please file an Apache [Individual Contributor License Agreement](https://www.apache.org/licenses/icla.txt). --- BEAM-818 plans to remove this method when it is not used within the Beam SDK. Users should not use it, and marking Experimental as well as Deprecated permits its removal within a major version. You can merge this pull request into a Git repository by running: $ git pull https://github.com/tgroh/beam experimental_getPipelineOptions Alternatively you can review and apply these changes as the patch at: https://github.com/apache/beam/pull/2358.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #2358 commit 7975bf507c6f2b8edb1b3168231f13ae9b0f5dc8 Author: Thomas GrohDate: 2017-03-29T16:45:15Z Mark Pipeline#getPipelineOptions Experimental BEAM-818 plans to remove this method when it is not used within the Beam SDK. Users should not use it, and marking Experimental as well as Deprecated permits its removal within a major version. > Remove Pipeline.getPipelineOptions > -- > > Key: BEAM-818 > URL: https://issues.apache.org/jira/browse/BEAM-818 > Project: Beam > Issue Type: Improvement > Components: sdk-java-core >Reporter: Thomas Groh >Assignee: Thomas Groh > Labels: backward-incompatible > Fix For: First stable release > > > This stops transforms from changing their operation based on > construction-time options, and instead requires that configuration to be > explicit, or to obtain the configuration at runtime. > https://docs.google.com/document/d/1Wr05cYdqnCfrLLqSk--XmGMGgDwwNwWZaFbxLKvPqEQ/edit# -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Commented] (BEAM-818) Remove Pipeline.getPipelineOptions
[ https://issues.apache.org/jira/browse/BEAM-818?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15903748#comment-15903748 ] ASF GitHub Bot commented on BEAM-818: - Github user asfgit closed the pull request at: https://github.com/apache/beam/pull/2142 > Remove Pipeline.getPipelineOptions > -- > > Key: BEAM-818 > URL: https://issues.apache.org/jira/browse/BEAM-818 > Project: Beam > Issue Type: Improvement > Components: sdk-java-core >Reporter: Thomas Groh >Assignee: Thomas Groh > Labels: backward-incompatible > Fix For: First stable release > > > This stops transforms from changing their operation based on > construction-time options, and instead requires that configuration to be > explicit, or to obtain the configuration at runtime. > https://docs.google.com/document/d/1Wr05cYdqnCfrLLqSk--XmGMGgDwwNwWZaFbxLKvPqEQ/edit# -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Commented] (BEAM-818) Remove Pipeline.getPipelineOptions
[ https://issues.apache.org/jira/browse/BEAM-818?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15892667#comment-15892667 ] ASF GitHub Bot commented on BEAM-818: - GitHub user tgroh opened a pull request: https://github.com/apache/beam/pull/2142 [BEAM-818] Deprecate Pipeline.getOptions Be sure to do all of the following to help us incorporate your contribution quickly and easily: - [ ] Make sure the PR title is formatted like: `[BEAM-] Description of pull request` - [ ] Make sure tests pass via `mvn clean verify`. (Even better, enable Travis-CI on your fork and ensure the whole test matrix passes). - [ ] Replace `` in the title with the actual Jira issue number, if there is one. - [ ] If this contribution is large, please file an Apache [Individual Contributor License Agreement](https://www.apache.org/licenses/icla.txt). --- Configuration should be explicit pre-execution, and after the call to Run a PipelineRunner controls the PipelineOptions of the executions. Runtime access to options is unaffected by this change. You can merge this pull request into a Git repository by running: $ git pull https://github.com/tgroh/beam deprecate_pipeline_getOptions Alternatively you can review and apply these changes as the patch at: https://github.com/apache/beam/pull/2142.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #2142 > Remove Pipeline.getPipelineOptions > -- > > Key: BEAM-818 > URL: https://issues.apache.org/jira/browse/BEAM-818 > Project: Beam > Issue Type: Improvement > Components: sdk-java-core >Reporter: Thomas Groh >Assignee: Thomas Groh > Labels: backward-incompatible > > This stops transforms from changing their operation based on > construction-time options, and instead requires that configuration to be > explicit, or to obtain the configuration at runtime. > https://docs.google.com/document/d/1Wr05cYdqnCfrLLqSk--XmGMGgDwwNwWZaFbxLKvPqEQ/edit# -- This message was sent by Atlassian JIRA (v6.3.15#6346)