[
https://issues.apache.org/jira/browse/BEAM-10700?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Marcus Truscello updated BEAM-10700:
------------------------------------
Description:
The Java version of the "[Pipeline option
patterns|https://beam.apache.org/documentation/patterns/pipeline-options/]"
article simply does not work.
When creating a PipelineOptions inside of a DoFn, all get methods that return
ValueProvider<T> will return null instead. The closest working example I could
find was from Google's guide on [ValueProviders in Dataflow
templates|#using-valueprovider-in-your-functions]. The pattern involves
passing the ValueProvider into a DoFn class's constructor, storing it, then
later accessing it at runtime.
was:
The Java version of the "[Pipeline option
patterns|https://beam.apache.org/documentation/patterns/pipeline-options/]"
article simply does not work.
When creating a PipelineOptions inside of a DoFn, all get methods that return
ValueProvider<T> will return null instead. The closest working example I could
find was from Google's guide on [ValueProviders in Dataflow
templates|#using-valueprovider-in-your-functions]]. The pattern involves
passing the ValueProvider into a DoFn class's constructor, storing it, then
later accessing it at runtime.
> "Retroactively logging runtime parameters" guide simply doesn't work.
> ---------------------------------------------------------------------
>
> Key: BEAM-10700
> URL: https://issues.apache.org/jira/browse/BEAM-10700
> Project: Beam
> Issue Type: Bug
> Components: website
> Reporter: Marcus Truscello
> Priority: P3
> Labels: documentation
>
> The Java version of the "[Pipeline option
> patterns|https://beam.apache.org/documentation/patterns/pipeline-options/]"
> article simply does not work.
> When creating a PipelineOptions inside of a DoFn, all get methods that return
> ValueProvider<T> will return null instead. The closest working example I
> could find was from Google's guide on [ValueProviders in Dataflow
> templates|#using-valueprovider-in-your-functions]. The pattern involves
> passing the ValueProvider into a DoFn class's constructor, storing it, then
> later accessing it at runtime.
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)