You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
后台日志文件“linkis-mg-gateway.log”提示:
could not get type for name org.eclipse.jetty.websocket.servlet.WebSocketServlet from any class loader org.reflections.ReflectionsException: could not get type for name org.eclipse.jetty.websocket.servlet.WebSocketServlet
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
一、一键安装使用状况
按照《【安装部署】Linkis1.3.0+DSS1.1.1 Ansible一键安装脚本》文档描述进行部署执行到Linkis安装时会报错。提示信息如下:
TASK [linkis : 检查端口是否运行] *******************************************************
fatal: [dss-service]: FAILED! => {"changed": false, "elapsed": 10, "msg": "Timeout when waiting for 127.0.0.1:8188"}
后台日志文件“linkis-mg-gateway.log”提示:
could not get type for name org.eclipse.jetty.websocket.servlet.WebSocketServlet from any class loader org.reflections.ReflectionsException: could not get type for name org.eclipse.jetty.websocket.servlet.WebSocketServlet
二、部署环境说明
• 《【安装部署】Linkis1.3.0+DSS1.1.1 Ansible一键安装脚本》文档的百度云地址下载安装包并上传到服务器/opt目录下
• 在纯净系统CentOS-7-x86_64-Minimal-2009上测试通过。
三、部署方法
本案例部署主机IP为192.168.1.41,使用root用户执行命令。
3.1 安装前设置
安装ansible及配套lsof,并确认关闭防火墙
$ yum -y install epel-release
$ yum -y install ansible
$ yum -y install lsof
$ systemctl stop firewalld.service
$ systemctl status firewalld.service
配置免密
ssh-keygen -t rsa
ssh-copy-id -i ~/.ssh/id_rsa.pub 192.168.1.41
//ssh-copy-id [email protected]
3.2 部署linkis+dss
进入/opt目录解压安装包
$ cd /opt
$ tar zxvf dss-linkis-ansible.tar.gz
$ cd dss-linkis-ansible
目录说明
$ dss-linkis-ansible
├── ansible.cfg # ansible 配置文件
├── hosts # hosts主机及变量配置
├── playbooks # playbooks剧本
├── README.md # 说明文档
└── roles # 角色配置
配置部署主机(注:ansible_ssh_host的值不能设置127.0.0.1)
$ vi hosts
[deploy]
dss-service ansible_ssh_host=192.168.1.41 ansible_ssh_port=22
#安装基础环境部分,仅保留以下内容
$ vi all.yml
roles:
#执行基础环境部分安装
$ ansible-playbook playbooks/all.yml
#执行完毕后停止nginx
$ systemctl stop nginx
#复制linkis.conf及exchangeis.conf到/etc/nginx/conf.d目录,并创建目录
$ mkdir -p /opt/linkis/web/
$ chown hadoop /opt/linkis/web/
$ chown hadoop /opt/linkis/
$ mkdir -p /opt/exchangis/dist/
$ chown hadoop /opt/exchangis/dist/
$ chown hadoop /opt/exchangis/
#执行完毕后启动nginx
$ /usr/sbin/nginx -c /etc/nginx/nginx.conf
#安装Linkis+DSS
$ vi all.yml
remote_user: hadoop
roles:
$ ansible-playbook playbooks/all.yml
执行结束后,即可访问:http://192.168.1.41 查看信息页面,上面记录了所有服务的访问地址及账号密码。
3.3 部署其它服务
安装dolphinscheduler
$ ansible-playbook playbooks/dolphinscheduler.yml
注: 安装以下服务必须优先安装dolphinscheduler调度系统
安装visualis
$ ansible-playbook playbooks/visualis.yml
安装qualitis
$ ansible-playbook playbooks/qualitis.yml
安装streamis
$ ansible-playbook playbooks/streamis.yml
安装exchangis
$ ansible-playbook playbooks/exchangis.yml
Beta Was this translation helpful? Give feedback.
All reactions