Upgrade From 0.9.0 To 0.9.1 Guide
This article briefly introduces the precautions for upgrading Linkis from 0.9.0 to 0.9.1. Linkis has added many new functions and fixed multiple issues. If you have done version adaptation before, you do not need to install according to the new installation package. Can be upgraded through this guide
1 Download the corresponding upgrade package#
download on the release page wedataSphere-linkis-from-0.9.0-udpdate-0.9.1.zip
2 Upgrade steps#
2.1 Modules that do not need to be updated#
The eureka module does not need to be updated
2.2 Only modules that need to be updated#
You only need to upgrade the Linkis-related modules to 0.9.1:
- linkis-gateway
- linkis-resourceManager
- linkis-ujes-hive-enginemanager
- linkis-ujes-hive-entrance
- linkis-ujes-jdbc-entrance
- linkis-ujes-python-entrance
- linkis-ujes-spark-entrance
Upgrade steps:
Delete the 0.9.0 package
Unzip the corresponding service directory and copy the package to the corresponding lib directory
Linkis-gateway needs to modify the configuration of linkis.properties:
#Add parameterswds.linkis.gateway.conf.enable.token.auth=true#Modify the following parameterswds.linkis.gateway.conf.url.pass.auth=/dws/Linkis-gateway needs to copy the proxy configuration token.properties to the conf directory:
2.3 Add material library related packages#
Need to increase the module of the material library related package
1.linkis-publicservice added bml support and added bml client
linkis-bmlclient-0.9.1.jarlinkis-bmlcommon-0.9.1.jarlinkis-gateway-httpclient-support-0.9.1.jarlinkis-httpclient-0.9.1.jarIn addition, the netty package has been added:
netty-3.6.2.Final.jarIn addition, you need to configure the gateway address in linkis.properties:
wds.linkis.gateway.ip=127.0.0.1wds.linkis.gateway.port=9001- linkis-ujes-python-enginemanager and linkis-ujes-spark-enginemanager added bml support and added bml client
linkis-bmlclient-0.9.1.jarlinkis-bmlcommon-0.9.1.jarlinkis-bml-hook-0.9.1.jarlinkis-gateway-httpclient-support-0.9.1.jarlinkis-httpclient-0.9.1.jarUpgrade steps:
Delete the 0.9.0 package
Unzip the corresponding service directory and copy the package to the corresponding lib directory
2.4 Services that need to update configuration and package#
The service that needs to update the configuration and package: linkis-metadata
After decompressing the linkis-metadata installation package, you need to modify the configuration in the conf:
- Application.yml modify eureka address
- linkis.properties configure Linkis database and Hive metadata database address configuration:
//Linkis database connection informationwds.linkis.server.mybatis.datasource.url=jdbc:mysql://wds.linkis.server.mybatis.datasource.username=wds.linkis.server.mybatis.datasource.password=//Hive metabase address is not hiveServer2hive.meta.url=hive.meta.user=hive.meta.password=2.5 Newly added services#
Newly added service: linkis-bml
After downloading the linkis-bml installation package and decompressing it, modify the configuration in conf:
- Application.yml modify eureka address
- linkis.properties configure Mybatis related configuration:
wds.linkis.server.mybatis.datasource.url=jdbc:mysql://wds.linkis.server.mybatis.datasource.username=wds.linkis.server.mybatis.datasource.password=- Import the sql data of bml to mysql
cd db/;source linkis-bml.sql