Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Oracle to BigQuery - "bigQuerySchemaPath" parameter issue #1438

Open
fabrizio-rizzi opened this issue Apr 15, 2024 · 1 comment
Open
Labels
bug Something isn't working needs triage p2

Comments

@fabrizio-rizzi
Copy link

Related Template(s)

oracle_to_bigquery

Template Version

2024-03-06-00_rc00

What happened?

I'm trying to use the "bigQuerySchemaPath" template parameter in order to create the BQ tables if needed using the json schema files stored on GCS.

This parameter is causing the job failure because I get the following error message:

com.google.cloud.teleport.v2.common.UncaughtExceptionLogger - The template launch failed. java.lang.IllegalArgumentException: No filesystem found for scheme gs

If I manually creates the BQ tables and then I run the job with this parameter commented, it runs successfully.

Relevant log output

{
  "insertId": "4558186607511348110:652970:0:10150",
  "jsonPayload": {
    "line": "exec.go:66",
    "message": "com.google.cloud.teleport.v2.common.UncaughtExceptionLogger - The template launch failed.\njava.lang.IllegalArgumentException: No filesystem found for scheme gs\n\tat org.apache.beam.sdk.io.FileSystems.getFileSystemInternal(FileSystems.java:520)\n\tat org.apache.beam.sdk.io.FileSystems.match(FileSystems.java:126)\n\tat org.apache.beam.sdk.io.FileSystems.match(FileSystems.java:147)\n\tat com.google.cloud.teleport.v2.utils.GCSUtils.getGcsFileByteChannel(GCSUtils.java:126)\n\tat com.google.cloud.teleport.v2.utils.GCSUtils.getGcsFileAsString(GCSUtils.java:98)\n\tat com.google.cloud.teleport.v2.templates.JdbcToBigQuery.writeToBQTransform(JdbcToBigQuery.java:192)\n\tat com.google.cloud.teleport.v2.templates.JdbcToBigQuery.main(JdbcToBigQuery.java:84)\n"
  },
  "resource": {
    "type": "dataflow_step",
    "labels": {
      "job_id": "2024-03-28_09_40_00-404592659939574189",
      "region": "europe-west8",
      "project_id": "",
      "step_id": "",
      "job_name": "wf-oracle-to-bigquery-consenso-fse"
    }
  },
  "timestamp": "2024-03-28T16:40:53.546325Z",
  "severity": "ERROR",
  "labels": {
    "compute.googleapis.com/resource_name": "launcher-20240328094000404592659939574189",
    "compute.googleapis.com/resource_type": "instance",
    "dataflow.googleapis.com/region": "europe-west8",
    "dataflow.googleapis.com/job_id": "2024-03-28_09_40_00-404592659939574189",
    "compute.googleapis.com/resource_id": "4558186607511348110",
    "dataflow.googleapis.com/job_name": "wf-oracle-to-bigquery-consenso-fse"
  },
  "logName": "",
  "receiveTimestamp": "2024-03-28T16:40:54.134868383Z",
  "errorGroups": [
    {
      "id": "CL6l4pGGtKuUoQE"
    }
  ]
}
@fabrizio-rizzi fabrizio-rizzi added bug Something isn't working needs triage p2 labels Apr 15, 2024
@fabrizio-rizzi fabrizio-rizzi changed the title [Bug]: <Please Replace with a Summary of the Bug> [Bug]: Oracle to BigQuery - "bigQuerySchemaPath" parameter issue Apr 15, 2024
@stankiewicz
Copy link

this is resolved with #1452

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs triage p2
Projects
None yet
Development

No branches or pull requests

2 participants