apache / dolphinscheduler

Apache DolphinScheduler is the modern data orchestration platform. Agile to create high performance workflow with low-code
https://dolphinscheduler.apache.org/
Apache License 2.0
12.41k stars 4.5k forks source link

[Bug] [DataQuality]DataQuality use clickhouse db,runtime error ClassNotFoundException: com.clickhouse.jdbc.ClickHouseDriver #13553

Open superbaicai opened 1 year ago

superbaicai commented 1 year ago

Search before asking

What happened

3.1.3版本中使用数据质量组件中引用了clickhouse 的数据源,执行时提示: java.lang.ClassNotFoundException: com.clickhouse.jdbc.ClickHouseDriver

What you expected to happen

报错信息: https://files.slack.com/files-pri/T01L3LB96V7-F04NAJJ26J1/image.png

How to reproduce

部署海豚3.1.3单节点服务后,配置clickhouse ,使用local 和 cluster 模式,无其他特殊参数,执行后报错 https://files.slack.com/files-pri/T01L3LB96V7-F04NAJJ26J1/image.png

Anything else

No response

Version

3.1.x

Are you willing to submit PR?

Code of Conduct

github-actions[bot] commented 1 year ago

Search before asking

What happened

In version 3.1.3, the clickhouse data source is used in the data quality component, and the prompt is displayed during execution: java.lang.ClassNotFoundException: com.clickhouse.jdbc.ClickHouseDriver

What you expected to happen

Error message: https://files.slack.com/files-pri/T01L3LB96V7-F04NAJJ26J1/image.png

How to reproduce

After deploying Dolphin 3.1.3 single-node service, configure clickhouse, use local and cluster modes, no other special parameters, and report an error after execution https://files.slack.com/files-pri/T01L3LB96V7-F04NAJJ26J1/image.png

Anything else

No response

Version

3.1.x

Are you willing to submit PR?

Code of Conduct

github-actions[bot] commented 1 year ago

Thank you for your feedback, we have received your issue, Please wait patiently for a reply.

aiwhj commented 1 year ago

把 Clickhouse 驱动放到 spark 的jars目录下面 或者 执行参数 添加 --jar Clickhouse.jar