跳到主要内容
版本:2.1.1

Command usage

Command Entrypoint

bin/start-seatunnel-spark.sh

Options

bin/start-seatunnel-spark.sh \
-c config-path \
-m master \
-e deploy-mode \
-i city=beijing
  • Use -m or --master to specify the cluster manager

  • Use -e or --deploy-mode to specify the deployment mode

  • Use -c or --config to specify the path of the configuration file

  • Use -i or --variable to specify the variables in the configuration file, you can configure multiple

Example

# Yarn client mode
./bin/start-seatunnel-spark.sh \
--master yarn \
--deploy-mode client \
--config ./config/application.conf

# Yarn cluster mode
./bin/start-seatunnel-spark.sh \
--master yarn \
--deploy-mode cluster \
--config ./config/application.conf