Skip to content

Latest commit

 

History

History
104 lines (88 loc) · 2.39 KB

QuickDeploy.md

File metadata and controls

104 lines (88 loc) · 2.39 KB

Quick Deploy

1. Basic Software Installation

Gradle (4.9)
MySQL (5.5+)
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?
DataSphereStudio (0.5.0) Optional. If you want to use workflow, it it required. How to install DataSphereStudio?

2. Download

Download

3、Compile(break this step if using binary installation)

gradle clean distZip

Installation

4.1 Unzip installation package

zip
unzip qualitis-{version}.zip
tar
tar -zxvf qualitis-{VERSION}.tar.gz

4.2 Connect to MySQL and initialize data

mysql -u {USERNAME} -p {PASSWORD} -h {IP} --default-character-set=utf8
source conf/database/init.sql

4.3 Modify configuration

vim conf/application-dev.yml

Modify the configuration below:

## database configuration
spring.datasource.username=
spring.datasource.password=
spring.datasource.url=

## database configuration, the same as above 
task.persistence.username=
task.persistence.password=
task.persistence.address=

## zookeeper address
zk.address=

## HiveServer2 username and password
hive.username=
hive.password=

4.4 Start Service

dos2unix bin/*
sh bin/start.sh

5. Login

5.1 Login

Open the browser and type in "localhost:8090"
登录验证图片
Type in the user name and password below:
username: "admin"
password: "admin"

5.2 Configuration

Click on "Configuration" -> "Cluster Configuration" to add cluster.
系统配置
Type in the configuration information below:
Cluster name(The name of Hadoop cluster)
Cluster type
HiveMetaStore address
HiveServer2 address
Linkis address
Linkis Token
Hive database address
Hive database username
Hive database password

Here is an example:


Tips:
Workflow default supported. You need to install DataSphereStudio to use workflow.
Enabling workflow does not affect the normal use of Qualitis.
If you want to close it, you can do as follow:

vim conf/application.yml

And set workflow.enable=false