Skip to content

Commit

Permalink
Merge pull request #11 from WeBankFinTech/branch-0.6.0
Browse files Browse the repository at this point in the history
merge Branch 0.6.0 to master
  • Loading branch information
howeye authored Dec 11, 2019
2 parents 03037b3 + 23c81ab commit b22645f
Show file tree
Hide file tree
Showing 9 changed files with 89 additions and 13 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
English | [中文](docs/zh_CN/ch1)

## Overview
Qualitis is a one-stop data quality management platform that supports quality verification, notification, and management for various datasource. It is used to solve various data quality problems caused by data processing.
Qualitis is a data quality management platform that supports quality verification, notification, and management for various datasource. It is used to solve various data quality problems caused by data processing.

Based on Spring Boot, Qualitis submits quality model task to [Linkis](https://github.com/WeBankFinTech/Linkis) platform. It provides functions such as data quality model construction, data quality model execution, data quality verification, reports of data quality generation and so on.

Expand Down
31 changes: 31 additions & 0 deletions docs/en_US/ch1/Linkis Access Guide.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# How to get Linkis Token

## Linkis Configuration
### Add Linkis Token
```
cd $LINKIS_HOME/linkis-gateway/conf
vim token.properties
```

Add line as follow:
```
QUALITIS-AUTH=*
```

### Modify Linkis Default Queue of User
1. Login in DataSphere Studio using the user same as qualitis.

2. Enter 'Linkis Console' -> Settings -> wds.linkis.yarnqueue, and then set a queue in yarn.

### Add Lib of MySQL
```
cd $LINKIS_HOME/linkis-ujes-spark-enginemanager/lib
```
Add MySQL Lib in it.

At last, restart Linkis.

## Qualitis Configuration
Type in 'QUALITIS-AUTH' in the blank of Linkis Token:
Here is an example:
![](../../../images/en_US/ch1/ClusterConfigurationDemo.png)
9 changes: 3 additions & 6 deletions docs/en_US/ch1/QuickDeploy.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ JDK (1.8.0_141)
Hadoop (2.7.2)
Hive (1.2.1)
Zookeeper (3.4.9)
Linkis (0.9.0), Spark engine required.[How to install Linkis?](https://github.com/WeBankFinTech/Linkis)
DataSphereStudio (0.5.0) Optional. If you want to use workflow, it it required. [How to install DataSphereStudio?](https://github.com/WeBankFinTech/DataSphereStudio)
Linkis (0.9.1), Spark engine required.[How to install Linkis?](https://github.com/WeBankFinTech/Linkis)
DataSphereStudio (0.6.0) Optional. If you want to use workflow, it it required. [How to install DataSphereStudio?](https://github.com/WeBankFinTech/DataSphereStudio)

## 2. Download
[Download](https://github.com/WeBankFinTech/Qualitis/releases)
Expand Down Expand Up @@ -83,10 +83,7 @@ Cluster type
HiveMetaStore address
HiveServer2 address
Linkis address
Linkis Token
Hive database address
Hive database username
Hive database password
Linkis Token(How to get Linkis Token:[Linkis Access Guide](Linkis Access Guide.md))

Here is an example:
![](../../../images/en_US/ch1/ClusterConfigurationDemo.png)
Expand Down
10 changes: 10 additions & 0 deletions docs/en_US/ch1/UpdateGuide.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Update Guide

## update from 0.5.0 to 0.6.0
Download code of 0.6.0 version.

Execute the following code below:
```
mysql -u {USERNAME} -p {PASSWORD} -h {IP} --default-character-set=utf8
source conf/database/update/update_0.5.0-0.6.0.sql
```
10 changes: 10 additions & 0 deletions docs/zh_CN/ch1/升级指南.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# 升级指南

## 0.5.0 升级 0.6.0
下载0.6.0版本代码,并解压。

执行以下数据库脚本:
```
mysql -u {USERNAME} -p {PASSWORD} -h {IP} --default-character-set=utf8
source conf/database/update/update_0.5.0-0.6.0.sql
```
9 changes: 3 additions & 6 deletions docs/zh_CN/ch1/快速搭建手册.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ JDK (1.8.0_141)
Hadoop (2.7.2)
Hive (1.2.1)
Zookeeper (3.4.9)
Linkis(0.9.0), 必装Spark引擎。[如何安装Linkis](https://github.com/WeBankFinTech/Linkis)
DataSphereStudio (0.5.0) 可选. 如果你想使用工作流,必装DataSphereStudio [如何安装DataSphereStudio?](https://github.com/WeBankFinTech/DataSphereStudio)
Linkis(0.9.1), 必装Spark引擎。[如何安装Linkis](https://github.com/WeBankFinTech/Linkis)
DataSphereStudio (0.6.0) 可选. 如果你想使用工作流,必装DataSphereStudio [如何安装DataSphereStudio?](https://github.com/WeBankFinTech/DataSphereStudio)

## 二、安装包下载
[下载](https://github.com/WeBankFinTech/Qualitis/releases)
Expand Down Expand Up @@ -83,10 +83,7 @@ sh bin/start.sh
HiveMetaStore地址
HiveServer2地址
Linkis地址
Linkis Token
Hive数据库地址(用于连接HiveMetaStore的MySQL数据库)
Hive数据库用户名(用于连接HiveMetaStore的MySQL数据库)
Hive数据库密码(用于连接HiveMetaStore的MySQL数据库)
Linkis Token(Linkis Token配置方式请查看文档:[接入Linkis文档](接入Linkis文档.md))

可参考以下例子:
![](../../../images/zh_CN/ch1/规则配置样例.png)
Expand Down
31 changes: 31 additions & 0 deletions docs/zh_CN/ch1/接入Linkis文档.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# 接入Linkis文档

## Linkis配置
### 增加Linkis Token
```
cd $LINKIS_HOME/linkis-gateway/conf
vim token.properties
```

增加以下行:
```
QUALITIS-AUTH=*
```

### 修改用户默认提交队列
1. 在DataSphere Studio中登录Qualitis同名的用户名

2. 进入Linkis管理台 -> 设置 -> yarn队列名中,并设置一个可用的yarn队列

### 加入MySQL依赖包
```
cd $LINKIS_HOME/linkis-ujes-spark-enginemanager/lib
```
并加入mysql依赖包

最后,重启Linkis

## Qualitis配置
在Linkis Token中填入'QUALITIS-AUTH'
如下图所示:
![](../../../images/zh_CN/ch1/规则配置样例.png)
Binary file modified images/en_US/ch1/ClusterConfigurationDemo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/zh_CN/ch1/规则配置样例.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit b22645f

Please sign in to comment.