简体   繁体   English

GCP Apache Beam 数据流 JDBC IO 连接错误

[英]GCP Apache Beam Dataflow JDBC IO Connection Error

Problem问题

When trying to deploy an Apache Beam Pipeline on Google Cloud Platform Dataflow service which connects to a Oracle 11gR2 (11.2.0.4) database to retrieve rows, I received the following error when using the Apache Beam JdbCIO Transform :尝试在连接到Oracle 11gR2 (11.2.0.4) 数据库以检索行的 Google Cloud Platform Dataflow 服务上部署 Apache Beam Pipeline 时,我在使用Apache Beam JdbCIO Transform时收到以下错误:

Error message from worker: java.lang.RuntimeException: org.apache.beam.sdk.util.UserCodeException: java.sql.SQLException: Cannot create PoolableConnectionFactory (ORA-00604: error occurred at recursive SQL level 1 ORA-01882: timezone region not found )来自工作人员的错误消息:java.lang.RuntimeException:org.apache.beam.sdk.util.UserCodeException:java.sql.SQLException:无法创建 PoolableConnectionFactory(ORA-00604:错误发生在递归 SQL 级别 1 ORA-01882:时区区域未找到 )

To solve the problem, I updated the pom.xml为了解决这个问题,我更新了 pom.xml

<!--https://mvnrepository.com/artifact/com.oracle.database.jdbc/ojdbc6 -->
<dependency>
    <groupId>com.oracle.database.jdbc</groupId>
    <artifactId>ojdbc6</artifactId>
    <version>11.2.0.4</version>
</dependency>

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 从 Apache Beam (GCP Dataflow) 写入 ConfluentCloud - Write to ConfluentCloud from Apache Beam (GCP Dataflow) Apache Beam With GCP Dataflow 抛出 INVALID_ARGUMENT - Apache Beam With GCP Dataflow throws INVALID_ARGUMENT 如何在 GCP 上使用 Apache Beam 数据流手动将可执行文件复制到工作人员 - How to manually copy executable to workers with Apache Beam Dataflow on GCP Apache Python 与 Java 之间的光束性能在 GCP 数据流上运行 - Apache Beam Performance Between Python Vs Java Running on GCP Dataflow Apache Beam Dataflow SDK错误与示例 - Apache beam Dataflow SDK error with example Apache Beam / Google数据流 - 错误处理 - Apache Beam / Google dataflow - Error handling 运行 WordCount 示例的 GCP 数据流快速入门错误:未知生命周期阶段“.mainClass=org.apache.beam.examples.WordCount” - GCP Dataflow Quickstart error running WordCount example: Unknown lifecycle phase “.mainClass=org.apache.beam.examples.WordCount” Apache Beam数据流BigQuery - Apache Beam Dataflow BigQuery JAVA - Apache BEAM- GCP:GroupByKey 在 Direct Runner 中运行良好,但在 Dataflow runner 中失败 - JAVA - Apache BEAM- GCP: GroupByKey works fine with Direct Runner but fails with Dataflow runner 在 GCP 数据流使用 apache beam 完成工作后,有什么方法可以进行处理吗? - Is there any way to do processing after GCP dataflow has completed the job using apache beam?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM