dolphin-master.xml 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  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. <configuration>
  18. <property>
  19. <name>master.exec.threads</name>
  20. <value>100</value>
  21. <value-attributes>
  22. <type>int</type>
  23. </value-attributes>
  24. <description>master execute thread num</description>
  25. <on-ambari-upgrade add="true"/>
  26. </property>
  27. <property>
  28. <name>master.exec.task.num</name>
  29. <value>20</value>
  30. <value-attributes>
  31. <type>int</type>
  32. </value-attributes>
  33. <description>master execute task number in parallel</description>
  34. <on-ambari-upgrade add="true"/>
  35. </property>
  36. <property>
  37. <name>master.heartbeat.interval</name>
  38. <value>10</value>
  39. <value-attributes>
  40. <type>int</type>
  41. </value-attributes>
  42. <description>master heartbeat interval</description>
  43. <on-ambari-upgrade add="true"/>
  44. </property>
  45. <property>
  46. <name>master.task.commit.retryTimes</name>
  47. <value>5</value>
  48. <value-attributes>
  49. <type>int</type>
  50. </value-attributes>
  51. <description>master commit task retry times</description>
  52. <on-ambari-upgrade add="true"/>
  53. </property>
  54. <property>
  55. <name>master.task.commit.interval</name>
  56. <value>1000</value>
  57. <value-attributes>
  58. <type>int</type>
  59. </value-attributes>
  60. <description>master commit task interval</description>
  61. <on-ambari-upgrade add="true"/>
  62. </property>
  63. <property>
  64. <name>master.max.cpuload.avg</name>
  65. <value>100</value>
  66. <value-attributes>
  67. <type>int</type>
  68. </value-attributes>
  69. <description>only less than cpu avg load, master server can work. default value : the number of cpu cores * 2</description>
  70. <on-ambari-upgrade add="true"/>
  71. </property>
  72. <property>
  73. <name>master.reserved.memory</name>
  74. <value>0.3</value>
  75. <description>only larger than reserved memory, master server can work. default value : physical memory * 1/10, unit is G.</description>
  76. <on-ambari-upgrade add="true"/>
  77. </property>
  78. <property>
  79. <name>master.listen.port</name>
  80. <value>5678</value>
  81. <value-attributes>
  82. <type>int</type>
  83. </value-attributes>
  84. <description>master listen port</description>
  85. <on-ambari-upgrade add="true"/>
  86. </property>
  87. </configuration>