linkis:
links/conf/conf.sh
deployUser=hadoop
### The install home path of Linkis
LINKIS_INSTALL_HOME=/home/hadoop/Install/Linkis #Must provided
WORKSPACE_USER_ROOT_PATH=file:///tmp/linkis/ ##file:// required
### User's root hdfs path
HDFS_USER_ROOT_PATH=hdfs:///tmp/linkis ##hdfs:// required
### Path to store job ResultSet:file or hdfs path
RESULT_SET_ROOT_PATH=hdfs:///tmp/linkis
### Provide the DB information of Hive metadata database.
HIVE_META_URL=jdbc:mysql://127.0.0.1:3306/dss?useUnicode=true #hive元数据,存在mysql里,dss库下
HIVE_META_USER=root
HIVE_META_PASSWORD=root
###HADOOP CONF DIR
HADOOP_CONF_DIR=/usr/local/hadoop/etc/hadoop
###HIVE CONF DIR
HIVE_CONF_DIR=/usr/local/hive/conf
###SPARK CONF DIR
SPARK_CONF_DIR=/usr/local/spark/conf
linkis/conf/db.sh
### Used to store user's custom variables, user's configuration, UDFs and functions, while providing the JobHistory service
MYSQL_HOST=127.0.0.1
MYSQL_PORT=3306
MYSQL_DB=dss #这里选的元数据的路径
MYSQL_USER=root
MYSQL_PASSWORD=root
DSS
dss/conf/config.sh
deployUser=hadoop
### The install home path of DSS,Must provided
DSS_INSTALL_HOME=/home/hadoop/Install/DSS #配置DSS的安装路径,配置好之后需要新建这个目录,并且修改这个文件夹权限
### Specifies the user workspace, which is used to store the user's script files and log files.
### Generally local directory
WORKSPACE_USER_ROOT_PATH=file:///tmp/linkis/
### Path to store job ResultSet:file or hdfs path
RESULT_SET_ROOT_PATH=hdfs:///tmp/linkis
### 1、DataCheck APPJOINT,This service is used to provide DataCheck capability.
HIVE_META_URL=jdbc:mysql://127.0.0.1:3306/dss?characterEncoding=UTF-8
HIVE_META_USER=root
HIVE_META_PASSWORD=root
#Used to store the azkaban project transformed by DSS
WDS_SCHEDULER_PATH=file:///tmp/wds/scheduler #在安装目录下提前建好改文件
使用:
目录结构如下:
linkis:linkis解压后的文件夹,包括配置文件
dss:dss后端解压后的文件,包括配置文件。
dss-web:dss前解压后的文件,包括配置文件。
Install:linkis和dss的安装目录,在配置文件中设置的。如果需要重新安装,删除该目录下的文件,在对应的压缩包下执行安装脚本。
安装完成后查看启动日志是否有错。先启动linkis,在启动dss后端。如果没有错误,则可以访问。
5.2 DataSphereStudio前端安装
a、部署
进入前端工作目录,执行安装脚本
sh bin/install.sh
执行完后可以直接通过在谷歌浏览器访问:
http://dss_ipaddr:dss_port
其中dss_port为config.sh里面配置的端口,dss_ipaddr为安装机器的IP。
如果访问失败:可以通过查看 install.log的日志查看哪一步出错
3.启动服务
sudo systemctl restart nginx
4.谷歌浏览器访问:
http://nginx_ip:nginx_port