apache / linkis

Apache Linkis builds a computation middleware layer to facilitate connection, governance and orchestration between the upper applications and the underlying data engines.
https://linkis.apache.org/
Apache License 2.0
3.32k stars 1.17k forks source link

元数据库无法连接 #3325

Closed cipay0325 closed 2 years ago

cipay0325 commented 2 years ago

Before asking

Your environment

Describe your questions

Q1. ... 无法获取到元数据库信息/无法连接元数据库

Eureka service list

image

image dss-scriptis-server.log: image

Some logs info or acctch file

linkis-xxx.log:


<!--日志文字贴到这里-->
linkis-ps-publicservice.log:
2022-09-13 14:18:45.281 [ERROR] [Druid-ConnectionPool-Create-1389724841  ] c.a.d.p.DruidDataSource (2781) [run] - create connection SQLException, url: "jdbc:mysql://10.100.131.6:3306/hive?userUnicode=true&useSSL=false&characterEncoding=utf-8&serverTimezone=UTC", errorCode 0, state null java.sql.SQLException: connect error, url "jdbc:mysql://10.100.131.6:3306/hive?userUnicode=true&useSSL=false&characterEncoding=utf-8&serverTimezone=UTC", driverClass com.mysql.jdbc.Driver
        at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1714) ~[druid-1.1.22.jar:1.1.22]
        at com.alibaba.druid.pool.DruidDataSource$CreateConnectionThread.run(DruidDataSource.java:2779) ~[druid-1.1.22.jar:1.1.22]

log file: dss_log:dss日志信息 dss-workflow-server.log dss-apiservice-server.log dss-flow-execution-server.log dss-framework-orchestrator-server.log dss-framework-project-server.log dss-guide-server.log dss-scriptis-server.log

linkis_logs:linkis日志信息

linkis-cg-engineconnmanager.log linkis-cg-engineplugin(5).log linkis-cg-entrance.log linkis-cg-linkismanager(1).log linkis-mg-eureka.log linkis-mg-gateway.log linkis-ps-cs.log linkis-ps-data-source-manager.log linkis-ps-metadatamanager.log linkis-ps-publicservice(1).log

github-actions[bot] commented 2 years ago

:blush: Welcome to the Apache Linkis (incubating) community!! We are glad that you are contributing by opening this issue.

Please make sure to include all the relevant context. We will be here shortly.

If you are interested in contributing to our website project, please let us know! You can check out our contributing guide on :point_right: How to Participate in Project Contribution.

WeChat Group:

image Mailing Lists: name description Subscribe Unsubscribe archive
dev@linkis.apache.org community activity information subscribe unsubscribe archive
casionone commented 2 years ago

Please confirm whether there is a mysql-connector-java-x.x.x.jar https://linkis.apache.org/zh-CN/docs/1.3.0/deployment/quick-deploy#32-%E6%B7%BB%E5%8A%A0mysql%E9%A9%B1%E5%8A%A8%E5%8C%85

cipay0325 commented 2 years ago

文档指向的两个位置都已经有驱动包,而且换了很多版本的驱动包都试过了,依旧无法连接到hive的元数据库

在 2022-09-14 00:20:53,"Casion" @.***> 写道:

Please confirm whether there is a mysql driver jar package https://linkis.apache.org/zh-CN/docs/1.3.0/deployment/quick-deploy#32-%E6%B7%BB%E5%8A%A0mysql%E9%A9%B1%E5%8A%A8%E5%8C%85

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

cipay0325 commented 2 years ago

在 2022-09-14 00:20:53,"Casion" @.***> 写道:

Please confirm whether there is a mysql driver jar package https://linkis.apache.org/zh-CN/docs/1.3.0/deployment/quick-deploy#32-%E6%B7%BB%E5%8A%A0mysql%E9%A9%B1%E5%8A%A8%E5%8C%85

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>