This is an automated email from the ASF dual-hosted git repository.
casion pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/incubator-linkis-website.git
The following commit(s) were added to refs/heads/dev by this push:
new 927654eb6c version 1.3.1 metadatasource driver profiles not loaded by
default (#544)
927654eb6c is described below
commit 927654eb6c6be6f263729a0fe13f6d7916a9eb8e
Author: dlimeng <[email protected]>
AuthorDate: Fri Dec 2 17:38:13 2022 +0800
version 1.3.1 metadatasource driver profiles not loaded by default (#544)
---
docs/user-guide/datasource-manual.md | 24 ++++++++++++++++++-
.../current/user-guide/datasource-manual.md | 28 +++++++++++++++++++---
2 files changed, 48 insertions(+), 4 deletions(-)
diff --git a/docs/user-guide/datasource-manual.md
b/docs/user-guide/datasource-manual.md
index 9a7cfc9cfe..dfa4fe1e06 100644
--- a/docs/user-guide/datasource-manual.md
+++ b/docs/user-guide/datasource-manual.md
@@ -117,6 +117,26 @@ linkis-public-enhancements/linkis-datasource
See [Tuning and Troubleshooting>Parameter List#datasourceConfiguration
Parameters](/docs/1.1.0/tuning-and-troubleshooting/configuration#6-datasource-and-metadata-service-configuration-parameters)
+### 1.6 New Data Driven
+1.Background note: Because some database driver packages are not compatible
with the Apache license, you need to introduce the driver yourself
+
+2.New Driver Directory:./lib/linkis-public-enhancements/linkis-ps-publicservice
+
+3.Driver list
+
+| drive name | drive version | download link |
+| ----------- | ----------- |----------- |
+| db2 | db2jcc4 |
https://www.ibm.com/support/pages/db2-jdbc-driver-versions-and-downloads |
+| dameng | DmJdbcDriver18 |
https://download.dameng.com/eco/docs/JAVA_Mybatis_lib.zip |
+| mysql | 5.1.34 |
https://repo1.maven.org/maven2/mysql/mysql-connector-java/5.1.34/mysql-connector-java-5.1.34.jar
|
+|kingbase| kingbase8 |
http://maven.jeecg.org/nexus/content/repositories/jeecg/kingbase/kingbase8/8/kingbase8-8.jar
|
+|greenplum | 5.1.4 |
https://network.pivotal.io/products/vmware-tanzu-greenplum#/releases/985537/file_groups/5749
|
+| postgresql | 42.3.1 |
https://repo1.maven.org/maven2/org/postgresql/postgresql/42.3.1/postgresql-42.3.1.jar|
+| sqlserver | sqlserver2000 |
https://www.microsoft.com/en-us/download/details.aspx?id=11774 |
+| oracle | 11.2.0.3 |
http://www.datanucleus.org/downloads/maven2/oracle/ojdbc6/11.2.0.3/ojdbc6-11.2.0.3.jar
|
+
+
+
## 2. Enable data source function
In the startup script of linkis, the two services related to the data source
(ps-data-source-manager, ps-metadatamanager) will not be started by default.
@@ -140,10 +160,12 @@ The use of data sources is divided into three steps:
- step 3. Data source usage, query metadata information
, hive/kafka/elasticsearch configuration is associated with the corresponding
cluster environment configuration.
-### 3.1 Mysql data source
+### 3.1 jdbc data source
#### 3.1.1 Created through the management console
> You can only create configuration data sources, and test whether the data
> sources can be connected normally, and cannot directly query metadata
+The bottom layer is a general jdbc module, and any data source in 1.6 can be
selected on the web interface, taking mysql as an example
+
Data Source Management > New Data Source > Select MySQL Type
diff --git
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/user-guide/datasource-manual.md
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/user-guide/datasource-manual.md
index c9c5d51025..ba04cf3e3b 100644
---
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/user-guide/datasource-manual.md
+++
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/user-guide/datasource-manual.md
@@ -94,7 +94,7 @@ linkis-public-enhancements/linkis-datasource
│ ├── elasticsearch
│ ├── hive
│ ├── kafka
-│ └── mysql
+│ └── jdbc
```
@@ -109,7 +109,7 @@ linkis-public-enhancements/linkis-datasource
│ ├── elasticsearch
│ ├── hive
│ ├── kafka
-│ └── mysql
+│ └── jdbc
```
`wds.linkis.server.mdm.service.lib.dir`
控制反射调用时加载的类路径,参数默认值是`/lib/linkis-public-enhancements/linkis-ps-metadatamanager/service`
@@ -117,6 +117,26 @@ linkis-public-enhancements/linkis-datasource
参见[调优排障>参数列表#datasource配置参数](/docs/1.1.0/tuning-and-troubleshooting/configuration/#6-数据源及元数据服务配置参数)
+### 1.6 新增数据驱动
+1.背景说明:由于某些数据库驱动程序包与Apache许可证不兼容,需要自己引入驱动程序
+
+2.新驱动程序目录:./lib/linkis-public-enhancements/linkis-ps-publicservice
+
+3.驱动程序列表
+
+| drive name | drive version | download link |
+| ----------- | ----------- |----------- |
+| db2 | db2jcc4 |
https://www.ibm.com/support/pages/db2-jdbc-driver-versions-and-downloads |
+| dameng | DmJdbcDriver18 |
https://download.dameng.com/eco/docs/JAVA_Mybatis_lib.zip |
+| mysql | 5.1.34 |
https://repo1.maven.org/maven2/mysql/mysql-connector-java/5.1.34/mysql-connector-java-5.1.34.jar
|
+|kingbase| kingbase8 |
http://maven.jeecg.org/nexus/content/repositories/jeecg/kingbase/kingbase8/8/kingbase8-8.jar
|
+|greenplum | 5.1.4 |
https://network.pivotal.io/products/vmware-tanzu-greenplum#/releases/985537/file_groups/5749
|
+| postgresql | 42.3.1 |
https://repo1.maven.org/maven2/org/postgresql/postgresql/42.3.1/postgresql-42.3.1.jar|
+| sqlserver | sqlserver2000 |
https://www.microsoft.com/en-us/download/details.aspx?id=11774 |
+| oracle | 11.2.0.3 |
http://www.datanucleus.org/downloads/maven2/oracle/ojdbc6/11.2.0.3/ojdbc6-11.2.0.3.jar
|
+
+
+
## 2. 数据源功能的启用
linkis的启动脚本中默认不会启动数据源相关的服务两个服务(ps-data-source-manager,ps-metadatamanager),
@@ -140,10 +160,12 @@ linkis的启动脚本中默认不会启动数据源相关的服务两个服务
- step 3. 数据源使用,查询元数据信息
,hive/kafka/elasticsearch配置是关联对应的集群环境配置.
-### 3.1 Mysql 数据源
+### 3.1 jdbc 数据源
#### 3.1.1 通过管理台创建
>只能创建配置数据源,以及测试数据源是否能正常连接,无法进行直接进行元数据查询
+底层做个通用jdbc模块,web界面上可以选择1.6中任意一种数据源,以mysql为例
+
数据源管理>新增数据源>选择mysql类型
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]