Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-10700

"Retroactively logging runtime parameters" guide simply doesn't work.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Triage Needed
    • Priority: P3
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: website
    • Labels:

      Description

      The Java version of the "Pipeline option patterns" 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.  The pattern involves passing the ValueProvider into a DoFn class's constructor, storing it, then later accessing it at runtime.

       

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              mtruscello Marcus Truscello
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: