|
|
|
@ -187,7 +187,7 @@ masterTaskCommitRetryTimes="5"
|
|
|
|
|
masterTaskCommitInterval="100" |
|
|
|
|
|
|
|
|
|
# master最大cpu平均负载,用来判断master是否还有执行能力 |
|
|
|
|
masterMaxCupLoadAvg="10" |
|
|
|
|
masterMaxCpuLoadAvg="10" |
|
|
|
|
|
|
|
|
|
# master预留内存,用来判断master是否还有执行能力 |
|
|
|
|
masterReservedMemory="1" |
|
|
|
@ -272,7 +272,7 @@ sed -i ${txt} "s#master.exec.task.number.*#master.exec.task.number=${masterExecT
|
|
|
|
|
sed -i ${txt} "s#master.heartbeat.interval.*#master.heartbeat.interval=${masterHeartbeatInterval}#g" conf/master.properties |
|
|
|
|
sed -i ${txt} "s#master.task.commit.retryTimes.*#master.task.commit.retryTimes=${masterTaskCommitRetryTimes}#g" conf/master.properties |
|
|
|
|
sed -i ${txt} "s#master.task.commit.interval.*#master.task.commit.interval=${masterTaskCommitInterval}#g" conf/master.properties |
|
|
|
|
sed -i ${txt} "s#master.max.cpuload.avg.*#master.max.cpuload.avg=${masterMaxCupLoadAvg}#g" conf/master.properties |
|
|
|
|
sed -i ${txt} "s#master.max.cpuload.avg.*#master.max.cpuload.avg=${masterMaxCpuLoadAvg}#g" conf/master.properties |
|
|
|
|
sed -i ${txt} "s#master.reserved.memory.*#master.reserved.memory=${masterReservedMemory}#g" conf/master.properties |
|
|
|
|
|
|
|
|
|
|
|
|
|
|