master.properties.tpl 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. #
  2. # Licensed to the Apache Software Foundation (ASF) under one or more
  3. # contributor license agreements. See the NOTICE file distributed with
  4. # this work for additional information regarding copyright ownership.
  5. # The ASF licenses this file to You under the Apache License, Version 2.0
  6. # (the "License"); you may not use this file except in compliance with
  7. # the License. You may obtain a copy of the License at
  8. #
  9. # http://www.apache.org/licenses/LICENSE-2.0
  10. #
  11. # Unless required by applicable law or agreed to in writing, software
  12. # distributed under the License is distributed on an "AS IS" BASIS,
  13. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  14. # See the License for the specific language governing permissions and
  15. # limitations under the License.
  16. #
  17. # master execute thread num
  18. master.exec.threads=${MASTER_EXEC_THREADS}
  19. # master execute task number in parallel
  20. master.exec.task.num=${MASTER_EXEC_TASK_NUM}
  21. # master heartbeat interval
  22. master.heartbeat.interval=${MASTER_HEARTBEAT_INTERVAL}
  23. # master commit task retry times
  24. master.task.commit.retryTimes=${MASTER_TASK_COMMIT_RETRYTIMES}
  25. # master commit task interval
  26. master.task.commit.interval=${MASTER_TASK_COMMIT_INTERVAL}
  27. # only less than cpu avg load, master server can work. default value : the number of cpu cores * 2
  28. master.max.cpuload.avg=${MASTER_MAX_CPULOAD_AVG}
  29. # only larger than reserved memory, master server can work. default value : physical memory * 1/10, unit is G.
  30. master.reserved.memory=${MASTER_RESERVED_MEMORY}
  31. # master listen port
  32. #master.listen.port=${MASTER_LISTEN_PORT}