1 SeaTunnel二进制包下载
2 SeaTunnel环境变量配置
export SEATUNNEL_HOME=${seatunnel install path}
export PATH=$PATH:$SEATUNNEL_HOME/bin
3 SeaTunnel Zeta Server配置
${SEATUNNEL_HOME}/config/jvm_options
,可以在这里调整JVM相关配置。
示例:
hazelcast:
cluster-name: seatunnel
network:
join:
tcp-ip:
enabled: true
member-list:
- hostname1
port:
auto-increment: false
port: 5801
properties:
hazelcast.logging.type: log4j2
seatunnel:
engine:
classloader-cache-mode: true
seatunnel:
engine:
history-job-expire-minutes: 1440
4 Client配置
${SEATUNNEL_HOME}/config/jvm_client_options
,可以在这里调整JVM相关配置,在使用bin/seatunnel.sh --config xxx.conf
提交任务时会启动一个java进程,可以使用此配置来控制java进程参数。
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# JVM Heap
-Xms1g
-Xmx1g
# JVM Dump
-XX:+HeapDumpOnOutOfMemoryError
-XX:HeapDumpPath=/opt/icarbon_saas/bigdata/seatunnel/dump/zeta-client
${SEATUNNEL_HOME}/config/hazelcast-client.yaml
hazelcast-client:
cluster-name: seatunnel
properties:
hazelcast.logging.type: log4j2
network:
cluster-members:
- hostname1:5801
5 启动SeaTunnel Engine
${SEATUNNEL_HOME}/bin/seatunnel-cluster.sh -d