apache / linkis

Apache Linkis builds a computation middleware layer to facilitate connection, governance and orchestration between the upper applications and the underlying data engines.
https://linkis.apache.org/
Apache License 2.0
3.32k stars 1.17k forks source link

Add a containerized mode to the ECM service #5201

Open sjgllgh opened 1 week ago

sjgllgh commented 1 week ago

What is the purpose of the change

Add a containerized mode to the ECM service, which allows assigning specific IPs and ports for communication with the outside world to particular engines in this mode. For instance, a Spark engine requires at least two ports: spark.driver.port and spark.driver.blockManager.port.

Related issues/PRs

Related issues: #5199

Checklist

sjgllgh commented 6 days ago

Why did my integration test fail when tested with linkis-cli? How can I check the failure logs? I have executed the integration test in my local environment and it passed. The specific execution command is as follows:

  1. mvn install -Pdocker -Dmysql.connector.scope=compile -Dmaven.javadoc.skip=true -Dmaven.test.skip=true -Dlinkis.build.ldh=true
  2. sh ./linkis-dist/helm/scripts/create-kind-cluster.sh
  3. sh ./linkis-dist/helm/scripts/install-mysql.sh false
  4. sh ./linkis-dist/helm/scripts/install-ldh.sh true
  5. sh ./linkis-dist/helm/scripts/install-charts-with-ldh.sh linkis linkis-demo true
  6. sh ./linkis-dist/helm/scripts/remote-proxy.sh start
  7. sh ./linkis-dist/helm/scripts/login-pod.sh mg-gatewaysh
  8. sh /opt/linkis/bin/linkis-cli -engineType shell-1 -codeType shell -code "pwd"