1.首先下载dinky1.0.2版本
dinky1.0.2下载地址
2.关闭dinky1.0.1
3.升级dinky1.0.2
3.1 解压dinky1.0.2.ta.gz
tar -xzvf dinky-release-1.16-1.0.2.tar.gz -C /opt/datasophon/
rm -rf dinky-release-1.16-1.0.2.tar.gz
复制dinky1.0.1的配置文件到dinky1.0.2目录
cp /opt/datasophon/dinky-release-1.16-1.0.1/conf/* /opt/datasophon/dinky-release-1.16-1.0.2/conf/
以及把flink相关的包复制到dinky目录,这里不做概述。
3.2 修改manager配置
vim /opt/datasophon-manager-1.2.1/conf/meta/DDP-1.2.1/DINKY/service_ddl.json
修改version、packageName、decompressPackageName
{
"name": "DINKY",
"label": "Dinky",
"description": "流处理极速开发框架,流批一体&湖仓一体的云原生平台,一站式计算平台",
"version": "1.0.2",
"sortNum": 19,
"dependencies":[],
"packageName": "dinky-release-1.16-1.0.2.tar.gz",
"decompressPackageName": "dinky-release-1.16-1.0.2",
之后重启Dinky-manager
/opt/datasophon-manager-1.2.1/bin/datasophon-api.sh restart api
/opt/datasophon目录原来有软链接指向/opt/datasophon/dinky-release-1.16-1.0.1
我给取消了不知道影不影响
unlink dinky
ln -s dinky /opt/datasophon/dinky-release-1.16-1.0.2
4.重启dinky
之后到服务器查看是否是1.0.2启动
jps -ml 查看dinky进程