# 部署

-在本地以local方式运行seatunnel
./bin/start-seatunnel.sh --master local[4] --deploy-mode client --config ./config/application.conf

-在Spark Standalone集群上运行seatunnel
# client 模式
./bin/start-seatunnel.sh --master spark://207.184.161.138:7077 --deploy-mode client --config ./config/application.conf
# cluster 模式
./bin/start-seatunnel.sh --master spark://207.184.161.138:7077 --deploy-mode cluster --config ./config/application.conf

-在Yarn集群上运行seatunnel
# client 模式
./bin/start-seatunnel.sh --master yarn --deploy-mode client --config ./config/application.conf
# cluster 模式
./bin/start-seatunnel.sh --master yarn --deploy-mode cluster --config ./config/application.conf


# Guardian 监控报警

https://github.com/InterestingLab/guardian/releases


wget https://github.com/InterestingLab/guardian/releases/download/v1.0.0/guardian_1.0.0.tar.gz

tar -xvf guardian_1.0.0

cd guardian_1.0.0

./bin/guardian check config.json

-整个配置文件由以下几个部分组成:

port: 接口API绑定的端口

node_name: 节点信息

check_interval: 检测应用的时间间隔

yarn: 被检测的YARN集群地址

apps: 需要被检测的具体应用

alert_manager: 报警管理


签名:这个人很懒,什么也没有留下!
最新回复 (0)
返回