Uploaded image for project: 'Apache Hop (Retired)'
  1. Apache Hop (Retired)
  2. HOP-3190

Beam BigQuery Input action projectId error when executing beam direct pipeline

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Resolved
    • 0.99
    • 0.99
    • Actions, Beam
    • None
    • Windows 10 environment

      GOOGLE_APPLICATION_CREDENTIALS=service_account_json_key was set as a windows system variable.

      service_account_json_key location was also set under tools->options->Google Cloud

    Description

      When executing a pipeline that contains the Beam BigQuery input step, we are getting a beam sdk error specified below (attached to this ticket is the full stack trace):

       Caused by: org.apache.beam.sdk.util.UserCodeException: java.lang.NullPointerException: Required parameter projectId must be specified.

       

      However the BigQuery input step is able to retrieve the fields using the Get Fields option from the action:

       

      But when you try to execute the pipeline the stack trace error occurs.

      I am using a google service account with BigQuery that has read privilege to the dataset.

      service_account_json_key is located on the attached project under google_access directory

       

       

      Attachments

        1. image-2021-08-12-11-32-24-440.png
          41 kB
          Yancarlo Perez
        2. hop-bigquery-input.zip
          8 kB
          Yancarlo Perez
        3. error_stack_trace.txt
          3 kB
          Yancarlo Perez
        4. beam_pipeline_run_configuration.JPG
          73 kB
          Yancarlo Perez

        Activity

          People

            Unassigned Unassigned
            yancarlo.perez Yancarlo Perez
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: