yarn-default.xml 124 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445
  1. <?xml version="1.0"?>
  2. <?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
  3. <!--
  4. Licensed to the Apache Software Foundation (ASF) under one or more
  5. contributor license agreements. See the NOTICE file distributed with
  6. this work for additional information regarding copyright ownership.
  7. The ASF licenses this file to You under the Apache License, Version 2.0
  8. (the "License"); you may not use this file except in compliance with
  9. the License. You may obtain a copy of the License at
  10. http://www.apache.org/licenses/LICENSE-2.0
  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. <!-- Do not modify this file directly. Instead, copy entries that you -->
  18. <!-- wish to modify from this file into yarn-site.xml and change them -->
  19. <!-- there. If yarn-site.xml does not already exist, create it. -->
  20. <configuration>
  21. <!-- IPC Configuration -->
  22. <property>
  23. <description>Factory to create client IPC classes.</description>
  24. <name>yarn.ipc.client.factory.class</name>
  25. </property>
  26. <property>
  27. <description>Factory to create server IPC classes.</description>
  28. <name>yarn.ipc.server.factory.class</name>
  29. </property>
  30. <property>
  31. <description>Factory to create serializeable records.</description>
  32. <name>yarn.ipc.record.factory.class</name>
  33. </property>
  34. <property>
  35. <description>RPC class implementation</description>
  36. <name>yarn.ipc.rpc.class</name>
  37. <value>org.apache.hadoop.yarn.ipc.HadoopYarnProtoRPC</value>
  38. </property>
  39. <!-- Resource Manager Configuration -->
  40. <property>
  41. <description>The hostname of the RM.</description>
  42. <name>yarn.resourcemanager.hostname</name>
  43. <value>0.0.0.0</value>
  44. </property>
  45. <property>
  46. <description>The address of the applications manager interface in the RM.</description>
  47. <name>yarn.resourcemanager.address</name>
  48. <value>${yarn.resourcemanager.hostname}:8032</value>
  49. </property>
  50. <property>
  51. <description>
  52. The actual address the server will bind to. If this optional address is
  53. set, the RPC and webapp servers will bind to this address and the port specified in
  54. yarn.resourcemanager.address and yarn.resourcemanager.webapp.address, respectively. This
  55. is most useful for making RM listen to all interfaces by setting to 0.0.0.0.
  56. </description>
  57. <name>yarn.resourcemanager.bind-host</name>
  58. <value></value>
  59. </property>
  60. <property>
  61. <description>
  62. If set to true, then ALL container updates will be automatically sent to
  63. the NM in the next heartbeat</description>
  64. <name>yarn.resourcemanager.auto-update.containers</name>
  65. <value>false</value>
  66. </property>
  67. <property>
  68. <description>The number of threads used to handle applications manager requests.</description>
  69. <name>yarn.resourcemanager.client.thread-count</name>
  70. <value>50</value>
  71. </property>
  72. <property>
  73. <description>Number of threads used to launch/cleanup AM.</description>
  74. <name>yarn.resourcemanager.amlauncher.thread-count</name>
  75. <value>50</value>
  76. </property>
  77. <property>
  78. <description>Retry times to connect with NM.</description>
  79. <name>yarn.resourcemanager.nodemanager-connect-retries</name>
  80. <value>10</value>
  81. </property>
  82. <property>
  83. <description>Timeout in milliseconds when YARN dispatcher tries to drain the
  84. events. Typically, this happens when service is stopping. e.g. RM drains
  85. the ATS events dispatcher when stopping.
  86. </description>
  87. <name>yarn.dispatcher.drain-events.timeout</name>
  88. <value>300000</value>
  89. </property>
  90. <property>
  91. <description>The expiry interval for application master reporting.</description>
  92. <name>yarn.am.liveness-monitor.expiry-interval-ms</name>
  93. <value>600000</value>
  94. </property>
  95. <property>
  96. <description>The Kerberos principal for the resource manager.</description>
  97. <name>yarn.resourcemanager.principal</name>
  98. </property>
  99. <property>
  100. <description>The address of the scheduler interface.</description>
  101. <name>yarn.resourcemanager.scheduler.address</name>
  102. <value>${yarn.resourcemanager.hostname}:8030</value>
  103. </property>
  104. <property>
  105. <description>Number of threads to handle scheduler interface.</description>
  106. <name>yarn.resourcemanager.scheduler.client.thread-count</name>
  107. <value>50</value>
  108. </property>
  109. <property>
  110. <description>
  111. Comma separated class names of ApplicationMasterServiceProcessor
  112. implementations. The processors will be applied in the order
  113. they are specified.
  114. </description>
  115. <name>yarn.resourcemanager.application-master-service.processors</name>
  116. <value></value>
  117. </property>
  118. <property>
  119. <description>
  120. This configures the HTTP endpoint for YARN Daemons.The following
  121. values are supported:
  122. - HTTP_ONLY : Service is provided only on http
  123. - HTTPS_ONLY : Service is provided only on https
  124. </description>
  125. <name>yarn.http.policy</name>
  126. <value>HTTP_ONLY</value>
  127. </property>
  128. <property>
  129. <description>
  130. The http address of the RM web application.
  131. If only a host is provided as the value,
  132. the webapp will be served on a random port.
  133. </description>
  134. <name>yarn.resourcemanager.webapp.address</name>
  135. <value>${yarn.resourcemanager.hostname}:8088</value>
  136. </property>
  137. <property>
  138. <description>
  139. The https address of the RM web application.
  140. If only a host is provided as the value,
  141. the webapp will be served on a random port.
  142. </description>
  143. <name>yarn.resourcemanager.webapp.https.address</name>
  144. <value>${yarn.resourcemanager.hostname}:8090</value>
  145. </property>
  146. <property>
  147. <description>
  148. The Kerberos keytab file to be used for spnego filter for the RM web
  149. interface.
  150. </description>
  151. <name>yarn.resourcemanager.webapp.spnego-keytab-file</name>
  152. <value></value>
  153. </property>
  154. <property>
  155. <description>
  156. The Kerberos principal to be used for spnego filter for the RM web
  157. interface.
  158. </description>
  159. <name>yarn.resourcemanager.webapp.spnego-principal</name>
  160. <value></value>
  161. </property>
  162. <property>
  163. <description>
  164. Add button to kill application in the RM Application view.
  165. </description>
  166. <name>yarn.resourcemanager.webapp.ui-actions.enabled</name>
  167. <value>true</value>
  168. </property>
  169. <property>
  170. <description>To enable RM web ui2 application.</description>
  171. <name>yarn.webapp.ui2.enable</name>
  172. <value>false</value>
  173. </property>
  174. <property>
  175. <description>
  176. Explicitly provide WAR file path for ui2 if needed.
  177. </description>
  178. <name>yarn.webapp.ui2.war-file-path</name>
  179. <value></value>
  180. </property>
  181. <property>
  182. <name>yarn.resourcemanager.resource-tracker.address</name>
  183. <value>${yarn.resourcemanager.hostname}:8031</value>
  184. </property>
  185. <property>
  186. <description>Are acls enabled.</description>
  187. <name>yarn.acl.enable</name>
  188. <value>false</value>
  189. </property>
  190. <property>
  191. <description>Are reservation acls enabled.</description>
  192. <name>yarn.acl.reservation-enable</name>
  193. <value>false</value>
  194. </property>
  195. <property>
  196. <description>ACL of who can be admin of the YARN cluster.</description>
  197. <name>yarn.admin.acl</name>
  198. <value>*</value>
  199. </property>
  200. <property>
  201. <description>The address of the RM admin interface.</description>
  202. <name>yarn.resourcemanager.admin.address</name>
  203. <value>${yarn.resourcemanager.hostname}:8033</value>
  204. </property>
  205. <property>
  206. <description>Number of threads used to handle RM admin interface.</description>
  207. <name>yarn.resourcemanager.admin.client.thread-count</name>
  208. <value>1</value>
  209. </property>
  210. <property>
  211. <description>Maximum time to wait to establish connection to
  212. ResourceManager.</description>
  213. <name>yarn.resourcemanager.connect.max-wait.ms</name>
  214. <value>900000</value>
  215. </property>
  216. <property>
  217. <description>How often to try connecting to the
  218. ResourceManager.</description>
  219. <name>yarn.resourcemanager.connect.retry-interval.ms</name>
  220. <value>30000</value>
  221. </property>
  222. <property>
  223. <description>The maximum number of application attempts. It's a global
  224. setting for all application masters. Each application master can specify
  225. its individual maximum number of application attempts via the API, but the
  226. individual number cannot be more than the global upper bound. If it is,
  227. the resourcemanager will override it. The default number is set to 2, to
  228. allow at least one retry for AM.</description>
  229. <name>yarn.resourcemanager.am.max-attempts</name>
  230. <value>2</value>
  231. </property>
  232. <property>
  233. <description>How often to check that containers are still alive. </description>
  234. <name>yarn.resourcemanager.container.liveness-monitor.interval-ms</name>
  235. <value>600000</value>
  236. </property>
  237. <property>
  238. <description>The keytab for the resource manager.</description>
  239. <name>yarn.resourcemanager.keytab</name>
  240. <value>/etc/krb5.keytab</value>
  241. </property>
  242. <property>
  243. <description>Flag to enable override of the default kerberos authentication
  244. filter with the RM authentication filter to allow authentication using
  245. delegation tokens(fallback to kerberos if the tokens are missing). Only
  246. applicable when the http authentication type is kerberos.</description>
  247. <name>yarn.resourcemanager.webapp.delegation-token-auth-filter.enabled</name>
  248. <value>true</value>
  249. </property>
  250. <property>
  251. <description>Flag to enable cross-origin (CORS) support in the RM. This flag
  252. requires the CORS filter initializer to be added to the filter initializers
  253. list in core-site.xml.</description>
  254. <name>yarn.resourcemanager.webapp.cross-origin.enabled</name>
  255. <value>false</value>
  256. </property>
  257. <property>
  258. <description>How long to wait until a node manager is considered dead.</description>
  259. <name>yarn.nm.liveness-monitor.expiry-interval-ms</name>
  260. <value>600000</value>
  261. </property>
  262. <property>
  263. <description>Path to file with nodes to include.</description>
  264. <name>yarn.resourcemanager.nodes.include-path</name>
  265. <value></value>
  266. </property>
  267. <property>
  268. <description>Path to file with nodes to exclude.</description>
  269. <name>yarn.resourcemanager.nodes.exclude-path</name>
  270. <value></value>
  271. </property>
  272. <property>
  273. <description>The expiry interval for node IP caching. -1 disables the caching</description>
  274. <name>yarn.resourcemanager.node-ip-cache.expiry-interval-secs</name>
  275. <value>-1</value>
  276. </property>
  277. <property>
  278. <description>Number of threads to handle resource tracker calls.</description>
  279. <name>yarn.resourcemanager.resource-tracker.client.thread-count</name>
  280. <value>50</value>
  281. </property>
  282. <property>
  283. <description>The class to use as the resource scheduler.</description>
  284. <name>yarn.resourcemanager.scheduler.class</name>
  285. <value>org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.CapacityScheduler</value>
  286. </property>
  287. <property>
  288. <description>The minimum allocation for every container request at the RM
  289. in MBs. Memory requests lower than this will be set to the value of this
  290. property. Additionally, a node manager that is configured to have less memory
  291. than this value will be shut down by the resource manager.</description>
  292. <name>yarn.scheduler.minimum-allocation-mb</name>
  293. <value>1024</value>
  294. </property>
  295. <property>
  296. <description>The maximum allocation for every container request at the RM
  297. in MBs. Memory requests higher than this will throw an
  298. InvalidResourceRequestException.</description>
  299. <name>yarn.scheduler.maximum-allocation-mb</name>
  300. <value>8192</value>
  301. </property>
  302. <property>
  303. <description>The minimum allocation for every container request at the RM
  304. in terms of virtual CPU cores. Requests lower than this will be set to the
  305. value of this property. Additionally, a node manager that is configured to
  306. have fewer virtual cores than this value will be shut down by the resource
  307. manager.</description>
  308. <name>yarn.scheduler.minimum-allocation-vcores</name>
  309. <value>1</value>
  310. </property>
  311. <property>
  312. <description>The maximum allocation for every container request at the RM
  313. in terms of virtual CPU cores. Requests higher than this will throw an
  314. InvalidResourceRequestException.</description>
  315. <name>yarn.scheduler.maximum-allocation-vcores</name>
  316. <value>4</value>
  317. </property>
  318. <property>
  319. <description>
  320. Used by node labels. If set to true, the port should be included in the
  321. node name. Only usable if your scheduler supports node labels.
  322. </description>
  323. <name>yarn.scheduler.include-port-in-node-name</name>
  324. <value>false</value>
  325. </property>
  326. <property>
  327. <description>Enable RM to recover state after starting. If true, then
  328. yarn.resourcemanager.store.class must be specified. </description>
  329. <name>yarn.resourcemanager.recovery.enabled</name>
  330. <value>false</value>
  331. </property>
  332. <property>
  333. <description>Should RM fail fast if it encounters any errors. By defalt, it
  334. points to ${yarn.fail-fast}. Errors include:
  335. 1) exceptions when state-store write/read operations fails.
  336. </description>
  337. <name>yarn.resourcemanager.fail-fast</name>
  338. <value>${yarn.fail-fast}</value>
  339. </property>
  340. <property>
  341. <description>Should YARN fail fast if it encounters any errors.
  342. This is a global config for all other components including RM,NM etc.
  343. If no value is set for component-specific config (e.g yarn.resourcemanager.fail-fast),
  344. this value will be the default.
  345. </description>
  346. <name>yarn.fail-fast</name>
  347. <value>false</value>
  348. </property>
  349. <property>
  350. <description>Enable RM work preserving recovery. This configuration is private
  351. to YARN for experimenting the feature.
  352. </description>
  353. <name>yarn.resourcemanager.work-preserving-recovery.enabled</name>
  354. <value>true</value>
  355. </property>
  356. <property>
  357. <description>Set the amount of time RM waits before allocating new
  358. containers on work-preserving-recovery. Such wait period gives RM a chance
  359. to settle down resyncing with NMs in the cluster on recovery, before assigning
  360. new containers to applications.
  361. </description>
  362. <name>yarn.resourcemanager.work-preserving-recovery.scheduling-wait-ms</name>
  363. <value>10000</value>
  364. </property>
  365. <property>
  366. <description>The class to use as the persistent store.
  367. If org.apache.hadoop.yarn.server.resourcemanager.recovery.ZKRMStateStore
  368. is used, the store is implicitly fenced; meaning a single ResourceManager
  369. is able to use the store at any point in time. More details on this
  370. implicit fencing, along with setting up appropriate ACLs is discussed
  371. under yarn.resourcemanager.zk-state-store.root-node.acl.
  372. </description>
  373. <name>yarn.resourcemanager.store.class</name>
  374. <value>org.apache.hadoop.yarn.server.resourcemanager.recovery.FileSystemRMStateStore</value>
  375. </property>
  376. <property>
  377. <description>When automatic failover is enabled, number of zookeeper
  378. operation retry times in ActiveStandbyElector</description>
  379. <name>yarn.resourcemanager.ha.failover-controller.active-standby-elector.zk.retries</name>
  380. <!--<value>3</value>-->
  381. </property>
  382. <property>
  383. <description>The maximum number of completed applications RM state
  384. store keeps, less than or equals to ${yarn.resourcemanager.max-completed-applications}.
  385. By default, it equals to ${yarn.resourcemanager.max-completed-applications}.
  386. This ensures that the applications kept in the state store are consistent with
  387. the applications remembered in RM memory.
  388. Any values larger than ${yarn.resourcemanager.max-completed-applications} will
  389. be reset to ${yarn.resourcemanager.max-completed-applications}.
  390. Note that this value impacts the RM recovery performance. Typically,
  391. a smaller value indicates better performance on RM recovery.
  392. </description>
  393. <name>yarn.resourcemanager.state-store.max-completed-applications</name>
  394. <value>${yarn.resourcemanager.max-completed-applications}</value>
  395. </property>
  396. <property>
  397. <description>Full path of the ZooKeeper znode where RM state will be
  398. stored. This must be supplied when using
  399. org.apache.hadoop.yarn.server.resourcemanager.recovery.ZKRMStateStore
  400. as the value for yarn.resourcemanager.store.class</description>
  401. <name>yarn.resourcemanager.zk-state-store.parent-path</name>
  402. <value>/rmstore</value>
  403. </property>
  404. <property>
  405. <description>
  406. ACLs to be used for the root znode when using ZKRMStateStore in an HA
  407. scenario for fencing.
  408. ZKRMStateStore supports implicit fencing to allow a single
  409. ResourceManager write-access to the store. For fencing, the
  410. ResourceManagers in the cluster share read-write-admin privileges on the
  411. root node, but the Active ResourceManager claims exclusive create-delete
  412. permissions.
  413. By default, when this property is not set, we use the ACLs from
  414. yarn.resourcemanager.zk-acl for shared admin access and
  415. rm-address:random-number for username-based exclusive create-delete
  416. access.
  417. This property allows users to set ACLs of their choice instead of using
  418. the default mechanism. For fencing to work, the ACLs should be
  419. carefully set differently on each ResourceManger such that all the
  420. ResourceManagers have shared admin access and the Active ResourceManger
  421. takes over (exclusively) the create-delete access.
  422. </description>
  423. <name>yarn.resourcemanager.zk-state-store.root-node.acl</name>
  424. </property>
  425. <property>
  426. <description>URI pointing to the location of the FileSystem path where
  427. RM state will be stored. This must be supplied when using
  428. org.apache.hadoop.yarn.server.resourcemanager.recovery.FileSystemRMStateStore
  429. as the value for yarn.resourcemanager.store.class</description>
  430. <name>yarn.resourcemanager.fs.state-store.uri</name>
  431. <value>${hadoop.tmp.dir}/yarn/system/rmstore</value>
  432. <!--value>hdfs://localhost:9000/rmstore</value-->
  433. </property>
  434. <property>
  435. <description>the number of retries to recover from IOException in
  436. FileSystemRMStateStore.
  437. </description>
  438. <name>yarn.resourcemanager.fs.state-store.num-retries</name>
  439. <value>0</value>
  440. </property>
  441. <property>
  442. <description>Retry interval in milliseconds in FileSystemRMStateStore.
  443. </description>
  444. <name>yarn.resourcemanager.fs.state-store.retry-interval-ms</name>
  445. <value>1000</value>
  446. </property>
  447. <property>
  448. <description>Local path where the RM state will be stored when using
  449. org.apache.hadoop.yarn.server.resourcemanager.recovery.LeveldbRMStateStore
  450. as the value for yarn.resourcemanager.store.class</description>
  451. <name>yarn.resourcemanager.leveldb-state-store.path</name>
  452. <value>${hadoop.tmp.dir}/yarn/system/rmstore</value>
  453. </property>
  454. <property>
  455. <description>The time in seconds between full compactions of the leveldb
  456. database. Setting the interval to zero disables the full compaction
  457. cycles.</description>
  458. <name>yarn.resourcemanager.leveldb-state-store.compaction-interval-secs</name>
  459. <value>3600</value>
  460. </property>
  461. <property>
  462. <description>Enable RM high-availability. When enabled,
  463. (1) The RM starts in the Standby mode by default, and transitions to
  464. the Active mode when prompted to.
  465. (2) The nodes in the RM ensemble are listed in
  466. yarn.resourcemanager.ha.rm-ids
  467. (3) The id of each RM either comes from yarn.resourcemanager.ha.id
  468. if yarn.resourcemanager.ha.id is explicitly specified or can be
  469. figured out by matching yarn.resourcemanager.address.{id} with local address
  470. (4) The actual physical addresses come from the configs of the pattern
  471. - {rpc-config}.{id}</description>
  472. <name>yarn.resourcemanager.ha.enabled</name>
  473. <value>false</value>
  474. </property>
  475. <property>
  476. <description>Enable automatic failover.
  477. By default, it is enabled only when HA is enabled</description>
  478. <name>yarn.resourcemanager.ha.automatic-failover.enabled</name>
  479. <value>true</value>
  480. </property>
  481. <property>
  482. <description>Enable embedded automatic failover.
  483. By default, it is enabled only when HA is enabled.
  484. The embedded elector relies on the RM state store to handle fencing,
  485. and is primarily intended to be used in conjunction with ZKRMStateStore.
  486. </description>
  487. <name>yarn.resourcemanager.ha.automatic-failover.embedded</name>
  488. <value>true</value>
  489. </property>
  490. <property>
  491. <description>The base znode path to use for storing leader information,
  492. when using ZooKeeper based leader election.</description>
  493. <name>yarn.resourcemanager.ha.automatic-failover.zk-base-path</name>
  494. <value>/yarn-leader-election</value>
  495. </property>
  496. <property>
  497. <description>Index at which last section of application id (with each section
  498. separated by _ in application id) will be split so that application znode
  499. stored in zookeeper RM state store will be stored as two different znodes
  500. (parent-child). Split is done from the end.
  501. For instance, with no split, appid znode will be of the form
  502. application_1352994193343_0001. If the value of this config is 1, the
  503. appid znode will be broken into two parts application_1352994193343_000
  504. and 1 respectively with former being the parent node.
  505. application_1352994193343_0002 will then be stored as 2 under the parent
  506. node application_1352994193343_000. This config can take values from 0 to 4.
  507. 0 means there will be no split. If configuration value is outside this
  508. range, it will be treated as config value of 0(i.e. no split). A value
  509. larger than 0 (up to 4) should be configured if you are storing a large number
  510. of apps in ZK based RM state store and state store operations are failing due to
  511. LenError in Zookeeper.</description>
  512. <name>yarn.resourcemanager.zk-appid-node.split-index</name>
  513. <value>0</value>
  514. </property>
  515. <property>
  516. <description>Index at which the RM Delegation Token ids will be split so
  517. that the delegation token znodes stored in the zookeeper RM state store
  518. will be stored as two different znodes (parent-child). The split is done
  519. from the end. For instance, with no split, a delegation token znode will
  520. be of the form RMDelegationToken_123456789. If the value of this config is
  521. 1, the delegation token znode will be broken into two parts:
  522. RMDelegationToken_12345678 and 9 respectively with former being the parent
  523. node. This config can take values from 0 to 4. 0 means there will be no
  524. split. If the value is outside this range, it will be treated as 0 (i.e.
  525. no split). A value larger than 0 (up to 4) should be configured if you are
  526. running a large number of applications, with long-lived delegation tokens
  527. and state store operations (e.g. failover) are failing due to LenError in
  528. Zookeeper.</description>
  529. <name>yarn.resourcemanager.zk-delegation-token-node.split-index</name>
  530. <value>0</value>
  531. </property>
  532. <property>
  533. <description>Specifies the maximum size of the data that can be stored
  534. in a znode. Value should be same or less than jute.maxbuffer configured
  535. in zookeeper. Default value configured is 1MB.</description>
  536. <name>yarn.resourcemanager.zk-max-znode-size.bytes</name>
  537. <value>1048576</value>
  538. </property>
  539. <property>
  540. <description>Name of the cluster. In a HA setting,
  541. this is used to ensure the RM participates in leader
  542. election for this cluster and ensures it does not affect
  543. other clusters</description>
  544. <name>yarn.resourcemanager.cluster-id</name>
  545. <!--value>yarn-cluster</value-->
  546. </property>
  547. <property>
  548. <description>The list of RM nodes in the cluster when HA is
  549. enabled. See description of yarn.resourcemanager.ha
  550. .enabled for full details on how this is used.</description>
  551. <name>yarn.resourcemanager.ha.rm-ids</name>
  552. <!--value>rm1,rm2</value-->
  553. </property>
  554. <property>
  555. <description>The id (string) of the current RM. When HA is enabled, this
  556. is an optional config. The id of current RM can be set by explicitly
  557. specifying yarn.resourcemanager.ha.id or figured out by matching
  558. yarn.resourcemanager.address.{id} with local address
  559. See description of yarn.resourcemanager.ha.enabled
  560. for full details on how this is used.</description>
  561. <name>yarn.resourcemanager.ha.id</name>
  562. <!--value>rm1</value-->
  563. </property>
  564. <property>
  565. <description>When HA is enabled, the class to be used by Clients, AMs and
  566. NMs to failover to the Active RM. It should extend
  567. org.apache.hadoop.yarn.client.RMFailoverProxyProvider</description>
  568. <name>yarn.client.failover-proxy-provider</name>
  569. <value>org.apache.hadoop.yarn.client.ConfiguredRMFailoverProxyProvider</value>
  570. </property>
  571. <property>
  572. <description>When HA is enabled, the max number of times
  573. FailoverProxyProvider should attempt failover. When set,
  574. this overrides the yarn.resourcemanager.connect.max-wait.ms. When
  575. not set, this is inferred from
  576. yarn.resourcemanager.connect.max-wait.ms.</description>
  577. <name>yarn.client.failover-max-attempts</name>
  578. <!--value>15</value-->
  579. </property>
  580. <property>
  581. <description>When HA is enabled, the sleep base (in milliseconds) to be
  582. used for calculating the exponential delay between failovers. When set,
  583. this overrides the yarn.resourcemanager.connect.* settings. When
  584. not set, yarn.resourcemanager.connect.retry-interval.ms is used instead.
  585. </description>
  586. <name>yarn.client.failover-sleep-base-ms</name>
  587. <!--value>500</value-->
  588. </property>
  589. <property>
  590. <description>When HA is enabled, the maximum sleep time (in milliseconds)
  591. between failovers. When set, this overrides the
  592. yarn.resourcemanager.connect.* settings. When not set,
  593. yarn.resourcemanager.connect.retry-interval.ms is used instead.</description>
  594. <name>yarn.client.failover-sleep-max-ms</name>
  595. <!--value>15000</value-->
  596. </property>
  597. <property>
  598. <description>When HA is enabled, the number of retries per
  599. attempt to connect to a ResourceManager. In other words,
  600. it is the ipc.client.connect.max.retries to be used during
  601. failover attempts</description>
  602. <name>yarn.client.failover-retries</name>
  603. <value>0</value>
  604. </property>
  605. <property>
  606. <description>When HA is enabled, the number of retries per
  607. attempt to connect to a ResourceManager on socket timeouts. In other
  608. words, it is the ipc.client.connect.max.retries.on.timeouts to be used
  609. during failover attempts</description>
  610. <name>yarn.client.failover-retries-on-socket-timeouts</name>
  611. <value>0</value>
  612. </property>
  613. <property>
  614. <description>The maximum number of completed applications RM keeps. </description>
  615. <name>yarn.resourcemanager.max-completed-applications</name>
  616. <value>1000</value>
  617. </property>
  618. <property>
  619. <description>Interval at which the delayed token removal thread runs</description>
  620. <name>yarn.resourcemanager.delayed.delegation-token.removal-interval-ms</name>
  621. <value>30000</value>
  622. </property>
  623. <property>
  624. <description>Maximum size in bytes for configurations that can be provided
  625. by application to RM for delegation token renewal.
  626. By experiment, it's roughly 128 bytes per key-value pair.
  627. The default value 12800 allows roughly 100 configs, may be less.
  628. </description>
  629. <name>yarn.resourcemanager.delegation-token.max-conf-size-bytes</name>
  630. <value>12800</value>
  631. </property>
  632. <property>
  633. <description>If true, ResourceManager will have proxy-user privileges.
  634. Use case: In a secure cluster, YARN requires the user hdfs delegation-tokens to
  635. do localization and log-aggregation on behalf of the user. If this is set to true,
  636. ResourceManager is able to request new hdfs delegation tokens on behalf of
  637. the user. This is needed by long-running-service, because the hdfs tokens
  638. will eventually expire and YARN requires new valid tokens to do localization
  639. and log-aggregation. Note that to enable this use case, the corresponding
  640. HDFS NameNode has to configure ResourceManager as the proxy-user so that
  641. ResourceManager can itself ask for new tokens on behalf of the user when
  642. tokens are past their max-life-time.</description>
  643. <name>yarn.resourcemanager.proxy-user-privileges.enabled</name>
  644. <value>false</value>
  645. </property>
  646. <property>
  647. <description>Interval for the roll over for the master key used to generate
  648. application tokens
  649. </description>
  650. <name>yarn.resourcemanager.am-rm-tokens.master-key-rolling-interval-secs</name>
  651. <value>86400</value>
  652. </property>
  653. <property>
  654. <description>Interval for the roll over for the master key used to generate
  655. container tokens. It is expected to be much greater than
  656. yarn.nm.liveness-monitor.expiry-interval-ms and
  657. yarn.resourcemanager.rm.container-allocation.expiry-interval-ms. Otherwise the
  658. behavior is undefined.
  659. </description>
  660. <name>yarn.resourcemanager.container-tokens.master-key-rolling-interval-secs</name>
  661. <value>86400</value>
  662. </property>
  663. <property>
  664. <description>The heart-beat interval in milliseconds for every NodeManager in the cluster.</description>
  665. <name>yarn.resourcemanager.nodemanagers.heartbeat-interval-ms</name>
  666. <value>1000</value>
  667. </property>
  668. <property>
  669. <description>The minimum allowed version of a connecting nodemanager. The valid values are
  670. NONE (no version checking), EqualToRM (the nodemanager's version is equal to
  671. or greater than the RM version), or a Version String.</description>
  672. <name>yarn.resourcemanager.nodemanager.minimum.version</name>
  673. <value>NONE</value>
  674. </property>
  675. <property>
  676. <description>Enable a set of periodic monitors (specified in
  677. yarn.resourcemanager.scheduler.monitor.policies) that affect the
  678. scheduler.</description>
  679. <name>yarn.resourcemanager.scheduler.monitor.enable</name>
  680. <value>false</value>
  681. </property>
  682. <property>
  683. <description>The list of SchedulingEditPolicy classes that interact with
  684. the scheduler. A particular module may be incompatible with the
  685. scheduler, other policies, or a configuration of either.</description>
  686. <name>yarn.resourcemanager.scheduler.monitor.policies</name>
  687. <value>org.apache.hadoop.yarn.server.resourcemanager.monitor.capacity.ProportionalCapacityPreemptionPolicy</value>
  688. </property>
  689. <property>
  690. <description>The class to use as the configuration provider.
  691. If org.apache.hadoop.yarn.LocalConfigurationProvider is used,
  692. the local configuration will be loaded.
  693. If org.apache.hadoop.yarn.FileSystemBasedConfigurationProvider is used,
  694. the configuration which will be loaded should be uploaded to remote File system first.
  695. </description>
  696. <name>yarn.resourcemanager.configuration.provider-class</name>
  697. <value>org.apache.hadoop.yarn.LocalConfigurationProvider</value>
  698. <!-- <value>org.apache.hadoop.yarn.FileSystemBasedConfigurationProvider</value> -->
  699. </property>
  700. <property>
  701. <description>
  702. The value specifies the file system (e.g. HDFS) path where ResourceManager
  703. loads configuration if yarn.resourcemanager.configuration.provider-class
  704. is set to org.apache.hadoop.yarn.FileSystemBasedConfigurationProvider.
  705. </description>
  706. <name>yarn.resourcemanager.configuration.file-system-based-store</name>
  707. <value>/yarn/conf</value>
  708. </property>
  709. <property>
  710. <description>The setting that controls whether yarn system metrics is
  711. published to the Timeline server (version one) or not, by RM.
  712. This configuration is now deprecated in favor of
  713. yarn.system-metrics-publisher.enabled.</description>
  714. <name>yarn.resourcemanager.system-metrics-publisher.enabled</name>
  715. <value>false</value>
  716. </property>
  717. <property>
  718. <description>The setting that controls whether yarn system metrics is
  719. published on the Timeline service or not by RM And NM.</description>
  720. <name>yarn.system-metrics-publisher.enabled</name>
  721. <value>false</value>
  722. </property>
  723. <property>
  724. <description>The setting that controls whether yarn container events are
  725. published to the timeline service or not by RM. This configuration setting
  726. is for ATS V2.</description>
  727. <name>yarn.rm.system-metrics-publisher.emit-container-events</name>
  728. <value>false</value>
  729. </property>
  730. <property>
  731. <description>Number of worker threads that send the yarn system metrics
  732. data.</description>
  733. <name>yarn.resourcemanager.system-metrics-publisher.dispatcher.pool-size</name>
  734. <value>10</value>
  735. </property>
  736. <property>
  737. <description>Number of diagnostics/failure messages can be saved in RM for
  738. log aggregation. It also defines the number of diagnostics/failure
  739. messages can be shown in log aggregation web ui.</description>
  740. <name>yarn.resourcemanager.max-log-aggregation-diagnostics-in-memory</name>
  741. <value>10</value>
  742. </property>
  743. <!-- Node Manager Configs -->
  744. <property>
  745. <description>
  746. RM DelegationTokenRenewer thread count
  747. </description>
  748. <name>yarn.resourcemanager.delegation-token-renewer.thread-count</name>
  749. <value>50</value>
  750. </property>
  751. <property>
  752. <description>
  753. RM secret key update interval in ms
  754. </description>
  755. <name>yarn.resourcemanager.delegation.key.update-interval</name>
  756. <value>86400000</value>
  757. </property>
  758. <property>
  759. <description>
  760. RM delegation token maximum lifetime in ms
  761. </description>
  762. <name>yarn.resourcemanager.delegation.token.max-lifetime</name>
  763. <value>604800000</value>
  764. </property>
  765. <property>
  766. <description>
  767. RM delegation token update interval in ms
  768. </description>
  769. <name>yarn.resourcemanager.delegation.token.renew-interval</name>
  770. <value>86400000</value>
  771. </property>
  772. <property>
  773. <description>
  774. Thread pool size for RMApplicationHistoryWriter.
  775. </description>
  776. <name>yarn.resourcemanager.history-writer.multi-threaded-dispatcher.pool-size</name>
  777. <value>10</value>
  778. </property>
  779. <property>
  780. <description>
  781. Comma-separated list of values (in minutes) for schedule queue related
  782. metrics.
  783. </description>
  784. <name>yarn.resourcemanager.metrics.runtime.buckets</name>
  785. <value>60,300,1440</value>
  786. </property>
  787. <property>
  788. <description>
  789. Interval for the roll over for the master key used to generate
  790. NodeManager tokens. It is expected to be set to a value much larger
  791. than yarn.nm.liveness-monitor.expiry-interval-ms.
  792. </description>
  793. <name>yarn.resourcemanager.nm-tokens.master-key-rolling-interval-secs</name>
  794. <value>86400</value>
  795. </property>
  796. <property>
  797. <description>
  798. Flag to enable the ResourceManager reservation system.
  799. </description>
  800. <name>yarn.resourcemanager.reservation-system.enable</name>
  801. <value>false</value>
  802. </property>
  803. <property>
  804. <description>
  805. The Java class to use as the ResourceManager reservation system.
  806. By default, is set to
  807. org.apache.hadoop.yarn.server.resourcemanager.reservation.CapacityReservationSystem
  808. when using CapacityScheduler and is set to
  809. org.apache.hadoop.yarn.server.resourcemanager.reservation.FairReservationSystem
  810. when using FairScheduler.
  811. </description>
  812. <name>yarn.resourcemanager.reservation-system.class</name>
  813. <value></value>
  814. </property>
  815. <property>
  816. <description>
  817. The plan follower policy class name to use for the ResourceManager
  818. reservation system.
  819. By default, is set to
  820. org.apache.hadoop.yarn.server.resourcemanager.reservation.CapacitySchedulerPlanFollower
  821. is used when using CapacityScheduler, and is set to
  822. org.apache.hadoop.yarn.server.resourcemanager.reservation.FairSchedulerPlanFollower
  823. when using FairScheduler.
  824. </description>
  825. <name>yarn.resourcemanager.reservation-system.plan.follower</name>
  826. <value></value>
  827. </property>
  828. <property>
  829. <description>
  830. Step size of the reservation system in ms
  831. </description>
  832. <name>yarn.resourcemanager.reservation-system.planfollower.time-step</name>
  833. <value>1000</value>
  834. </property>
  835. <property>
  836. <description>
  837. The expiry interval for a container
  838. </description>
  839. <name>yarn.resourcemanager.rm.container-allocation.expiry-interval-ms</name>
  840. <value>600000</value>
  841. </property>
  842. <!-- Node Manager Configuration -->
  843. <property>
  844. <description>The hostname of the NM.</description>
  845. <name>yarn.nodemanager.hostname</name>
  846. <value>0.0.0.0</value>
  847. </property>
  848. <property>
  849. <description>The address of the container manager in the NM.</description>
  850. <name>yarn.nodemanager.address</name>
  851. <value>${yarn.nodemanager.hostname}:0</value>
  852. </property>
  853. <property>
  854. <description>
  855. The actual address the server will bind to. If this optional address is
  856. set, the RPC and webapp servers will bind to this address and the port specified in
  857. yarn.nodemanager.address and yarn.nodemanager.webapp.address, respectively. This is
  858. most useful for making NM listen to all interfaces by setting to 0.0.0.0.
  859. </description>
  860. <name>yarn.nodemanager.bind-host</name>
  861. <value></value>
  862. </property>
  863. <property>
  864. <description>Environment variables that should be forwarded from the NodeManager's environment to the container's.</description>
  865. <name>yarn.nodemanager.admin-env</name>
  866. <value>MALLOC_ARENA_MAX=$MALLOC_ARENA_MAX</value>
  867. </property>
  868. <property>
  869. <description>Environment variables that containers may override rather than use NodeManager's default.</description>
  870. <name>yarn.nodemanager.env-whitelist</name>
  871. <value>JAVA_HOME,HADOOP_COMMON_HOME,HADOOP_HDFS_HOME,HADOOP_CONF_DIR,CLASSPATH_PREPEND_DISTCACHE,HADOOP_YARN_HOME,HADOOP_HOME,PATH,LANG,TZ</value>
  872. </property>
  873. <property>
  874. <description>who will execute(launch) the containers.</description>
  875. <name>yarn.nodemanager.container-executor.class</name>
  876. <value>org.apache.hadoop.yarn.server.nodemanager.DefaultContainerExecutor</value>
  877. </property>
  878. <property>
  879. <description>Comma separated List of container state transition listeners.</description>
  880. <name>yarn.nodemanager.container-state-transition-listener.classes</name>
  881. <value></value>
  882. </property>
  883. <property>
  884. <description>Number of threads container manager uses.</description>
  885. <name>yarn.nodemanager.container-manager.thread-count</name>
  886. <value>20</value>
  887. </property>
  888. <property>
  889. <description>Number of threads collector service uses.</description>
  890. <name>yarn.nodemanager.collector-service.thread-count</name>
  891. <value>5</value>
  892. </property>
  893. <property>
  894. <description>Number of threads used in cleanup.</description>
  895. <name>yarn.nodemanager.delete.thread-count</name>
  896. <value>4</value>
  897. </property>
  898. <property>
  899. <description>Max number of OPPORTUNISTIC containers to queue at the
  900. nodemanager.</description>
  901. <name>yarn.nodemanager.opportunistic-containers-max-queue-length</name>
  902. <value>0</value>
  903. </property>
  904. <property>
  905. <description>
  906. Number of seconds after an application finishes before the nodemanager's
  907. DeletionService will delete the application's localized file directory
  908. and log directory.
  909. To diagnose YARN application problems, set this property's value large
  910. enough (for example, to 600 = 10 minutes) to permit examination of these
  911. directories. After changing the property's value, you must restart the
  912. nodemanager in order for it to have an effect.
  913. The roots of YARN applications' work directories is configurable with
  914. the yarn.nodemanager.local-dirs property (see below), and the roots
  915. of the YARN applications' log directories is configurable with the
  916. yarn.nodemanager.log-dirs property (see also below).
  917. </description>
  918. <name>yarn.nodemanager.delete.debug-delay-sec</name>
  919. <value>0</value>
  920. </property>
  921. <property>
  922. <description>Keytab for NM.</description>
  923. <name>yarn.nodemanager.keytab</name>
  924. <value>/etc/krb5.keytab</value>
  925. </property>
  926. <property>
  927. <description>List of directories to store localized files in. An
  928. application's localized file directory will be found in:
  929. ${yarn.nodemanager.local-dirs}/usercache/${user}/appcache/application_${appid}.
  930. Individual containers' work directories, called container_${contid}, will
  931. be subdirectories of this.
  932. </description>
  933. <name>yarn.nodemanager.local-dirs</name>
  934. <value>${hadoop.tmp.dir}/nm-local-dir</value>
  935. </property>
  936. <property>
  937. <description>It limits the maximum number of files which will be localized
  938. in a single local directory. If the limit is reached then sub-directories
  939. will be created and new files will be localized in them. If it is set to
  940. a value less than or equal to 36 [which are sub-directories (0-9 and then
  941. a-z)] then NodeManager will fail to start. For example; [for public
  942. cache] if this is configured with a value of 40 ( 4 files +
  943. 36 sub-directories) and the local-dir is "/tmp/local-dir1" then it will
  944. allow 4 files to be created directly inside "/tmp/local-dir1/filecache".
  945. For files that are localized further it will create a sub-directory "0"
  946. inside "/tmp/local-dir1/filecache" and will localize files inside it
  947. until it becomes full. If a file is removed from a sub-directory that
  948. is marked full, then that sub-directory will be used back again to
  949. localize files.
  950. </description>
  951. <name>yarn.nodemanager.local-cache.max-files-per-directory</name>
  952. <value>8192</value>
  953. </property>
  954. <property>
  955. <description>Address where the localizer IPC is.</description>
  956. <name>yarn.nodemanager.localizer.address</name>
  957. <value>${yarn.nodemanager.hostname}:8040</value>
  958. </property>
  959. <property>
  960. <description>Address where the collector service IPC is.</description>
  961. <name>yarn.nodemanager.collector-service.address</name>
  962. <value>${yarn.nodemanager.hostname}:8048</value>
  963. </property>
  964. <property>
  965. <description>Interval in between cache cleanups.</description>
  966. <name>yarn.nodemanager.localizer.cache.cleanup.interval-ms</name>
  967. <value>600000</value>
  968. </property>
  969. <property>
  970. <description>Target size of localizer cache in MB, per nodemanager. It is
  971. a target retention size that only includes resources with PUBLIC and
  972. PRIVATE visibility and excludes resources with APPLICATION visibility
  973. </description>
  974. <name>yarn.nodemanager.localizer.cache.target-size-mb</name>
  975. <value>10240</value>
  976. </property>
  977. <property>
  978. <description>Number of threads to handle localization requests.</description>
  979. <name>yarn.nodemanager.localizer.client.thread-count</name>
  980. <value>5</value>
  981. </property>
  982. <property>
  983. <description>Number of threads to use for localization fetching.</description>
  984. <name>yarn.nodemanager.localizer.fetch.thread-count</name>
  985. <value>4</value>
  986. </property>
  987. <property>
  988. <description>
  989. </description>
  990. <name>yarn.nodemanager.container-localizer.java.opts</name>
  991. <value>-Xmx256m</value>
  992. </property>
  993. <property>
  994. <description>
  995. Where to store container logs. An application's localized log directory
  996. will be found in ${yarn.nodemanager.log-dirs}/application_${appid}.
  997. Individual containers' log directories will be below this, in directories
  998. named container_{$contid}. Each container directory will contain the files
  999. stderr, stdin, and syslog generated by that container.
  1000. </description>
  1001. <name>yarn.nodemanager.log-dirs</name>
  1002. <value>${yarn.log.dir}/userlogs</value>
  1003. </property>
  1004. <property>
  1005. <description>
  1006. The permissions settings used for the creation of container
  1007. directories when using DefaultContainerExecutor. This follows
  1008. standard user/group/all permissions format.
  1009. </description>
  1010. <name>yarn.nodemanager.default-container-executor.log-dirs.permissions</name>
  1011. <value>710</value>
  1012. </property>
  1013. <property>
  1014. <description>Whether to enable log aggregation. Log aggregation collects
  1015. each container's logs and moves these logs onto a file-system, for e.g.
  1016. HDFS, after the application completes. Users can configure the
  1017. "yarn.nodemanager.remote-app-log-dir" and
  1018. "yarn.nodemanager.remote-app-log-dir-suffix" properties to determine
  1019. where these logs are moved to. Users can access the logs via the
  1020. Application Timeline Server.
  1021. </description>
  1022. <name>yarn.log-aggregation-enable</name>
  1023. <value>false</value>
  1024. </property>
  1025. <property>
  1026. <description>How long to keep aggregation logs before deleting them. -1 disables.
  1027. Be careful set this too small and you will spam the name node.</description>
  1028. <name>yarn.log-aggregation.retain-seconds</name>
  1029. <value>-1</value>
  1030. </property>
  1031. <property>
  1032. <description>How long to wait between aggregated log retention checks.
  1033. If set to 0 or a negative value then the value is computed as one-tenth
  1034. of the aggregated log retention time. Be careful set this too small and
  1035. you will spam the name node.</description>
  1036. <name>yarn.log-aggregation.retain-check-interval-seconds</name>
  1037. <value>-1</value>
  1038. </property>
  1039. <property>
  1040. <description>Specify which log file controllers we will support. The first
  1041. file controller we add will be used to write the aggregated logs.
  1042. This comma separated configuration will work with the configuration:
  1043. yarn.log-aggregation.file-controller.%s.class which defines the supported
  1044. file controller's class. By default, the TFile controller would be used.
  1045. The user could override this configuration by adding more file controllers.
  1046. To support back-ward compatibility, make sure that we always
  1047. add TFile file controller.</description>
  1048. <name>yarn.log-aggregation.file-formats</name>
  1049. <value>TFile</value>
  1050. </property>
  1051. <property>
  1052. <description>Class that supports TFile read and write operations.</description>
  1053. <name>yarn.log-aggregation.file-controller.TFile.class</name>
  1054. <value>org.apache.hadoop.yarn.logaggregation.filecontroller.tfile.LogAggregationTFileController</value>
  1055. </property>
  1056. <property>
  1057. <description>
  1058. How long for ResourceManager to wait for NodeManager to report its
  1059. log aggregation status. If waiting time of which the log aggregation
  1060. status is reported from NodeManager exceeds the configured value, RM
  1061. will report log aggregation status for this NodeManager as TIME_OUT
  1062. </description>
  1063. <name>yarn.log-aggregation-status.time-out.ms</name>
  1064. <value>600000</value>
  1065. </property>
  1066. <property>
  1067. <description>Time in seconds to retain user logs. Only applicable if
  1068. log aggregation is disabled
  1069. </description>
  1070. <name>yarn.nodemanager.log.retain-seconds</name>
  1071. <value>10800</value>
  1072. </property>
  1073. <property>
  1074. <description>Where to aggregate logs to.</description>
  1075. <name>yarn.nodemanager.remote-app-log-dir</name>
  1076. <value>/tmp/logs</value>
  1077. </property>
  1078. <property>
  1079. <description>The remote log dir will be created at
  1080. {yarn.nodemanager.remote-app-log-dir}/${user}/{thisParam}
  1081. </description>
  1082. <name>yarn.nodemanager.remote-app-log-dir-suffix</name>
  1083. <value>logs</value>
  1084. </property>
  1085. <property>
  1086. <description>Generate additional logs about container launches.
  1087. Currently, this creates a copy of the launch script and lists the
  1088. directory contents of the container work dir. When listing directory
  1089. contents, we follow symlinks to a max-depth of 5(including symlinks
  1090. which point to outside the container work dir) which may lead to a
  1091. slowness in launching containers.
  1092. </description>
  1093. <name>yarn.nodemanager.log-container-debug-info.enabled</name>
  1094. <value>false</value>
  1095. </property>
  1096. <property>
  1097. <description>Amount of physical memory, in MB, that can be allocated
  1098. for containers. If set to -1 and
  1099. yarn.nodemanager.resource.detect-hardware-capabilities is true, it is
  1100. automatically calculated(in case of Windows and Linux).
  1101. In other cases, the default is 8192MB.
  1102. </description>
  1103. <name>yarn.nodemanager.resource.memory-mb</name>
  1104. <value>-1</value>
  1105. </property>
  1106. <property>
  1107. <description>Amount of physical memory, in MB, that is reserved
  1108. for non-YARN processes. This configuration is only used if
  1109. yarn.nodemanager.resource.detect-hardware-capabilities is set
  1110. to true and yarn.nodemanager.resource.memory-mb is -1. If set
  1111. to -1, this amount is calculated as
  1112. 20% of (system memory - 2*HADOOP_HEAPSIZE)
  1113. </description>
  1114. <name>yarn.nodemanager.resource.system-reserved-memory-mb</name>
  1115. <value>-1</value>
  1116. </property>
  1117. <property>
  1118. <description>Whether physical memory limits will be enforced for
  1119. containers.</description>
  1120. <name>yarn.nodemanager.pmem-check-enabled</name>
  1121. <value>true</value>
  1122. </property>
  1123. <property>
  1124. <description>Whether virtual memory limits will be enforced for
  1125. containers.</description>
  1126. <name>yarn.nodemanager.vmem-check-enabled</name>
  1127. <value>true</value>
  1128. </property>
  1129. <property>
  1130. <description>Ratio between virtual memory to physical memory when
  1131. setting memory limits for containers. Container allocations are
  1132. expressed in terms of physical memory, and virtual memory usage
  1133. is allowed to exceed this allocation by this ratio.
  1134. </description>
  1135. <name>yarn.nodemanager.vmem-pmem-ratio</name>
  1136. <value>2.1</value>
  1137. </property>
  1138. <property>
  1139. <description>Number of vcores that can be allocated
  1140. for containers. This is used by the RM scheduler when allocating
  1141. resources for containers. This is not used to limit the number of
  1142. CPUs used by YARN containers. If it is set to -1 and
  1143. yarn.nodemanager.resource.detect-hardware-capabilities is true, it is
  1144. automatically determined from the hardware in case of Windows and Linux.
  1145. In other cases, number of vcores is 8 by default.</description>
  1146. <name>yarn.nodemanager.resource.cpu-vcores</name>
  1147. <value>-1</value>
  1148. </property>
  1149. <property>
  1150. <description>Flag to determine if logical processors(such as
  1151. hyperthreads) should be counted as cores. Only applicable on Linux
  1152. when yarn.nodemanager.resource.cpu-vcores is set to -1 and
  1153. yarn.nodemanager.resource.detect-hardware-capabilities is true.
  1154. </description>
  1155. <name>yarn.nodemanager.resource.count-logical-processors-as-cores</name>
  1156. <value>false</value>
  1157. </property>
  1158. <property>
  1159. <description>Multiplier to determine how to convert phyiscal cores to
  1160. vcores. This value is used if yarn.nodemanager.resource.cpu-vcores
  1161. is set to -1(which implies auto-calculate vcores) and
  1162. yarn.nodemanager.resource.detect-hardware-capabilities is set to true. The
  1163. number of vcores will be calculated as
  1164. number of CPUs * multiplier.
  1165. </description>
  1166. <name>yarn.nodemanager.resource.pcores-vcores-multiplier</name>
  1167. <value>1.0</value>
  1168. </property>
  1169. <property>
  1170. <description>
  1171. Thread pool size for LogAggregationService in Node Manager.
  1172. </description>
  1173. <name>yarn.nodemanager.logaggregation.threadpool-size-max</name>
  1174. <value>100</value>
  1175. </property>
  1176. <property>
  1177. <description>Percentage of CPU that can be allocated
  1178. for containers. This setting allows users to limit the amount of
  1179. CPU that YARN containers use. Currently functional only
  1180. on Linux using cgroups. The default is to use 100% of CPU.
  1181. </description>
  1182. <name>yarn.nodemanager.resource.percentage-physical-cpu-limit</name>
  1183. <value>100</value>
  1184. </property>
  1185. <property>
  1186. <description>Enable auto-detection of node capabilities such as
  1187. memory and CPU.
  1188. </description>
  1189. <name>yarn.nodemanager.resource.detect-hardware-capabilities</name>
  1190. <value>false</value>
  1191. </property>
  1192. <property>
  1193. <description>NM Webapp address.</description>
  1194. <name>yarn.nodemanager.webapp.address</name>
  1195. <value>${yarn.nodemanager.hostname}:8042</value>
  1196. </property>
  1197. <property>
  1198. <description>
  1199. The https adddress of the NM web application.
  1200. </description>
  1201. <name>yarn.nodemanager.webapp.https.address</name>
  1202. <value>0.0.0.0:8044</value>
  1203. </property>
  1204. <property>
  1205. <description>
  1206. The Kerberos keytab file to be used for spnego filter for the NM web
  1207. interface.
  1208. </description>
  1209. <name>yarn.nodemanager.webapp.spnego-keytab-file</name>
  1210. <value></value>
  1211. </property>
  1212. <property>
  1213. <description>
  1214. The Kerberos principal to be used for spnego filter for the NM web
  1215. interface.
  1216. </description>
  1217. <name>yarn.nodemanager.webapp.spnego-principal</name>
  1218. <value></value>
  1219. </property>
  1220. <property>
  1221. <description>How often to monitor the node and the containers.
  1222. If 0 or negative, monitoring is disabled.</description>
  1223. <name>yarn.nodemanager.resource-monitor.interval-ms</name>
  1224. <value>3000</value>
  1225. </property>
  1226. <property>
  1227. <description>Class that calculates current resource utilization.</description>
  1228. <name>yarn.nodemanager.resource-calculator.class</name>
  1229. </property>
  1230. <property>
  1231. <description>Enable container monitor</description>
  1232. <name>yarn.nodemanager.container-monitor.enabled</name>
  1233. <value>true</value>
  1234. </property>
  1235. <property>
  1236. <description>How often to monitor containers. If not set, the value for
  1237. yarn.nodemanager.resource-monitor.interval-ms will be used.
  1238. If 0 or negative, container monitoring is disabled.</description>
  1239. <name>yarn.nodemanager.container-monitor.interval-ms</name>
  1240. </property>
  1241. <property>
  1242. <description>Class that calculates containers current resource utilization.
  1243. If not set, the value for yarn.nodemanager.resource-calculator.class will
  1244. be used.</description>
  1245. <name>yarn.nodemanager.container-monitor.resource-calculator.class</name>
  1246. </property>
  1247. <property>
  1248. <description>Frequency of running node health script.</description>
  1249. <name>yarn.nodemanager.health-checker.interval-ms</name>
  1250. <value>600000</value>
  1251. </property>
  1252. <property>
  1253. <description>Script time out period.</description>
  1254. <name>yarn.nodemanager.health-checker.script.timeout-ms</name>
  1255. <value>1200000</value>
  1256. </property>
  1257. <property>
  1258. <description>The health check script to run.</description>
  1259. <name>yarn.nodemanager.health-checker.script.path</name>
  1260. <value></value>
  1261. </property>
  1262. <property>
  1263. <description>The arguments to pass to the health check script.</description>
  1264. <name>yarn.nodemanager.health-checker.script.opts</name>
  1265. <value></value>
  1266. </property>
  1267. <property>
  1268. <description>Frequency of running disk health checker code.</description>
  1269. <name>yarn.nodemanager.disk-health-checker.interval-ms</name>
  1270. <value>120000</value>
  1271. </property>
  1272. <property>
  1273. <description>The minimum fraction of number of disks to be healthy for the
  1274. nodemanager to launch new containers. This correspond to both
  1275. yarn.nodemanager.local-dirs and yarn.nodemanager.log-dirs. i.e. If there
  1276. are less number of healthy local-dirs (or log-dirs) available, then
  1277. new containers will not be launched on this node.</description>
  1278. <name>yarn.nodemanager.disk-health-checker.min-healthy-disks</name>
  1279. <value>0.25</value>
  1280. </property>
  1281. <property>
  1282. <description>The maximum percentage of disk space utilization allowed after
  1283. which a disk is marked as bad. Values can range from 0.0 to 100.0.
  1284. If the value is greater than or equal to 100, the nodemanager will check
  1285. for full disk. This applies to yarn.nodemanager.local-dirs and
  1286. yarn.nodemanager.log-dirs.</description>
  1287. <name>yarn.nodemanager.disk-health-checker.max-disk-utilization-per-disk-percentage</name>
  1288. <value>90.0</value>
  1289. </property>
  1290. <property>
  1291. <description>The low threshold percentage of disk space used when a bad disk is
  1292. marked as good. Values can range from 0.0 to 100.0. This applies to
  1293. yarn.nodemanager.local-dirs and yarn.nodemanager.log-dirs.
  1294. Note that if its value is more than yarn.nodemanager.disk-health-checker.
  1295. max-disk-utilization-per-disk-percentage or not set, it will be set to the same value as
  1296. yarn.nodemanager.disk-health-checker.max-disk-utilization-per-disk-percentage.</description>
  1297. <name>yarn.nodemanager.disk-health-checker.disk-utilization-watermark-low-per-disk-percentage</name>
  1298. <value></value>
  1299. </property>
  1300. <property>
  1301. <description>The minimum space that must be available on a disk for
  1302. it to be used. This applies to yarn.nodemanager.local-dirs and
  1303. yarn.nodemanager.log-dirs.</description>
  1304. <name>yarn.nodemanager.disk-health-checker.min-free-space-per-disk-mb</name>
  1305. <value>0</value>
  1306. </property>
  1307. <property>
  1308. <description>The path to the Linux container executor.</description>
  1309. <name>yarn.nodemanager.linux-container-executor.path</name>
  1310. </property>
  1311. <property>
  1312. <description>The class which should help the LCE handle resources.</description>
  1313. <name>yarn.nodemanager.linux-container-executor.resources-handler.class</name>
  1314. <value>org.apache.hadoop.yarn.server.nodemanager.util.DefaultLCEResourcesHandler</value>
  1315. <!-- <value>org.apache.hadoop.yarn.server.nodemanager.util.CgroupsLCEResourcesHandler</value> -->
  1316. </property>
  1317. <property>
  1318. <description>The cgroups hierarchy under which to place YARN proccesses (cannot contain commas).
  1319. If yarn.nodemanager.linux-container-executor.cgroups.mount is false
  1320. (that is, if cgroups have been pre-configured) and the YARN user has write
  1321. access to the parent directory, then the directory will be created.
  1322. If the directory already exists, the administrator has to give YARN
  1323. write permissions to it recursively.
  1324. This property only applies when the LCE resources handler is set to
  1325. CgroupsLCEResourcesHandler.</description>
  1326. <name>yarn.nodemanager.linux-container-executor.cgroups.hierarchy</name>
  1327. <value>/hadoop-yarn</value>
  1328. </property>
  1329. <property>
  1330. <description>Whether the LCE should attempt to mount cgroups if not found.
  1331. This property only applies when the LCE resources handler is set to
  1332. CgroupsLCEResourcesHandler.
  1333. </description>
  1334. <name>yarn.nodemanager.linux-container-executor.cgroups.mount</name>
  1335. <value>false</value>
  1336. </property>
  1337. <property>
  1338. <description>This property sets the path from which YARN will read the
  1339. CGroups configuration. YARN has built-in functionality to discover the
  1340. system CGroup mount paths, so use this property only if YARN's automatic
  1341. mount path discovery does not work.
  1342. The path specified by this property must exist before the NodeManager is
  1343. launched.
  1344. If yarn.nodemanager.linux-container-executor.cgroups.mount is set to true,
  1345. YARN will first try to mount the CGroups at the specified path before
  1346. reading them.
  1347. If yarn.nodemanager.linux-container-executor.cgroups.mount is set to
  1348. false, YARN will read the CGroups at the specified path.
  1349. If this property is empty, YARN tries to detect the CGroups location.
  1350. Please refer to NodeManagerCgroups.html in the documentation for further
  1351. details.
  1352. This property only applies when the LCE resources handler is set to
  1353. CgroupsLCEResourcesHandler.
  1354. </description>
  1355. <name>yarn.nodemanager.linux-container-executor.cgroups.mount-path</name>
  1356. </property>
  1357. <property>
  1358. <description>Delay in ms between attempts to remove linux cgroup</description>
  1359. <name>yarn.nodemanager.linux-container-executor.cgroups.delete-delay-ms</name>
  1360. <value>20</value>
  1361. </property>
  1362. <property>
  1363. <description>This determines which of the two modes that LCE should use on
  1364. a non-secure cluster. If this value is set to true, then all containers
  1365. will be launched as the user specified in
  1366. yarn.nodemanager.linux-container-executor.nonsecure-mode.local-user. If
  1367. this value is set to false, then containers will run as the user who
  1368. submitted the application.</description>
  1369. <name>yarn.nodemanager.linux-container-executor.nonsecure-mode.limit-users</name>
  1370. <value>true</value>
  1371. </property>
  1372. <property>
  1373. <description>The UNIX user that containers will run as when
  1374. Linux-container-executor is used in nonsecure mode (a use case for this
  1375. is using cgroups) if the
  1376. yarn.nodemanager.linux-container-executor.nonsecure-mode.limit-users is
  1377. set to true.</description>
  1378. <name>yarn.nodemanager.linux-container-executor.nonsecure-mode.local-user</name>
  1379. <value>nobody</value>
  1380. </property>
  1381. <property>
  1382. <description>The allowed pattern for UNIX user names enforced by
  1383. Linux-container-executor when used in nonsecure mode (use case for this
  1384. is using cgroups). The default value is taken from /usr/sbin/adduser</description>
  1385. <name>yarn.nodemanager.linux-container-executor.nonsecure-mode.user-pattern</name>
  1386. <value>^[_.A-Za-z0-9][-@_.A-Za-z0-9]{0,255}?[$]?$</value>
  1387. </property>
  1388. <property>
  1389. <description>This flag determines whether apps should run with strict resource limits
  1390. or be allowed to consume spare resources if they need them. For example, turning the
  1391. flag on will restrict apps to use only their share of CPU, even if the node has spare
  1392. CPU cycles. The default value is false i.e. use available resources. Please note that
  1393. turning this flag on may reduce job throughput on the cluster.</description>
  1394. <name>yarn.nodemanager.linux-container-executor.cgroups.strict-resource-usage</name>
  1395. <value>false</value>
  1396. </property>
  1397. <property>
  1398. <description>Comma separated list of runtimes that are allowed when using
  1399. LinuxContainerExecutor. The allowed values are default, docker, and
  1400. javasandbox.</description>
  1401. <name>yarn.nodemanager.runtime.linux.allowed-runtimes</name>
  1402. <value>default</value>
  1403. </property>
  1404. <property>
  1405. <description>This configuration setting determines the capabilities
  1406. assigned to docker containers when they are launched. While these may not
  1407. be case-sensitive from a docker perspective, it is best to keep these
  1408. uppercase. To run without any capabilites, set this value to
  1409. "none" or "NONE"</description>
  1410. <name>yarn.nodemanager.runtime.linux.docker.capabilities</name>
  1411. <value>CHOWN,DAC_OVERRIDE,FSETID,FOWNER,MKNOD,NET_RAW,SETGID,SETUID,SETFCAP,SETPCAP,NET_BIND_SERVICE,SYS_CHROOT,KILL,AUDIT_WRITE</value>
  1412. </property>
  1413. <property>
  1414. <description>This configuration setting determines if
  1415. privileged docker containers are allowed on this cluster.
  1416. Use with extreme care.</description>
  1417. <name>yarn.nodemanager.runtime.linux.docker.privileged-containers.allowed</name>
  1418. <value>false</value>
  1419. </property>
  1420. <property>
  1421. <description>This configuration setting determines who is allowed to run
  1422. privileged docker containers on this cluster. Use with extreme care.
  1423. </description>
  1424. <name>yarn.nodemanager.runtime.linux.docker.privileged-containers.acl</name>
  1425. <value></value>
  1426. </property>
  1427. <property>
  1428. <description>The set of networks allowed when launching containers using the
  1429. DockerContainerRuntime.</description>
  1430. <name>yarn.nodemanager.runtime.linux.docker.allowed-container-networks</name>
  1431. <value>host,none,bridge</value>
  1432. </property>
  1433. <property>
  1434. <description>The network used when launching containers using the
  1435. DockerContainerRuntime when no network is specified in the request
  1436. . This network must be one of the (configurable) set of allowed container
  1437. networks.</description>
  1438. <name>yarn.nodemanager.runtime.linux.docker.default-container-network</name>
  1439. <value>host</value>
  1440. </property>
  1441. <property>
  1442. <description>Property to enable docker user remapping</description>
  1443. <name>yarn.nodemanager.runtime.linux.docker.enable-userremapping.allowed</name>
  1444. <value>false</value>
  1445. </property>
  1446. <property>
  1447. <description>lower limit for acceptable uids of user remapped user</description>
  1448. <name>yarn.nodemanager.runtime.linux.docker.userremapping-uid-threshold</name>
  1449. <value>1</value>
  1450. </property>
  1451. <property>
  1452. <description>lower limit for acceptable gids of user remapped user</description>
  1453. <name>yarn.nodemanager.runtime.linux.docker.userremapping-gid-threshold</name>
  1454. <value>1</value>
  1455. </property>
  1456. <property>
  1457. <description>The mode in which the Java Container Sandbox should run detailed by
  1458. the JavaSandboxLinuxContainerRuntime.</description>
  1459. <name>yarn.nodemanager.runtime.linux.sandbox-mode</name>
  1460. <value>disabled</value>
  1461. </property>
  1462. <property>
  1463. <description>Permissions for application local directories.</description>
  1464. <name>yarn.nodemanager.runtime.linux.sandbox-mode.local-dirs.permissions</name>
  1465. <value>read</value>
  1466. </property>
  1467. <property>
  1468. <description>Location for non-default java policy file.</description>
  1469. <name>yarn.nodemanager.runtime.linux.sandbox-mode.policy</name>
  1470. <value></value>
  1471. </property>
  1472. <property>
  1473. <description>The group which will run by default without the java security
  1474. manager.</description>
  1475. <name>yarn.nodemanager.runtime.linux.sandbox-mode.whitelist-group</name>
  1476. <value></value>
  1477. </property>
  1478. <property>
  1479. <description>This flag determines whether memory limit will be set for the Windows Job
  1480. Object of the containers launched by the default container executor.</description>
  1481. <name>yarn.nodemanager.windows-container.memory-limit.enabled</name>
  1482. <value>false</value>
  1483. </property>
  1484. <property>
  1485. <description>This flag determines whether CPU limit will be set for the Windows Job
  1486. Object of the containers launched by the default container executor.</description>
  1487. <name>yarn.nodemanager.windows-container.cpu-limit.enabled</name>
  1488. <value>false</value>
  1489. </property>
  1490. <property>
  1491. <description>
  1492. Interval of time the linux container executor should try cleaning up
  1493. cgroups entry when cleaning up a container.
  1494. </description>
  1495. <name>yarn.nodemanager.linux-container-executor.cgroups.delete-timeout-ms</name>
  1496. <value>1000</value>
  1497. </property>
  1498. <property>
  1499. <description>
  1500. The UNIX group that the linux-container-executor should run as.
  1501. </description>
  1502. <name>yarn.nodemanager.linux-container-executor.group</name>
  1503. <value></value>
  1504. </property>
  1505. <property>
  1506. <description>T-file compression types used to compress aggregated logs.</description>
  1507. <name>yarn.nodemanager.log-aggregation.compression-type</name>
  1508. <value>none</value>
  1509. </property>
  1510. <property>
  1511. <description>The kerberos principal for the node manager.</description>
  1512. <name>yarn.nodemanager.principal</name>
  1513. <value></value>
  1514. </property>
  1515. <property>
  1516. <description>A comma separated list of services where service name should only
  1517. contain a-zA-Z0-9_ and can not start with numbers</description>
  1518. <name>yarn.nodemanager.aux-services</name>
  1519. <value></value>
  1520. <!--<value>mapreduce_shuffle</value>-->
  1521. </property>
  1522. <property>
  1523. <description>No. of ms to wait between sending a SIGTERM and SIGKILL to a container</description>
  1524. <name>yarn.nodemanager.sleep-delay-before-sigkill.ms</name>
  1525. <value>250</value>
  1526. </property>
  1527. <property>
  1528. <description>Max time to wait for a process to come up when trying to cleanup a container</description>
  1529. <name>yarn.nodemanager.process-kill-wait.ms</name>
  1530. <value>5000</value>
  1531. </property>
  1532. <property>
  1533. <description>The minimum allowed version of a resourcemanager that a nodemanager will connect to.
  1534. The valid values are NONE (no version checking), EqualToNM (the resourcemanager's version is
  1535. equal to or greater than the NM version), or a Version String.</description>
  1536. <name>yarn.nodemanager.resourcemanager.minimum.version</name>
  1537. <value>NONE</value>
  1538. </property>
  1539. <property>
  1540. <description>Maximum size of contain's diagnostics to keep for relaunching
  1541. container case.</description>
  1542. <name>yarn.nodemanager.container-diagnostics-maximum-size</name>
  1543. <value>10000</value>
  1544. </property>
  1545. <property>
  1546. <description>Minimum container restart interval in milliseconds.</description>
  1547. <name>yarn.nodemanager.container-retry-minimum-interval-ms</name>
  1548. <value>1000</value>
  1549. </property>
  1550. <property>
  1551. <description>Max number of threads in NMClientAsync to process container
  1552. management events</description>
  1553. <name>yarn.client.nodemanager-client-async.thread-pool-max-size</name>
  1554. <value>500</value>
  1555. </property>
  1556. <property>
  1557. <description>Max time to wait to establish a connection to NM</description>
  1558. <name>yarn.client.nodemanager-connect.max-wait-ms</name>
  1559. <value>180000</value>
  1560. </property>
  1561. <property>
  1562. <description>Time interval between each attempt to connect to NM</description>
  1563. <name>yarn.client.nodemanager-connect.retry-interval-ms</name>
  1564. <value>10000</value>
  1565. </property>
  1566. <property>
  1567. <description>
  1568. Max time to wait for NM to connect to RM.
  1569. When not set, proxy will fall back to use value of
  1570. yarn.resourcemanager.connect.max-wait.ms.
  1571. </description>
  1572. <name>yarn.nodemanager.resourcemanager.connect.max-wait.ms</name>
  1573. <value></value>
  1574. </property>
  1575. <property>
  1576. <description>
  1577. Time interval between each NM attempt to connect to RM.
  1578. When not set, proxy will fall back to use value of
  1579. yarn.resourcemanager.connect.retry-interval.ms.
  1580. </description>
  1581. <name>yarn.nodemanager.resourcemanager.connect.retry-interval.ms</name>
  1582. <value></value>
  1583. </property>
  1584. <property>
  1585. <description>
  1586. Maximum number of proxy connections to cache for node managers. If set
  1587. to a value greater than zero then the cache is enabled and the NMClient
  1588. and MRAppMaster will cache the specified number of node manager proxies.
  1589. There will be at max one proxy per node manager. Ex. configuring it to a
  1590. value of 5 will make sure that client will at max have 5 proxies cached
  1591. with 5 different node managers. These connections for these proxies will
  1592. be timed out if idle for more than the system wide idle timeout period.
  1593. Note that this could cause issues on large clusters as many connections
  1594. could linger simultaneously and lead to a large number of connection
  1595. threads. The token used for authentication will be used only at
  1596. connection creation time. If a new token is received then the earlier
  1597. connection should be closed in order to use the new token. This and
  1598. (yarn.client.nodemanager-client-async.thread-pool-max-size) are related
  1599. and should be in sync (no need for them to be equal).
  1600. If the value of this property is zero then the connection cache is
  1601. disabled and connections will use a zero idle timeout to prevent too
  1602. many connection threads on large clusters.
  1603. </description>
  1604. <name>yarn.client.max-cached-nodemanagers-proxies</name>
  1605. <value>0</value>
  1606. </property>
  1607. <property>
  1608. <description>Enable the node manager to recover after starting</description>
  1609. <name>yarn.nodemanager.recovery.enabled</name>
  1610. <value>false</value>
  1611. </property>
  1612. <property>
  1613. <description>The local filesystem directory in which the node manager will
  1614. store state when recovery is enabled.</description>
  1615. <name>yarn.nodemanager.recovery.dir</name>
  1616. <value>${hadoop.tmp.dir}/yarn-nm-recovery</value>
  1617. </property>
  1618. <property>
  1619. <description>The time in seconds between full compactions of the NM state
  1620. database. Setting the interval to zero disables the full compaction
  1621. cycles.</description>
  1622. <name>yarn.nodemanager.recovery.compaction-interval-secs</name>
  1623. <value>3600</value>
  1624. </property>
  1625. <property>
  1626. <description>Whether the nodemanager is running under supervision. A
  1627. nodemanager that supports recovery and is running under supervision
  1628. will not try to cleanup containers as it exits with the assumption
  1629. it will be immediately be restarted and recover containers.</description>
  1630. <name>yarn.nodemanager.recovery.supervised</name>
  1631. <value>false</value>
  1632. </property>
  1633. <!--Docker configuration-->
  1634. <property>
  1635. <description>
  1636. Adjustment to the container OS scheduling priority. In Linux, passed
  1637. directly to the nice command.
  1638. </description>
  1639. <name>yarn.nodemanager.container-executor.os.sched.priority.adjustment</name>
  1640. <value>0</value>
  1641. </property>
  1642. <property>
  1643. <description>
  1644. Flag to enable container metrics
  1645. </description>
  1646. <name>yarn.nodemanager.container-metrics.enable</name>
  1647. <value>true</value>
  1648. </property>
  1649. <property>
  1650. <description>
  1651. Container metrics flush period in ms. Set to -1 for flush on completion.
  1652. </description>
  1653. <name>yarn.nodemanager.container-metrics.period-ms</name>
  1654. <value>-1</value>
  1655. </property>
  1656. <property>
  1657. <description>
  1658. The delay time ms to unregister container metrics after completion.
  1659. </description>
  1660. <name>yarn.nodemanager.container-metrics.unregister-delay-ms</name>
  1661. <value>10000</value>
  1662. </property>
  1663. <property>
  1664. <description>
  1665. Class used to calculate current container resource utilization.
  1666. </description>
  1667. <name>yarn.nodemanager.container-monitor.process-tree.class</name>
  1668. <value></value>
  1669. </property>
  1670. <property>
  1671. <description>
  1672. Flag to enable NodeManager disk health checker
  1673. </description>
  1674. <name>yarn.nodemanager.disk-health-checker.enable</name>
  1675. <value>true</value>
  1676. </property>
  1677. <property>
  1678. <description>
  1679. Number of threads to use in NM log cleanup. Used when log aggregation
  1680. is disabled.
  1681. </description>
  1682. <name>yarn.nodemanager.log.deletion-threads-count</name>
  1683. <value>4</value>
  1684. </property>
  1685. <property>
  1686. <description>
  1687. The Windows group that the windows-container-executor should run as.
  1688. </description>
  1689. <name>yarn.nodemanager.windows-secure-container-executor.group</name>
  1690. <value></value>
  1691. </property>
  1692. <!-- Map Reduce Configuration -->
  1693. <property>
  1694. <name>yarn.nodemanager.aux-services.mapreduce_shuffle.class</name>
  1695. <value>org.apache.hadoop.mapred.ShuffleHandler</value>
  1696. </property>
  1697. <!-- WebAppProxy Configuration -->
  1698. <property>
  1699. <description>The kerberos principal for the proxy, if the proxy is not
  1700. running as part of the RM.</description>
  1701. <name>yarn.web-proxy.principal</name>
  1702. <value/>
  1703. </property>
  1704. <property>
  1705. <description>Keytab for WebAppProxy, if the proxy is not running as part of
  1706. the RM.</description>
  1707. <name>yarn.web-proxy.keytab</name>
  1708. </property>
  1709. <property>
  1710. <description>The address for the web proxy as HOST:PORT, if this is not
  1711. given then the proxy will run as part of the RM</description>
  1712. <name>yarn.web-proxy.address</name>
  1713. <value/>
  1714. </property>
  1715. <!-- Applications' Configuration -->
  1716. <property>
  1717. <description>
  1718. CLASSPATH for YARN applications. A comma-separated list
  1719. of CLASSPATH entries. When this value is empty, the following default
  1720. CLASSPATH for YARN applications would be used.
  1721. For Linux:
  1722. $HADOOP_CONF_DIR,
  1723. $HADOOP_COMMON_HOME/share/hadoop/common/*,
  1724. $HADOOP_COMMON_HOME/share/hadoop/common/lib/*,
  1725. $HADOOP_HDFS_HOME/share/hadoop/hdfs/*,
  1726. $HADOOP_HDFS_HOME/share/hadoop/hdfs/lib/*,
  1727. $HADOOP_YARN_HOME/share/hadoop/yarn/*,
  1728. $HADOOP_YARN_HOME/share/hadoop/yarn/lib/*
  1729. For Windows:
  1730. %HADOOP_CONF_DIR%,
  1731. %HADOOP_COMMON_HOME%/share/hadoop/common/*,
  1732. %HADOOP_COMMON_HOME%/share/hadoop/common/lib/*,
  1733. %HADOOP_HDFS_HOME%/share/hadoop/hdfs/*,
  1734. %HADOOP_HDFS_HOME%/share/hadoop/hdfs/lib/*,
  1735. %HADOOP_YARN_HOME%/share/hadoop/yarn/*,
  1736. %HADOOP_YARN_HOME%/share/hadoop/yarn/lib/*
  1737. </description>
  1738. <name>yarn.application.classpath</name>
  1739. <value></value>
  1740. </property>
  1741. <!-- Timeline Service Configuration -->
  1742. <property>
  1743. <description>Indicate what is the current version of the running
  1744. timeline service. For example, if "yarn.timeline-service.version" is 1.5,
  1745. and "yarn.timeline-service.enabled" is true, it means the cluster will and
  1746. should bring up the timeline service v.1.5 (and nothing else).
  1747. On the client side, if the client uses the same version of timeline service,
  1748. it should succeed. If the client chooses to use a smaller version in spite of this,
  1749. then depending on how robust the compatibility story is between versions,
  1750. the results may vary.
  1751. </description>
  1752. <name>yarn.timeline-service.version</name>
  1753. <value>1.0f</value>
  1754. </property>
  1755. <property>
  1756. <description>
  1757. In the server side it indicates whether timeline service is enabled or not.
  1758. And in the client side, users can enable it to indicate whether client wants
  1759. to use timeline service. If it's enabled in the client side along with
  1760. security, then yarn client tries to fetch the delegation tokens for the
  1761. timeline server.
  1762. </description>
  1763. <name>yarn.timeline-service.enabled</name>
  1764. <value>false</value>
  1765. </property>
  1766. <property>
  1767. <description>The hostname of the timeline service web application.</description>
  1768. <name>yarn.timeline-service.hostname</name>
  1769. <value>0.0.0.0</value>
  1770. </property>
  1771. <property>
  1772. <description>This is default address for the timeline server to start the
  1773. RPC server.</description>
  1774. <name>yarn.timeline-service.address</name>
  1775. <value>${yarn.timeline-service.hostname}:10200</value>
  1776. </property>
  1777. <property>
  1778. <description>The http address of the timeline service web application.</description>
  1779. <name>yarn.timeline-service.webapp.address</name>
  1780. <value>${yarn.timeline-service.hostname}:8188</value>
  1781. </property>
  1782. <property>
  1783. <description>The https address of the timeline service web application.</description>
  1784. <name>yarn.timeline-service.webapp.https.address</name>
  1785. <value>${yarn.timeline-service.hostname}:8190</value>
  1786. </property>
  1787. <property>
  1788. <description>
  1789. The actual address the server will bind to. If this optional address is
  1790. set, the RPC and webapp servers will bind to this address and the port specified in
  1791. yarn.timeline-service.address and yarn.timeline-service.webapp.address, respectively.
  1792. This is most useful for making the service listen to all interfaces by setting to
  1793. 0.0.0.0.
  1794. </description>
  1795. <name>yarn.timeline-service.bind-host</name>
  1796. <value></value>
  1797. </property>
  1798. <property>
  1799. <description>
  1800. Defines the max number of applications could be fetched using REST API or
  1801. application history protocol and shown in timeline server web ui.
  1802. </description>
  1803. <name>yarn.timeline-service.generic-application-history.max-applications</name>
  1804. <value>10000</value>
  1805. </property>
  1806. <property>
  1807. <description>Store class name for timeline store.</description>
  1808. <name>yarn.timeline-service.store-class</name>
  1809. <value>org.apache.hadoop.yarn.server.timeline.LeveldbTimelineStore</value>
  1810. </property>
  1811. <property>
  1812. <description>Enable age off of timeline store data.</description>
  1813. <name>yarn.timeline-service.ttl-enable</name>
  1814. <value>true</value>
  1815. </property>
  1816. <property>
  1817. <description>Time to live for timeline store data in milliseconds.</description>
  1818. <name>yarn.timeline-service.ttl-ms</name>
  1819. <value>604800000</value>
  1820. </property>
  1821. <property>
  1822. <description>Store file name for leveldb timeline store.</description>
  1823. <name>yarn.timeline-service.leveldb-timeline-store.path</name>
  1824. <value>${hadoop.tmp.dir}/yarn/timeline</value>
  1825. </property>
  1826. <property>
  1827. <description>Length of time to wait between deletion cycles of leveldb timeline store in milliseconds.</description>
  1828. <name>yarn.timeline-service.leveldb-timeline-store.ttl-interval-ms</name>
  1829. <value>300000</value>
  1830. </property>
  1831. <property>
  1832. <description>Size of read cache for uncompressed blocks for leveldb timeline store in bytes.</description>
  1833. <name>yarn.timeline-service.leveldb-timeline-store.read-cache-size</name>
  1834. <value>104857600</value>
  1835. </property>
  1836. <property>
  1837. <description>Size of cache for recently read entity start times for leveldb timeline store in number of entities.</description>
  1838. <name>yarn.timeline-service.leveldb-timeline-store.start-time-read-cache-size</name>
  1839. <value>10000</value>
  1840. </property>
  1841. <property>
  1842. <description>Size of cache for recently written entity start times for leveldb timeline store in number of entities.</description>
  1843. <name>yarn.timeline-service.leveldb-timeline-store.start-time-write-cache-size</name>
  1844. <value>10000</value>
  1845. </property>
  1846. <property>
  1847. <description>Handler thread count to serve the client RPC requests.</description>
  1848. <name>yarn.timeline-service.handler-thread-count</name>
  1849. <value>10</value>
  1850. </property>
  1851. <property>
  1852. <name>yarn.timeline-service.http-authentication.type</name>
  1853. <value>simple</value>
  1854. <description>
  1855. Defines authentication used for the timeline server HTTP endpoint.
  1856. Supported values are: simple | kerberos | #AUTHENTICATION_HANDLER_CLASSNAME#
  1857. </description>
  1858. </property>
  1859. <property>
  1860. <name>yarn.timeline-service.http-authentication.simple.anonymous.allowed</name>
  1861. <value>true</value>
  1862. <description>
  1863. Indicates if anonymous requests are allowed by the timeline server when using
  1864. 'simple' authentication.
  1865. </description>
  1866. </property>
  1867. <property>
  1868. <description>The Kerberos principal for the timeline server.</description>
  1869. <name>yarn.timeline-service.principal</name>
  1870. <value></value>
  1871. </property>
  1872. <property>
  1873. <description>The Kerberos keytab for the timeline server.</description>
  1874. <name>yarn.timeline-service.keytab</name>
  1875. <value>/etc/krb5.keytab</value>
  1876. </property>
  1877. <property>
  1878. <description>Comma separated list of UIs that will be hosted</description>
  1879. <name>yarn.timeline-service.ui-names</name>
  1880. <value></value>
  1881. </property>
  1882. <property>
  1883. <description>
  1884. Default maximum number of retries for timeline service client
  1885. and value -1 means no limit.
  1886. </description>
  1887. <name>yarn.timeline-service.client.max-retries</name>
  1888. <value>30</value>
  1889. </property>
  1890. <property>
  1891. <description>Client policy for whether timeline operations are non-fatal.
  1892. Should the failure to obtain a delegation token be considered an application
  1893. failure (option = false), or should the client attempt to continue to
  1894. publish information without it (option=true)</description>
  1895. <name>yarn.timeline-service.client.best-effort</name>
  1896. <value>false</value>
  1897. </property>
  1898. <property>
  1899. <description>
  1900. Default retry time interval for timeline servive client.
  1901. </description>
  1902. <name>yarn.timeline-service.client.retry-interval-ms</name>
  1903. <value>1000</value>
  1904. </property>
  1905. <property>
  1906. <description>
  1907. The time period for which timeline v2 client will wait for draining
  1908. leftover entities after stop.
  1909. </description>
  1910. <name>yarn.timeline-service.client.drain-entities.timeout.ms</name>
  1911. <value>2000</value>
  1912. </property>
  1913. <property>
  1914. <description>Enable timeline server to recover state after starting. If
  1915. true, then yarn.timeline-service.state-store-class must be specified.
  1916. </description>
  1917. <name>yarn.timeline-service.recovery.enabled</name>
  1918. <value>false</value>
  1919. </property>
  1920. <property>
  1921. <description>Store class name for timeline state store.</description>
  1922. <name>yarn.timeline-service.state-store-class</name>
  1923. <value>org.apache.hadoop.yarn.server.timeline.recovery.LeveldbTimelineStateStore</value>
  1924. </property>
  1925. <property>
  1926. <description>Store file name for leveldb state store.</description>
  1927. <name>yarn.timeline-service.leveldb-state-store.path</name>
  1928. <value>${hadoop.tmp.dir}/yarn/timeline</value>
  1929. </property>
  1930. <!-- Timeline Service v1.5 Configuration -->
  1931. <property>
  1932. <name>yarn.timeline-service.entity-group-fs-store.cache-store-class</name>
  1933. <value>org.apache.hadoop.yarn.server.timeline.MemoryTimelineStore</value>
  1934. <description>Caching storage timeline server v1.5 is using. </description>
  1935. </property>
  1936. <property>
  1937. <name>yarn.timeline-service.entity-group-fs-store.active-dir</name>
  1938. <value>/tmp/entity-file-history/active</value>
  1939. <description>HDFS path to store active application’s timeline data</description>
  1940. </property>
  1941. <property>
  1942. <name>yarn.timeline-service.entity-group-fs-store.done-dir</name>
  1943. <value>/tmp/entity-file-history/done/</value>
  1944. <description>HDFS path to store done application’s timeline data</description>
  1945. </property>
  1946. <property>
  1947. <name>yarn.timeline-service.entity-group-fs-store.group-id-plugin-classes</name>
  1948. <value></value>
  1949. <description>
  1950. Plugins that can translate a timeline entity read request into
  1951. a list of timeline entity group ids, separated by commas.
  1952. </description>
  1953. </property>
  1954. <property>
  1955. <name>yarn.timeline-service.entity-group-fs-store.group-id-plugin-classpath</name>
  1956. <value></value>
  1957. <description>
  1958. Classpath for all plugins defined in
  1959. yarn.timeline-service.entity-group-fs-store.group-id-plugin-classes.
  1960. </description>
  1961. </property>
  1962. <property>
  1963. <name>yarn.timeline-service.entity-group-fs-store.summary-store</name>
  1964. <description>Summary storage for ATS v1.5</description>
  1965. <value>org.apache.hadoop.yarn.server.timeline.LeveldbTimelineStore</value>
  1966. </property>
  1967. <property>
  1968. <name>yarn.timeline-service.entity-group-fs-store.scan-interval-seconds</name>
  1969. <description>
  1970. Scan interval for ATS v1.5 entity group file system storage reader.This
  1971. value controls how frequent the reader will scan the HDFS active directory
  1972. for application status.
  1973. </description>
  1974. <value>60</value>
  1975. </property>
  1976. <property>
  1977. <name>yarn.timeline-service.entity-group-fs-store.cleaner-interval-seconds</name>
  1978. <description>
  1979. Scan interval for ATS v1.5 entity group file system storage cleaner.This
  1980. value controls how frequent the reader will scan the HDFS done directory
  1981. for stale application data.
  1982. </description>
  1983. <value>3600</value>
  1984. </property>
  1985. <property>
  1986. <name>yarn.timeline-service.entity-group-fs-store.retain-seconds</name>
  1987. <description>
  1988. How long the ATS v1.5 entity group file system storage will keep an
  1989. application's data in the done directory.
  1990. </description>
  1991. <value>604800</value>
  1992. </property>
  1993. <property>
  1994. <name>yarn.timeline-service.entity-group-fs-store.leveldb-cache-read-cache-size</name>
  1995. <description>
  1996. Read cache size for the leveldb cache storage in ATS v1.5 plugin storage.
  1997. </description>
  1998. <value>10485760</value>
  1999. </property>
  2000. <property>
  2001. <name>yarn.timeline-service.entity-group-fs-store.app-cache-size</name>
  2002. <description>
  2003. Size of the reader cache for ATS v1.5 reader. This value controls how many
  2004. entity groups the ATS v1.5 server should cache. If the number of active
  2005. read entity groups is greater than the number of caches items, some reads
  2006. may return empty data. This value must be greater than 0.
  2007. </description>
  2008. <value>10</value>
  2009. </property>
  2010. <property>
  2011. <name>yarn.timeline-service.client.fd-flush-interval-secs</name>
  2012. <description>
  2013. Flush interval for ATS v1.5 writer. This value controls how frequent
  2014. the writer will flush the HDFS FSStream for the entity/domain.
  2015. </description>
  2016. <value>10</value>
  2017. </property>
  2018. <property>
  2019. <name>yarn.timeline-service.client.fd-clean-interval-secs</name>
  2020. <description>
  2021. Scan interval for ATS v1.5 writer. This value controls how frequent
  2022. the writer will scan the HDFS FSStream for the entity/domain.
  2023. If the FSStream is stale for a long time, this FSStream will be close.
  2024. </description>
  2025. <value>60</value>
  2026. </property>
  2027. <property>
  2028. <name>yarn.timeline-service.client.fd-retain-secs</name>
  2029. <description>
  2030. How long the ATS v1.5 writer will keep an FSStream open.
  2031. If this fsstream does not write anything for this configured time,
  2032. it will be close.
  2033. </description>
  2034. <value>300</value>
  2035. </property>
  2036. <!-- Timeline Service v2 Configuration -->
  2037. <property>
  2038. <name>yarn.timeline-service.writer.class</name>
  2039. <description>
  2040. Storage implementation ATS v2 will use for the TimelineWriter service.
  2041. </description>
  2042. <value>org.apache.hadoop.yarn.server.timelineservice.storage.HBaseTimelineWriterImpl</value>
  2043. </property>
  2044. <property>
  2045. <name>yarn.timeline-service.reader.class</name>
  2046. <description>
  2047. Storage implementation ATS v2 will use for the TimelineReader service.
  2048. </description>
  2049. <value>org.apache.hadoop.yarn.server.timelineservice.storage.HBaseTimelineReaderImpl</value>
  2050. </property>
  2051. <property>
  2052. <name>yarn.timeline-service.client.internal-timers-ttl-secs</name>
  2053. <description>
  2054. How long the internal Timer Tasks can be alive in writer. If there is no
  2055. write operation for this configured time, the internal timer tasks will
  2056. be close.
  2057. </description>
  2058. <value>420</value>
  2059. </property>
  2060. <property>
  2061. <description>The setting that controls how often the timeline collector
  2062. flushes the timeline writer.</description>
  2063. <name>yarn.timeline-service.writer.flush-interval-seconds</name>
  2064. <value>60</value>
  2065. </property>
  2066. <property>
  2067. <description>Time period till which the application collector will be alive
  2068. in NM, after the application master container finishes.</description>
  2069. <name>yarn.timeline-service.app-collector.linger-period.ms</name>
  2070. <value>1000</value>
  2071. </property>
  2072. <property>
  2073. <description>Time line V2 client tries to merge these many number of
  2074. async entities (if available) and then call the REST ATS V2 API to submit.
  2075. </description>
  2076. <name>yarn.timeline-service.timeline-client.number-of-async-entities-to-merge</name>
  2077. <value>10</value>
  2078. </property>
  2079. <property>
  2080. <description>
  2081. The setting that controls how long the final value
  2082. of a metric of a completed app is retained before merging into
  2083. the flow sum. Up to this time after an application is completed
  2084. out-of-order values that arrive can be recognized and discarded at the
  2085. cost of increased storage.
  2086. </description>
  2087. <name>yarn.timeline-service.hbase.coprocessor.app-final-value-retention-milliseconds
  2088. </name>
  2089. <value>259200000</value>
  2090. </property>
  2091. <property>
  2092. <description>
  2093. The default hdfs location for flowrun coprocessor jar.
  2094. </description>
  2095. <name>yarn.timeline-service.hbase.coprocessor.jar.hdfs.location
  2096. </name>
  2097. <value>/hbase/coprocessor/hadoop-yarn-server-timelineservice.jar</value>
  2098. </property>
  2099. <property>
  2100. <description>
  2101. The value of this parameter sets the prefix for all tables that are part of
  2102. timeline service in the hbase storage schema. It can be set to "dev."
  2103. or "staging." if it is to be used for development or staging instances.
  2104. This way the data in production tables stays in a separate set of tables
  2105. prefixed by "prod.".
  2106. </description>
  2107. <name>yarn.timeline-service.hbase-schema.prefix</name>
  2108. <value>prod.</value>
  2109. </property>
  2110. <property>
  2111. <description> Optional URL to an hbase-site.xml configuration file to be
  2112. used to connect to the timeline-service hbase cluster. If empty or not
  2113. specified, then the HBase configuration will be loaded from the classpath.
  2114. When specified the values in the specified configuration file will override
  2115. those from the ones that are present on the classpath.
  2116. </description>
  2117. <name>yarn.timeline-service.hbase.configuration.file
  2118. </name>
  2119. <value></value>
  2120. </property>
  2121. <!-- Shared Cache Configuration -->
  2122. <property>
  2123. <description>Whether the shared cache is enabled</description>
  2124. <name>yarn.sharedcache.enabled</name>
  2125. <value>false</value>
  2126. </property>
  2127. <property>
  2128. <description>The root directory for the shared cache</description>
  2129. <name>yarn.sharedcache.root-dir</name>
  2130. <value>/sharedcache</value>
  2131. </property>
  2132. <property>
  2133. <description>The level of nested directories before getting to the checksum
  2134. directories. It must be non-negative.</description>
  2135. <name>yarn.sharedcache.nested-level</name>
  2136. <value>3</value>
  2137. </property>
  2138. <property>
  2139. <description>The implementation to be used for the SCM store</description>
  2140. <name>yarn.sharedcache.store.class</name>
  2141. <value>org.apache.hadoop.yarn.server.sharedcachemanager.store.InMemorySCMStore</value>
  2142. </property>
  2143. <property>
  2144. <description>The implementation to be used for the SCM app-checker</description>
  2145. <name>yarn.sharedcache.app-checker.class</name>
  2146. <value>org.apache.hadoop.yarn.server.sharedcachemanager.RemoteAppChecker</value>
  2147. </property>
  2148. <property>
  2149. <description>A resource in the in-memory store is considered stale
  2150. if the time since the last reference exceeds the staleness period.
  2151. This value is specified in minutes.</description>
  2152. <name>yarn.sharedcache.store.in-memory.staleness-period-mins</name>
  2153. <value>10080</value>
  2154. </property>
  2155. <property>
  2156. <description>Initial delay before the in-memory store runs its first check
  2157. to remove dead initial applications. Specified in minutes.</description>
  2158. <name>yarn.sharedcache.store.in-memory.initial-delay-mins</name>
  2159. <value>10</value>
  2160. </property>
  2161. <property>
  2162. <description>The frequency at which the in-memory store checks to remove
  2163. dead initial applications. Specified in minutes.</description>
  2164. <name>yarn.sharedcache.store.in-memory.check-period-mins</name>
  2165. <value>720</value>
  2166. </property>
  2167. <property>
  2168. <description>The address of the admin interface in the SCM (shared cache manager)</description>
  2169. <name>yarn.sharedcache.admin.address</name>
  2170. <value>0.0.0.0:8047</value>
  2171. </property>
  2172. <property>
  2173. <description>The number of threads used to handle SCM admin interface (1 by default)</description>
  2174. <name>yarn.sharedcache.admin.thread-count</name>
  2175. <value>1</value>
  2176. </property>
  2177. <property>
  2178. <description>The address of the web application in the SCM (shared cache manager)</description>
  2179. <name>yarn.sharedcache.webapp.address</name>
  2180. <value>0.0.0.0:8788</value>
  2181. </property>
  2182. <property>
  2183. <description>The frequency at which a cleaner task runs.
  2184. Specified in minutes.</description>
  2185. <name>yarn.sharedcache.cleaner.period-mins</name>
  2186. <value>1440</value>
  2187. </property>
  2188. <property>
  2189. <description>Initial delay before the first cleaner task is scheduled.
  2190. Specified in minutes.</description>
  2191. <name>yarn.sharedcache.cleaner.initial-delay-mins</name>
  2192. <value>10</value>
  2193. </property>
  2194. <property>
  2195. <description>The time to sleep between processing each shared cache
  2196. resource. Specified in milliseconds.</description>
  2197. <name>yarn.sharedcache.cleaner.resource-sleep-ms</name>
  2198. <value>0</value>
  2199. </property>
  2200. <property>
  2201. <description>The address of the node manager interface in the SCM
  2202. (shared cache manager)</description>
  2203. <name>yarn.sharedcache.uploader.server.address</name>
  2204. <value>0.0.0.0:8046</value>
  2205. </property>
  2206. <property>
  2207. <description>The number of threads used to handle shared cache manager
  2208. requests from the node manager (50 by default)</description>
  2209. <name>yarn.sharedcache.uploader.server.thread-count</name>
  2210. <value>50</value>
  2211. </property>
  2212. <property>
  2213. <description>The address of the client interface in the SCM
  2214. (shared cache manager)</description>
  2215. <name>yarn.sharedcache.client-server.address</name>
  2216. <value>0.0.0.0:8045</value>
  2217. </property>
  2218. <property>
  2219. <description>The number of threads used to handle shared cache manager
  2220. requests from clients (50 by default)</description>
  2221. <name>yarn.sharedcache.client-server.thread-count</name>
  2222. <value>50</value>
  2223. </property>
  2224. <property>
  2225. <description>The algorithm used to compute checksums of files (SHA-256 by
  2226. default)</description>
  2227. <name>yarn.sharedcache.checksum.algo.impl</name>
  2228. <value>org.apache.hadoop.yarn.sharedcache.ChecksumSHA256Impl</value>
  2229. </property>
  2230. <property>
  2231. <description>The replication factor for the node manager uploader for the
  2232. shared cache (10 by default)</description>
  2233. <name>yarn.sharedcache.nm.uploader.replication.factor</name>
  2234. <value>10</value>
  2235. </property>
  2236. <property>
  2237. <description>The number of threads used to upload files from a node manager
  2238. instance (20 by default)</description>
  2239. <name>yarn.sharedcache.nm.uploader.thread-count</name>
  2240. <value>20</value>
  2241. </property>
  2242. <property>
  2243. <description>
  2244. ACL protocol for use in the Timeline server.
  2245. </description>
  2246. <name>security.applicationhistory.protocol.acl</name>
  2247. <value></value>
  2248. </property>
  2249. <!-- Minicluster Configuration (for testing only!) -->
  2250. <property>
  2251. <description>
  2252. Set to true for MiniYARNCluster unit tests
  2253. </description>
  2254. <name>yarn.is.minicluster</name>
  2255. <value>false</value>
  2256. </property>
  2257. <property>
  2258. <description>
  2259. Set for MiniYARNCluster unit tests to control resource monitoring
  2260. </description>
  2261. <name>yarn.minicluster.control-resource-monitoring</name>
  2262. <value>false</value>
  2263. </property>
  2264. <property>
  2265. <description>
  2266. Set to false in order to allow MiniYARNCluster to run tests without
  2267. port conflicts.
  2268. </description>
  2269. <name>yarn.minicluster.fixed.ports</name>
  2270. <value>false</value>
  2271. </property>
  2272. <property>
  2273. <description>
  2274. Set to false in order to allow the NodeManager in MiniYARNCluster to
  2275. use RPC to talk to the RM.
  2276. </description>
  2277. <name>yarn.minicluster.use-rpc</name>
  2278. <value>false</value>
  2279. </property>
  2280. <property>
  2281. <description>
  2282. As yarn.nodemanager.resource.memory-mb property but for the NodeManager
  2283. in a MiniYARNCluster.
  2284. </description>
  2285. <name>yarn.minicluster.yarn.nodemanager.resource.memory-mb</name>
  2286. <value>4096</value>
  2287. </property>
  2288. <!-- Node Labels Configuration -->
  2289. <property>
  2290. <description>
  2291. Enable node labels feature
  2292. </description>
  2293. <name>yarn.node-labels.enabled</name>
  2294. <value>false</value>
  2295. </property>
  2296. <property>
  2297. <description>
  2298. URI for NodeLabelManager. The default value is
  2299. /tmp/hadoop-yarn-${user}/node-labels/ in the local filesystem.
  2300. </description>
  2301. <name>yarn.node-labels.fs-store.root-dir</name>
  2302. <value></value>
  2303. </property>
  2304. <property>
  2305. <description>
  2306. Set configuration type for node labels. Administrators can specify
  2307. "centralized", "delegated-centralized" or "distributed".
  2308. </description>
  2309. <name>yarn.node-labels.configuration-type</name>
  2310. <value>centralized</value>
  2311. </property>
  2312. <!-- Distributed Node Labels Configuration -->
  2313. <property>
  2314. <description>
  2315. When "yarn.node-labels.configuration-type" is configured with "distributed"
  2316. in RM, Administrators can configure in NM the provider for the
  2317. node labels by configuring this parameter. Administrators can
  2318. configure "config", "script" or the class name of the provider. Configured
  2319. class needs to extend
  2320. org.apache.hadoop.yarn.server.nodemanager.nodelabels.NodeLabelsProvider.
  2321. If "config" is configured, then "ConfigurationNodeLabelsProvider" and if
  2322. "script" is configured, then "ScriptNodeLabelsProvider" will be used.
  2323. </description>
  2324. <name>yarn.nodemanager.node-labels.provider</name>
  2325. </property>
  2326. <property>
  2327. <description>
  2328. When "yarn.nodemanager.node-labels.provider" is configured with "config",
  2329. "Script" or the configured class extends AbstractNodeLabelsProvider, then
  2330. periodically node labels are retrieved from the node labels provider. This
  2331. configuration is to define the interval period.
  2332. If -1 is configured then node labels are retrieved from provider only
  2333. during initialization. Defaults to 10 mins.
  2334. </description>
  2335. <name>yarn.nodemanager.node-labels.provider.fetch-interval-ms</name>
  2336. <value>600000</value>
  2337. </property>
  2338. <property>
  2339. <description>
  2340. Interval at which NM syncs its node labels with RM. NM will send its loaded
  2341. labels every x intervals configured, along with heartbeat to RM.
  2342. </description>
  2343. <name>yarn.nodemanager.node-labels.resync-interval-ms</name>
  2344. <value>120000</value>
  2345. </property>
  2346. <property>
  2347. <description>
  2348. When "yarn.nodemanager.node-labels.provider" is configured with "config"
  2349. then ConfigurationNodeLabelsProvider fetches the partition label from this
  2350. parameter.
  2351. </description>
  2352. <name>yarn.nodemanager.node-labels.provider.configured-node-partition</name>
  2353. </property>
  2354. <property>
  2355. <description>
  2356. When "yarn.nodemanager.node-labels.provider" is configured with "Script"
  2357. then this configuration provides the timeout period after which it will
  2358. interrupt the script which queries the Node labels. Defaults to 20 mins.
  2359. </description>
  2360. <name>yarn.nodemanager.node-labels.provider.fetch-timeout-ms</name>
  2361. <value>1200000</value>
  2362. </property>
  2363. <!-- Delegated-centralized Node Labels Configuration -->
  2364. <property>
  2365. <description>
  2366. When node labels "yarn.node-labels.configuration-type" is
  2367. of type "delegated-centralized", administrators should configure
  2368. the class for fetching node labels by ResourceManager. Configured
  2369. class needs to extend
  2370. org.apache.hadoop.yarn.server.resourcemanager.nodelabels.
  2371. RMNodeLabelsMappingProvider.
  2372. </description>
  2373. <name>yarn.resourcemanager.node-labels.provider</name>
  2374. <value></value>
  2375. </property>
  2376. <property>
  2377. <description>
  2378. When "yarn.node-labels.configuration-type" is configured with
  2379. "delegated-centralized", then periodically node labels are retrieved
  2380. from the node labels provider. This configuration is to define the
  2381. interval. If -1 is configured then node labels are retrieved from
  2382. provider only once for each node after it registers. Defaults to 30 mins.
  2383. </description>
  2384. <name>yarn.resourcemanager.node-labels.provider.fetch-interval-ms</name>
  2385. <value>1800000</value>
  2386. </property>
  2387. <property>
  2388. <description>
  2389. Timeout in seconds for YARN node graceful decommission.
  2390. This is the maximal time to wait for running containers and applications to complete
  2391. before transition a DECOMMISSIONING node into DECOMMISSIONED.
  2392. </description>
  2393. <name>yarn.resourcemanager.nodemanager-graceful-decommission-timeout-secs</name>
  2394. <value>3600</value>
  2395. </property>
  2396. <property>
  2397. <description>
  2398. Timeout in seconds of DecommissioningNodesWatcher internal polling.
  2399. </description>
  2400. <name>yarn.resourcemanager.decommissioning-nodes-watcher.poll-interval-secs</name>
  2401. <value>20</value>
  2402. </property>
  2403. <property>
  2404. <description>The Node Label script to run. Script output Line starting with
  2405. "NODE_PARTITION:" will be considered as Node Label Partition. In case of
  2406. multiple lines have this pattern, then last one will be considered
  2407. </description>
  2408. <name>yarn.nodemanager.node-labels.provider.script.path</name>
  2409. </property>
  2410. <property>
  2411. <description>The arguments to pass to the Node label script.</description>
  2412. <name>yarn.nodemanager.node-labels.provider.script.opts</name>
  2413. </property>
  2414. <!-- Federation Configuration -->
  2415. <property>
  2416. <description>
  2417. Flag to indicate whether the RM is participating in Federation or not.
  2418. </description>
  2419. <name>yarn.federation.enabled</name>
  2420. <value>false</value>
  2421. </property>
  2422. <property>
  2423. <description>
  2424. Machine list file to be loaded by the FederationSubCluster Resolver
  2425. </description>
  2426. <name>yarn.federation.machine-list</name>
  2427. </property>
  2428. <property>
  2429. <description>
  2430. Class name for SubClusterResolver
  2431. </description>
  2432. <name>yarn.federation.subcluster-resolver.class</name>
  2433. <value>org.apache.hadoop.yarn.server.federation.resolver.DefaultSubClusterResolverImpl</value>
  2434. </property>
  2435. <property>
  2436. <description>
  2437. Store class name for federation state store
  2438. </description>
  2439. <name>yarn.federation.state-store.class</name>
  2440. <value>org.apache.hadoop.yarn.server.federation.store.impl.MemoryFederationStateStore</value>
  2441. </property>
  2442. <property>
  2443. <description>
  2444. The time in seconds after which the federation state store local cache
  2445. will be refreshed periodically
  2446. </description>
  2447. <name>yarn.federation.cache-ttl.secs</name>
  2448. <value>300</value>
  2449. </property>
  2450. <!-- Other Configuration -->
  2451. <property>
  2452. <description>The interval that the yarn client library uses to poll the
  2453. completion status of the asynchronous API of application client protocol.
  2454. </description>
  2455. <name>yarn.client.application-client-protocol.poll-interval-ms</name>
  2456. <value>200</value>
  2457. </property>
  2458. <property>
  2459. <description>
  2460. The duration (in ms) the YARN client waits for an expected state change
  2461. to occur. -1 means unlimited wait time.
  2462. </description>
  2463. <name>yarn.client.application-client-protocol.poll-timeout-ms</name>
  2464. <value>-1</value>
  2465. </property>
  2466. <property>
  2467. <description>RSS usage of a process computed via
  2468. /proc/pid/stat is not very accurate as it includes shared pages of a
  2469. process. /proc/pid/smaps provides useful information like
  2470. Private_Dirty, Private_Clean, Shared_Dirty, Shared_Clean which can be used
  2471. for computing more accurate RSS. When this flag is enabled, RSS is computed
  2472. as Min(Shared_Dirty, Pss) + Private_Clean + Private_Dirty. It excludes
  2473. read-only shared mappings in RSS computation.
  2474. </description>
  2475. <name>yarn.nodemanager.container-monitor.procfs-tree.smaps-based-rss.enabled</name>
  2476. <value>false</value>
  2477. </property>
  2478. <property>
  2479. <description>
  2480. URL for log aggregation server
  2481. </description>
  2482. <name>yarn.log.server.url</name>
  2483. <value></value>
  2484. </property>
  2485. <property>
  2486. <description>
  2487. URL for log aggregation server web service
  2488. </description>
  2489. <name>yarn.log.server.web-service.url</name>
  2490. <value></value>
  2491. </property>
  2492. <property>
  2493. <description>
  2494. RM Application Tracking URL
  2495. </description>
  2496. <name>yarn.tracking.url.generator</name>
  2497. <value></value>
  2498. </property>
  2499. <property>
  2500. <description>
  2501. Class to be used for YarnAuthorizationProvider
  2502. </description>
  2503. <name>yarn.authorization-provider</name>
  2504. <value></value>
  2505. </property>
  2506. <property>
  2507. <description>Defines how often NMs wake up to upload log files.
  2508. The default value is -1. By default, the logs will be uploaded when
  2509. the application is finished. By setting this configure, logs can be uploaded
  2510. periodically when the application is running. The minimum rolling-interval-seconds
  2511. can be set is 3600.
  2512. </description>
  2513. <name>yarn.nodemanager.log-aggregation.roll-monitoring-interval-seconds</name>
  2514. <value>-1</value>
  2515. </property>
  2516. <property>
  2517. <description>
  2518. Enable/disable intermediate-data encryption at YARN level. For now,
  2519. this only is used by the FileSystemRMStateStore to setup right
  2520. file-system security attributes.
  2521. </description>
  2522. <name>yarn.intermediate-data-encryption.enable</name>
  2523. <value>false</value>
  2524. </property>
  2525. <property>
  2526. <description>Flag to enable cross-origin (CORS) support in the NM. This flag
  2527. requires the CORS filter initializer to be added to the filter initializers
  2528. list in core-site.xml.</description>
  2529. <name>yarn.nodemanager.webapp.cross-origin.enabled</name>
  2530. <value>false</value>
  2531. </property>
  2532. <property>
  2533. <description>
  2534. Defines maximum application priority in a cluster.
  2535. If an application is submitted with a priority higher than this value, it will be
  2536. reset to this maximum value.
  2537. </description>
  2538. <name>yarn.cluster.max-application-priority</name>
  2539. <value>0</value>
  2540. </property>
  2541. <property>
  2542. <description>
  2543. The default log aggregation policy class. Applications can
  2544. override it via LogAggregationContext. This configuration can provide
  2545. some cluster-side default behavior so that if the application doesn't
  2546. specify any policy via LogAggregationContext administrators of the cluster
  2547. can adjust the policy globally.
  2548. </description>
  2549. <name>yarn.nodemanager.log-aggregation.policy.class</name>
  2550. <value>org.apache.hadoop.yarn.server.nodemanager.containermanager.logaggregation.AllContainerLogAggregationPolicy</value>
  2551. </property>
  2552. <property>
  2553. <description>
  2554. The default parameters for the log aggregation policy. Applications can
  2555. override it via LogAggregationContext. This configuration can provide
  2556. some cluster-side default behavior so that if the application doesn't
  2557. specify any policy via LogAggregationContext administrators of the cluster
  2558. can adjust the policy globally.
  2559. </description>
  2560. <name>yarn.nodemanager.log-aggregation.policy.parameters</name>
  2561. <value></value>
  2562. </property>
  2563. <property>
  2564. <description>
  2565. Enable/Disable AMRMProxyService in the node manager. This service is used to
  2566. intercept calls from the application masters to the resource manager.
  2567. </description>
  2568. <name>yarn.nodemanager.amrmproxy.enabled</name>
  2569. <value>false</value>
  2570. </property>
  2571. <property>
  2572. <description>
  2573. The address of the AMRMProxyService listener.
  2574. </description>
  2575. <name>yarn.nodemanager.amrmproxy.address</name>
  2576. <value>0.0.0.0:8049</value>
  2577. </property>
  2578. <property>
  2579. <description>
  2580. The number of threads used to handle requests by the AMRMProxyService.
  2581. </description>
  2582. <name>yarn.nodemanager.amrmproxy.client.thread-count</name>
  2583. <value>25</value>
  2584. </property>
  2585. <property>
  2586. <description>
  2587. The comma separated list of class names that implement the
  2588. RequestInterceptor interface. This is used by the AMRMProxyService to create
  2589. the request processing pipeline for applications.
  2590. </description>
  2591. <name>yarn.nodemanager.amrmproxy.interceptor-class.pipeline</name>
  2592. <value>org.apache.hadoop.yarn.server.nodemanager.amrmproxy.DefaultRequestInterceptor</value>
  2593. </property>
  2594. <property>
  2595. <description>
  2596. Setting that controls whether distributed scheduling is enabled.
  2597. </description>
  2598. <name>yarn.nodemanager.distributed-scheduling.enabled</name>
  2599. <value>false</value>
  2600. </property>
  2601. <property>
  2602. <description>
  2603. Setting that controls whether opportunistic container allocation
  2604. is enabled.
  2605. </description>
  2606. <name>yarn.resourcemanager.opportunistic-container-allocation.enabled</name>
  2607. <value>false</value>
  2608. </property>
  2609. <property>
  2610. <description>
  2611. Number of nodes to be used by the Opportunistic Container Allocator for
  2612. dispatching containers during container allocation.
  2613. </description>
  2614. <name>yarn.resourcemanager.opportunistic-container-allocation.nodes-used</name>
  2615. <value>10</value>
  2616. </property>
  2617. <property>
  2618. <description>
  2619. Frequency for computing least loaded NMs.
  2620. </description>
  2621. <name>yarn.resourcemanager.nm-container-queuing.sorting-nodes-interval-ms</name>
  2622. <value>1000</value>
  2623. </property>
  2624. <property>
  2625. <description>
  2626. Comparator for determining node load for Distributed Scheduling.
  2627. </description>
  2628. <name>yarn.resourcemanager.nm-container-queuing.load-comparator</name>
  2629. <value>QUEUE_LENGTH</value>
  2630. </property>
  2631. <property>
  2632. <description>
  2633. Value of standard deviation used for calculation of queue limit thresholds.
  2634. </description>
  2635. <name>yarn.resourcemanager.nm-container-queuing.queue-limit-stdev</name>
  2636. <value>1.0f</value>
  2637. </property>
  2638. <property>
  2639. <description>
  2640. Min length of container queue at NodeManager.
  2641. </description>
  2642. <name>yarn.resourcemanager.nm-container-queuing.min-queue-length</name>
  2643. <value>5</value>
  2644. </property>
  2645. <property>
  2646. <description>
  2647. Max length of container queue at NodeManager.
  2648. </description>
  2649. <name>yarn.resourcemanager.nm-container-queuing.max-queue-length</name>
  2650. <value>15</value>
  2651. </property>
  2652. <property>
  2653. <description>
  2654. Min queue wait time for a container at a NodeManager.
  2655. </description>
  2656. <name>yarn.resourcemanager.nm-container-queuing.min-queue-wait-time-ms</name>
  2657. <value>10</value>
  2658. </property>
  2659. <property>
  2660. <description>
  2661. Max queue wait time for a container queue at a NodeManager.
  2662. </description>
  2663. <name>yarn.resourcemanager.nm-container-queuing.max-queue-wait-time-ms</name>
  2664. <value>100</value>
  2665. </property>
  2666. <property>
  2667. <description>
  2668. Use container pause as the preemption policy over kill in the container
  2669. queue at a NodeManager.
  2670. </description>
  2671. <name>yarn.nodemanager.opportunistic-containers-use-pause-for-preemption</name>
  2672. <value>false</value>
  2673. </property>
  2674. <property>
  2675. <description>
  2676. Error filename pattern, to identify the file in the container's
  2677. Log directory which contain the container's error log. As error file
  2678. redirection is done by client/AM and yarn will not be aware of the error
  2679. file name. YARN uses this pattern to identify the error file and tail
  2680. the error log as diagnostics when the container execution returns non zero
  2681. value. Filename patterns are case sensitive and should match the
  2682. specifications of FileSystem.globStatus(Path) api. If multiple filenames
  2683. matches the pattern, first file matching the pattern will be picked.
  2684. </description>
  2685. <name>yarn.nodemanager.container.stderr.pattern</name>
  2686. <value>{*stderr*,*STDERR*}</value>
  2687. </property>
  2688. <property>
  2689. <description>
  2690. Size of the container error file which needs to be tailed, in bytes.
  2691. </description>
  2692. <name>yarn.nodemanager.container.stderr.tail.bytes </name>
  2693. <value>4096</value>
  2694. </property>
  2695. <property>
  2696. <description>
  2697. Choose different implementation of node label's storage
  2698. </description>
  2699. <name>yarn.node-labels.fs-store.impl.class</name>
  2700. <value>org.apache.hadoop.yarn.nodelabels.FileSystemNodeLabelsStore</value>
  2701. </property>
  2702. <property>
  2703. <description>
  2704. Enable the CSRF filter for the RM web app
  2705. </description>
  2706. <name>yarn.resourcemanager.webapp.rest-csrf.enabled</name>
  2707. <value>false</value>
  2708. </property>
  2709. <property>
  2710. <description>
  2711. Optional parameter that indicates the custom header name to use for CSRF
  2712. protection.
  2713. </description>
  2714. <name>yarn.resourcemanager.webapp.rest-csrf.custom-header</name>
  2715. <value>X-XSRF-Header</value>
  2716. </property>
  2717. <property>
  2718. <description>
  2719. Optional parameter that indicates the list of HTTP methods that do not
  2720. require CSRF protection
  2721. </description>
  2722. <name>yarn.resourcemanager.webapp.rest-csrf.methods-to-ignore</name>
  2723. <value>GET,OPTIONS,HEAD</value>
  2724. </property>
  2725. <property>
  2726. <description>
  2727. Enable the CSRF filter for the NM web app
  2728. </description>
  2729. <name>yarn.nodemanager.webapp.rest-csrf.enabled</name>
  2730. <value>false</value>
  2731. </property>
  2732. <property>
  2733. <description>
  2734. Optional parameter that indicates the custom header name to use for CSRF
  2735. protection.
  2736. </description>
  2737. <name>yarn.nodemanager.webapp.rest-csrf.custom-header</name>
  2738. <value>X-XSRF-Header</value>
  2739. </property>
  2740. <property>
  2741. <description>
  2742. Optional parameter that indicates the list of HTTP methods that do not
  2743. require CSRF protection
  2744. </description>
  2745. <name>yarn.nodemanager.webapp.rest-csrf.methods-to-ignore</name>
  2746. <value>GET,OPTIONS,HEAD</value>
  2747. </property>
  2748. <property>
  2749. <description>
  2750. The name of disk validator.
  2751. </description>
  2752. <name>yarn.nodemanager.disk-validator</name>
  2753. <value>basic</value>
  2754. </property>
  2755. <property>
  2756. <description>
  2757. Enable the CSRF filter for the timeline service web app
  2758. </description>
  2759. <name>yarn.timeline-service.webapp.rest-csrf.enabled</name>
  2760. <value>false</value>
  2761. </property>
  2762. <property>
  2763. <description>
  2764. Optional parameter that indicates the custom header name to use for CSRF
  2765. protection.
  2766. </description>
  2767. <name>yarn.timeline-service.webapp.rest-csrf.custom-header</name>
  2768. <value>X-XSRF-Header</value>
  2769. </property>
  2770. <property>
  2771. <description>
  2772. Optional parameter that indicates the list of HTTP methods that do not
  2773. require CSRF protection
  2774. </description>
  2775. <name>yarn.timeline-service.webapp.rest-csrf.methods-to-ignore</name>
  2776. <value>GET,OPTIONS,HEAD</value>
  2777. </property>
  2778. <property>
  2779. <description>
  2780. Enable the XFS filter for YARN
  2781. </description>
  2782. <name>yarn.webapp.xfs-filter.enabled</name>
  2783. <value>true</value>
  2784. </property>
  2785. <property>
  2786. <description>
  2787. Property specifying the xframe options value.
  2788. </description>
  2789. <name>yarn.resourcemanager.webapp.xfs-filter.xframe-options</name>
  2790. <value>SAMEORIGIN</value>
  2791. </property>
  2792. <property>
  2793. <description>
  2794. Property specifying the xframe options value.
  2795. </description>
  2796. <name>yarn.nodemanager.webapp.xfs-filter.xframe-options</name>
  2797. <value>SAMEORIGIN</value>
  2798. </property>
  2799. <property>
  2800. <description>
  2801. Property specifying the xframe options value.
  2802. </description>
  2803. <name>yarn.timeline-service.webapp.xfs-filter.xframe-options</name>
  2804. <value>SAMEORIGIN</value>
  2805. </property>
  2806. <property>
  2807. <description>
  2808. The least amount of time(msec.) an inactive (decommissioned or shutdown) node can
  2809. stay in the nodes list of the resourcemanager after being declared untracked.
  2810. A node is marked untracked if and only if it is absent from both include and
  2811. exclude nodemanager lists on the RM. All inactive nodes are checked twice per
  2812. timeout interval or every 10 minutes, whichever is lesser, and marked appropriately.
  2813. The same is done when refreshNodes command (graceful or otherwise) is invoked.
  2814. </description>
  2815. <name>yarn.resourcemanager.node-removal-untracked.timeout-ms</name>
  2816. <value>60000</value>
  2817. </property>
  2818. <property>
  2819. <description>
  2820. The RMAppLifetimeMonitor Service uses this value as monitor interval
  2821. </description>
  2822. <name>yarn.resourcemanager.application-timeouts.monitor.interval-ms</name>
  2823. <value>3000</value>
  2824. </property>
  2825. <property>
  2826. <description>
  2827. Defines the limit of the diagnostics message of an application
  2828. attempt, in kilo characters (character count * 1024).
  2829. When using ZooKeeper to store application state behavior, it's
  2830. important to limit the size of the diagnostic messages to
  2831. prevent YARN from overwhelming ZooKeeper. In cases where
  2832. yarn.resourcemanager.state-store.max-completed-applications is set to
  2833. a large number, it may be desirable to reduce the value of this property
  2834. to limit the total data stored.
  2835. </description>
  2836. <name>yarn.app.attempt.diagnostics.limit.kc</name>
  2837. <value>64</value>
  2838. </property>
  2839. <property>
  2840. <description>
  2841. Flag to enable cross-origin (CORS) support for timeline service v1.x or
  2842. Timeline Reader in timeline service v2. For timeline service v2, also add
  2843. org.apache.hadoop.security.HttpCrossOriginFilterInitializer to the
  2844. configuration hadoop.http.filter.initializers in core-site.xml.
  2845. </description>
  2846. <name>yarn.timeline-service.http-cross-origin.enabled</name>
  2847. <value>false</value>
  2848. </property>
  2849. <property>
  2850. <description>
  2851. Flag to enable cross-origin (CORS) support for timeline service v1.x or
  2852. Timeline Reader in timeline service v2. For timeline service v2, also add
  2853. org.apache.hadoop.security.HttpCrossOriginFilterInitializer to the
  2854. configuration hadoop.http.filter.initializers in core-site.xml.
  2855. </description>
  2856. <name>yarn.timeline-service.http-cross-origin.enabled</name>
  2857. <value>false</value>
  2858. </property>
  2859. <property>
  2860. <description>
  2861. The comma separated list of class names that implement the
  2862. RequestInterceptor interface. This is used by the RouterClientRMService
  2863. to create the request processing pipeline for users.
  2864. </description>
  2865. <name>yarn.router.clientrm.interceptor-class.pipeline</name>
  2866. <value>org.apache.hadoop.yarn.server.router.clientrm.DefaultClientRequestInterceptor</value>
  2867. </property>
  2868. <property>
  2869. <description>
  2870. Size of LRU cache for Router ClientRM Service and RMAdmin Service.
  2871. </description>
  2872. <name>yarn.router.pipeline.cache-max-size</name>
  2873. <value>25</value>
  2874. </property>
  2875. <property>
  2876. <description>
  2877. The comma separated list of class names that implement the
  2878. RequestInterceptor interface. This is used by the RouterRMAdminService
  2879. to create the request processing pipeline for users.
  2880. </description>
  2881. <name>yarn.router.rmadmin.interceptor-class.pipeline</name>
  2882. <value>org.apache.hadoop.yarn.server.router.rmadmin.DefaultRMAdminRequestInterceptor</value>
  2883. </property>
  2884. <property>
  2885. <description>
  2886. The actual address the server will bind to. If this optional address is
  2887. set, the RPC and webapp servers will bind to this address and the port specified in
  2888. yarn.router.address and yarn.router.webapp.address, respectively. This is
  2889. most useful for making Router listen to all interfaces by setting to 0.0.0.0.
  2890. </description>
  2891. <name>yarn.router.bind-host</name>
  2892. <value></value>
  2893. </property>
  2894. <property>
  2895. <description>
  2896. Comma-separated list of PlacementRules to determine how applications
  2897. submitted by certain users get mapped to certain queues. Default is
  2898. user-group, which corresponds to UserGroupMappingPlacementRule.
  2899. </description>
  2900. <name>yarn.scheduler.queue-placement-rules</name>
  2901. <value>user-group</value>
  2902. </property>
  2903. <property>
  2904. <description>
  2905. The comma separated list of class names that implement the
  2906. RequestInterceptor interface. This is used by the RouterWebServices
  2907. to create the request processing pipeline for users.
  2908. </description>
  2909. <name>yarn.router.webapp.interceptor-class.pipeline</name>
  2910. <value>org.apache.hadoop.yarn.server.router.webapp.DefaultRequestInterceptorREST</value>
  2911. </property>
  2912. <property>
  2913. <description>
  2914. The http address of the Router web application.
  2915. If only a host is provided as the value,
  2916. the webapp will be served on a random port.
  2917. </description>
  2918. <name>yarn.router.webapp.address</name>
  2919. <value>0.0.0.0:8089</value>
  2920. </property>
  2921. <property>
  2922. <description>
  2923. The https address of the Router web application.
  2924. If only a host is provided as the value,
  2925. the webapp will be served on a random port.
  2926. </description>
  2927. <name> yarn.router.webapp.https.address</name>
  2928. <value>0.0.0.0:8091</value>
  2929. </property>
  2930. <property>
  2931. <description>
  2932. It is TimelineClient 1.5 configuration whether to store active
  2933. application’s timeline data with in user directory i.e
  2934. ${yarn.timeline-service.entity-group-fs-store.active-dir}/${user.name}
  2935. </description>
  2936. <name>yarn.timeline-service.entity-group-fs-store.with-user-dir</name>
  2937. <value>false</value>
  2938. </property>
  2939. <property>
  2940. <name>yarn.resourcemanager.display.per-user-apps</name>
  2941. <value>false</value>
  2942. <description>
  2943. Flag to enable display of applications per user as an admin
  2944. configuration.
  2945. </description>
  2946. </property>
  2947. <property>
  2948. <description>
  2949. The type of configuration store to use for scheduler configurations.
  2950. Default is "file", which uses file based capacity-scheduler.xml to
  2951. retrieve and change scheduler configuration. To enable API based
  2952. scheduler configuration, use either "memory" (in memory storage, no
  2953. persistence across restarts), "leveldb" (leveldb based storage), or
  2954. "zk" (zookeeper based storage). API based configuration is only useful
  2955. when using a scheduler which supports mutable configuration. Currently
  2956. only capacity scheduler supports this.
  2957. </description>
  2958. <name>yarn.scheduler.configuration.store.class</name>
  2959. <value>file</value>
  2960. </property>
  2961. <property>
  2962. <description>
  2963. The class to use for configuration mutation ACL policy if using a mutable
  2964. configuration provider. Controls whether a mutation request is allowed.
  2965. The DefaultConfigurationMutationACLPolicy checks if the requestor is a
  2966. YARN admin.
  2967. </description>
  2968. <name>yarn.scheduler.configuration.mutation.acl-policy.class</name>
  2969. <value>org.apache.hadoop.yarn.server.resourcemanager.scheduler.DefaultConfigurationMutationACLPolicy</value>
  2970. </property>
  2971. <property>
  2972. <description>
  2973. The storage path for LevelDB implementation of configuration store,
  2974. when yarn.scheduler.configuration.store.class is configured to be
  2975. "leveldb".
  2976. </description>
  2977. <name>yarn.scheduler.configuration.leveldb-store.path</name>
  2978. <value>${hadoop.tmp.dir}/yarn/system/confstore</value>
  2979. </property>
  2980. <property>
  2981. <description>
  2982. The compaction interval for LevelDB configuration store in secs,
  2983. when yarn.scheduler.configuration.store.class is configured to be
  2984. "leveldb". Default is one day.
  2985. </description>
  2986. <name>yarn.scheduler.configuration.leveldb-store.compaction-interval-secs</name>
  2987. <value>86400</value>
  2988. </property>
  2989. <property>
  2990. <description>
  2991. The max number of configuration change log entries kept in config
  2992. store, when yarn.scheduler.configuration.store.class is configured to be
  2993. "leveldb" or "zk". Default is 1000 for either.
  2994. </description>
  2995. <name>yarn.scheduler.configuration.store.max-logs</name>
  2996. <value>1000</value>
  2997. </property>
  2998. <property>
  2999. <description>
  3000. ZK root node path for configuration store when using zookeeper-based
  3001. configuration store.
  3002. </description>
  3003. <name>yarn.scheduler.configuration.zk-store.parent-path</name>
  3004. <value>/confstore</value>
  3005. </property>
  3006. <!-- resource types configuration -->
  3007. <property>
  3008. <name>yarn.resource-types</name>
  3009. <value></value>
  3010. <description>
  3011. The resource types to be used for scheduling. Use resource-types.xml
  3012. to specify details about the individual resource types.
  3013. </description>
  3014. </property>
  3015. <property>
  3016. <description>
  3017. Provides an option for client to load supported resource types from RM
  3018. instead of depending on local resource-types.xml file.
  3019. </description>
  3020. <name>yarn.client.load.resource-types.from-server</name>
  3021. <value>false</value>
  3022. </property>
  3023. </configuration>