|
@@ -47,8 +47,57 @@ mysqlUserName="xx"
|
|
|
|
|
|
mysqlPassword="xx"
|
|
|
|
|
|
+
|
|
|
+
|
|
|
+installPath="/data1_1T/escheduler"
|
|
|
+
|
|
|
+
|
|
|
+deployUser="escheduler"
|
|
|
+
|
|
|
+
|
|
|
+zkQuorum="192.168.xx.xx:2181,192.168.xx.xx:2181,192.168.xx.xx:2181"
|
|
|
+
|
|
|
+
|
|
|
+ips="ark0,ark1,ark2,ark3,ark4"
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+masters="ark0,ark1"
|
|
|
+
|
|
|
+
|
|
|
+workers="ark2,ark3,ark4"
|
|
|
+
|
|
|
+
|
|
|
+alertServer="ark3"
|
|
|
+
|
|
|
+
|
|
|
+apiServers="ark1"
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+mailProtocol="SMTP"
|
|
|
+
|
|
|
+
|
|
|
+mailServerHost="smtp.exmail.qq.com"
|
|
|
+
|
|
|
+
|
|
|
+mailServerPort="25"
|
|
|
+
|
|
|
+
|
|
|
+mailSender="xxxxxxxxxx"
|
|
|
+
|
|
|
+
|
|
|
+mailPassword="xxxxxxxxxx"
|
|
|
+
|
|
|
+
|
|
|
+xlsFilePath="/tmp/xls"
|
|
|
+
|
|
|
|
|
|
|
|
|
+
|
|
|
+
|
|
|
+hdfsStartupSate="false"
|
|
|
+
|
|
|
|
|
|
namenodeFs="hdfs://mycluster:8020"
|
|
|
|
|
@@ -58,6 +107,8 @@ yarnHaIps="192.168.xx.xx,192.168.xx.xx"
|
|
|
|
|
|
singleYarnIp="ark1"
|
|
|
|
|
|
+
|
|
|
+hdfsPath="/escheduler"
|
|
|
|
|
|
|
|
|
|
|
@@ -69,17 +120,11 @@ downloadPath="/tmp/escheduler/download"
|
|
|
|
|
|
execPath="/tmp/escheduler/exec"
|
|
|
|
|
|
-
|
|
|
-hdfsPath="/escheduler"
|
|
|
-
|
|
|
-
|
|
|
-hdfsStartupSate="true"
|
|
|
-
|
|
|
|
|
|
-shellEnvPath="/opt/.escheduler_env.sh"
|
|
|
+shellEnvPath="$installPath/conf/env/.escheduler_env.sh"
|
|
|
|
|
|
|
|
|
-pythonEnvPath="/opt/escheduler_env.py"
|
|
|
+pythonEnvPath="$installPath/conf/env/escheduler_env.py"
|
|
|
|
|
|
|
|
|
resSuffixs="txt,log,sh,conf,cfg,py,java,sql,hql,xml"
|
|
@@ -87,11 +132,7 @@ resSuffixs="txt,log,sh,conf,cfg,py,java,sql,hql,xml"
|
|
|
|
|
|
devState="true"
|
|
|
|
|
|
-
|
|
|
|
|
|
-
|
|
|
-zkQuorum="192.168.xx.xx:2181,192.168.xx.xx:2181,192.168.xx.xx:2181"
|
|
|
-
|
|
|
|
|
|
zkRoot="/escheduler"
|
|
|
|
|
@@ -168,7 +209,6 @@ workerMaxCupLoadAvg="10"
|
|
|
|
|
|
workerReservedMemory="1"
|
|
|
|
|
|
-
|
|
|
|
|
|
|
|
|
apiServerPort="12345"
|
|
@@ -188,53 +228,6 @@ springMaxRequestSize="1024MB"
|
|
|
|
|
|
apiMaxHttpPostSize="5000000"
|
|
|
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-mailProtocol="SMTP"
|
|
|
-
|
|
|
-
|
|
|
-mailServerHost="smtp.exmail.qq.com"
|
|
|
-
|
|
|
-
|
|
|
-mailServerPort="25"
|
|
|
-
|
|
|
-
|
|
|
-mailSender="xxxxxxxxxx"
|
|
|
-
|
|
|
-
|
|
|
-mailPassword="xxxxxxxxxx"
|
|
|
-
|
|
|
-
|
|
|
-xlsFilePath="/opt/xls"
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-installPath="/data1_1T/escheduler"
|
|
|
-
|
|
|
-
|
|
|
-deployUser="escheduler"
|
|
|
-
|
|
|
-
|
|
|
-ips="ark0,ark1,ark2,ark3,ark4"
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-masters="ark0,ark1"
|
|
|
-
|
|
|
-
|
|
|
-workers="ark2,ark3,ark4"
|
|
|
-
|
|
|
-
|
|
|
-alertServer="ark3"
|
|
|
-
|
|
|
-
|
|
|
-apiServers="ark1"
|
|
|
-
|
|
|
-
|
|
|
|
|
|
echo "1,替换文件"
|
|
|
sed -i ${txt} "s#spring.datasource.url.*#spring.datasource.url=jdbc:mysql://${mysqlHost}/${mysqlDb}?characterEncoding=UTF-8#g" conf/dao/data_source.properties
|
|
@@ -317,8 +310,6 @@ sed -i ${txt} "s#alertServer.*#alertServer=${alertServer}#g" conf/config/run_con
|
|
|
sed -i ${txt} "s#apiServers.*#apiServers=${apiServers}#g" conf/config/run_config.conf
|
|
|
|
|
|
|
|
|
-
|
|
|
-
|
|
|
|
|
|
echo "2,创建目录"
|
|
|
|