Installation Of A Single Service

    1. tar -xvzf wedatasphere-linkis-0.11.0-dist.tar.gz
    2. cd wedatasphere-linkis-0.11.0-dist
    3. ## 2. Select the corresponding service installation package and go to the corresponding installation directory: $SERVER_HOME
    4. cp wedatasphere-linkis-0.11.0-dist/share/linkis/linkis-publicservice/linkis-publicservice.zip $SERVER_HOME
    5. ## 3. Copy the installation package to the corresponding installation directory. For example: publicservice needs to copy linkis-publicservice.zip
    6. ## Decompress the corresponding service
    7. unzip $SERVERNAME.zip
    8. ## 4. The module package is a public package, except for gateway and Eureka, everything else needs to be copied.
    9. cp ${workDir}/share/linkis/module/module.zip $SERVER_HOME
    10. ## 6. Copy the corresponding installation package
    11. cp module/lib/* $SERVER_HOME/$SERVERNAME/lib/

    2 Modify configuration

    1. After the package is ready, it is to modify the configuration, the configuration mainly modify application.yml and linkis.properties, the configuration is under the conf directory

    2.2 Modify linkis.properties

    • GateWay:
    1. wds.linkis.ldap.proxy.url=$LDAP_URL #LDAP address, login required
    2. wds.linkis.ldap.proxy.baseDN=$LDAP_BASEDN
    3. wds.linkis.gateway.admin.user=$deployUser #Deployment user, as the administrator user
    • PublicService:
    1. ##Database connection information
    2. wds.linkis.server.mybatis.datasource.url=jdbc:mysql://${MYSQL_HOST}:${MYSQL_PORT}/${MYSQL_DB}?characterEncoding=UTF-8
    3. wds.linkis.server.mybatis.datasource.username=$MYSQL_USER
    4. wds.linkis.server.mybatis.datasource.password=$MYSQL_PASSWORD
    5. wds.linkis.workspace.filesystem.hdfsuserrootpath.prefix=$HDFS_USER_ROOT_PATH ##HDFS user root directory
    • Linkis-Database
    • ResourceManager
    1. ##Database connection information
    2. wds.linkis.server.mybatis.datasource.url=jdbc:mysql://${MYSQL_HOST}:${MYSQL_PORT}/${MYSQL_DB}?characterEncoding=UTF-8
    3. wds.linkis.server.mybatis.datasource.username=$MYSQL_USER
    4. wds.linkis.server.mybatis.datasource.password=$MYSQL_PASSWORD
    • Entrance:
    1. wds.linkis.entrance.config.logPath=$WORKSPACE_USER_ROOT_PATH
    2. wds.linkis.resultSet.store.path=$HDFS_USER_ROOT_PATH
    • EngineManager:
    • Additional parameters added by SparkEngineManager
    1. ## Configure engine jar
    2. wds.linkis.enginemanager.core.jar=$SERVER_HOME/$SERVERNAME/lib/linkis-ujes-spark-engine-version.jar
    3. wds.linkis.spark.driver.conf.mainjar=$SERVER_HOME/$SERVERNAME/conf:$SERVER_HOME/$SERVERNAME/lib/*