yarn-default.xml 173 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763
  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>
  92. The threshold used to trigger the logging of event types
  93. and counts in RM's main event dispatcher. Default length is 5000,
  94. which means RM will print events info when the queue size cumulatively
  95. reaches 5000 every time. Such info can be used to reveal what kind of events
  96. that RM is stuck at processing mostly, it can help to
  97. narrow down certain performance issues.
  98. </description>
  99. <name>yarn.dispatcher.print-events-info.threshold</name>
  100. <value>5000</value>
  101. </property>
  102. <property>
  103. <description>The expiry interval for application master reporting.</description>
  104. <name>yarn.am.liveness-monitor.expiry-interval-ms</name>
  105. <value>600000</value>
  106. </property>
  107. <property>
  108. <description>The Kerberos principal for the resource manager.</description>
  109. <name>yarn.resourcemanager.principal</name>
  110. </property>
  111. <property>
  112. <description>The address of the scheduler interface.</description>
  113. <name>yarn.resourcemanager.scheduler.address</name>
  114. <value>${yarn.resourcemanager.hostname}:8030</value>
  115. </property>
  116. <property>
  117. <description>Number of threads to handle scheduler interface.</description>
  118. <name>yarn.resourcemanager.scheduler.client.thread-count</name>
  119. <value>50</value>
  120. </property>
  121. <property>
  122. <description>
  123. Specify which handler will be used to process PlacementConstraints.
  124. Acceptable values are: `placement-processor`, `scheduler` and `disabled`.
  125. For a detailed explanation of these values, please refer to documentation.
  126. </description>
  127. <name>yarn.resourcemanager.placement-constraints.handler</name>
  128. <value>disabled</value>
  129. </property>
  130. <property>
  131. <description>Number of times to retry placing of rejected SchedulingRequests</description>
  132. <name>yarn.resourcemanager.placement-constraints.retry-attempts</name>
  133. <value>3</value>
  134. </property>
  135. <property>
  136. <description>Constraint Placement Algorithm to be used.</description>
  137. <name>yarn.resourcemanager.placement-constraints.algorithm.class</name>
  138. <value>org.apache.hadoop.yarn.server.resourcemanager.scheduler.constraint.algorithm.DefaultPlacementAlgorithm</value>
  139. </property>
  140. <property>
  141. <description>Placement Algorithm Requests Iterator to be used.</description>
  142. <name>yarn.resourcemanager.placement-constraints.algorithm.iterator</name>
  143. <value>SERIAL</value>
  144. </property>
  145. <property>
  146. <description>Threadpool size for the Algorithm used for placement constraint processing.</description>
  147. <name>yarn.resourcemanager.placement-constraints.algorithm.pool-size</name>
  148. <value>1</value>
  149. </property>
  150. <property>
  151. <description>Threadpool size for the Scheduler invocation phase of placement constraint processing.</description>
  152. <name>yarn.resourcemanager.placement-constraints.scheduler.pool-size</name>
  153. <value>1</value>
  154. </property>
  155. <property>
  156. <description>
  157. Comma separated class names of ApplicationMasterServiceProcessor
  158. implementations. The processors will be applied in the order
  159. they are specified.
  160. </description>
  161. <name>yarn.resourcemanager.application-master-service.processors</name>
  162. <value></value>
  163. </property>
  164. <property>
  165. <description>
  166. This configures the HTTP endpoint for YARN Daemons.The following
  167. values are supported:
  168. - HTTP_ONLY : Service is provided only on http
  169. - HTTPS_ONLY : Service is provided only on https
  170. </description>
  171. <name>yarn.http.policy</name>
  172. <value>HTTP_ONLY</value>
  173. </property>
  174. <property>
  175. <description>
  176. The http address of the RM web application.
  177. If only a host is provided as the value,
  178. the webapp will be served on a random port.
  179. </description>
  180. <name>yarn.resourcemanager.webapp.address</name>
  181. <value>${yarn.resourcemanager.hostname}:8088</value>
  182. </property>
  183. <property>
  184. <description>
  185. The https address of the RM web application.
  186. If only a host is provided as the value,
  187. the webapp will be served on a random port.
  188. </description>
  189. <name>yarn.resourcemanager.webapp.https.address</name>
  190. <value>${yarn.resourcemanager.hostname}:8090</value>
  191. </property>
  192. <property>
  193. <description>
  194. The Kerberos keytab file to be used for spnego filter for the RM web
  195. interface.
  196. </description>
  197. <name>yarn.resourcemanager.webapp.spnego-keytab-file</name>
  198. <value></value>
  199. </property>
  200. <property>
  201. <description>
  202. The Kerberos principal to be used for spnego filter for the RM web
  203. interface.
  204. </description>
  205. <name>yarn.resourcemanager.webapp.spnego-principal</name>
  206. <value></value>
  207. </property>
  208. <property>
  209. <description>
  210. Add button to kill application in the RM Application view.
  211. </description>
  212. <name>yarn.resourcemanager.webapp.ui-actions.enabled</name>
  213. <value>true</value>
  214. </property>
  215. <property>
  216. <description>To enable RM web ui2 application.</description>
  217. <name>yarn.webapp.ui2.enable</name>
  218. <value>false</value>
  219. </property>
  220. <property>
  221. <description>Enable tools section in all ui1 webapp.</description>
  222. <name>yarn.webapp.ui1.tools.enable</name>
  223. <value>true</value>
  224. </property>
  225. <property>
  226. <description>
  227. Explicitly provide WAR file path for ui2 if needed.
  228. </description>
  229. <name>yarn.webapp.ui2.war-file-path</name>
  230. <value></value>
  231. </property>
  232. <property>
  233. <description>
  234. Enable services rest api on ResourceManager.
  235. </description>
  236. <name>yarn.webapp.api-service.enable</name>
  237. <value>false</value>
  238. </property>
  239. <property>
  240. <name>yarn.resourcemanager.resource-tracker.address</name>
  241. <value>${yarn.resourcemanager.hostname}:8031</value>
  242. </property>
  243. <property>
  244. <name>yarn.resourcemanager.resource-tracker.nm.ip-hostname-check</name>
  245. <value>false</value>
  246. </property>
  247. <property>
  248. <description>Are acls enabled.</description>
  249. <name>yarn.acl.enable</name>
  250. <value>false</value>
  251. </property>
  252. <property>
  253. <description>Are reservation acls enabled.</description>
  254. <name>yarn.acl.reservation-enable</name>
  255. <value>false</value>
  256. </property>
  257. <property>
  258. <description>ACL of who can be admin of the YARN cluster.</description>
  259. <name>yarn.admin.acl</name>
  260. <value>*</value>
  261. </property>
  262. <property>
  263. <description>The address of the RM admin interface.</description>
  264. <name>yarn.resourcemanager.admin.address</name>
  265. <value>${yarn.resourcemanager.hostname}:8033</value>
  266. </property>
  267. <property>
  268. <description>Number of threads used to handle RM admin interface.</description>
  269. <name>yarn.resourcemanager.admin.client.thread-count</name>
  270. <value>1</value>
  271. </property>
  272. <property>
  273. <description>Maximum time to wait to establish connection to
  274. ResourceManager.</description>
  275. <name>yarn.resourcemanager.connect.max-wait.ms</name>
  276. <value>900000</value>
  277. </property>
  278. <property>
  279. <description>How often to try connecting to the
  280. ResourceManager.</description>
  281. <name>yarn.resourcemanager.connect.retry-interval.ms</name>
  282. <value>30000</value>
  283. </property>
  284. <property>
  285. <description>The default maximum number of application attempts, if unset by
  286. the user. Each application master can specify its individual maximum number of application
  287. attempts via the API, but the individual number cannot be more than the global upper bound in
  288. yarn.resourcemanager.am.global.max-attempts. The default number is set to 2, to
  289. allow at least one retry for AM.</description>
  290. <name>yarn.resourcemanager.am.max-attempts</name>
  291. <value>2</value>
  292. </property>
  293. <property>
  294. <description>How often to check that containers are still alive. </description>
  295. <name>yarn.resourcemanager.container.liveness-monitor.interval-ms</name>
  296. <value>600000</value>
  297. </property>
  298. <property>
  299. <description>The keytab for the resource manager.</description>
  300. <name>yarn.resourcemanager.keytab</name>
  301. <value>/etc/krb5.keytab</value>
  302. </property>
  303. <property>
  304. <description>Flag to enable override of the default kerberos authentication
  305. filter with the RM authentication filter to allow authentication using
  306. delegation tokens(fallback to kerberos if the tokens are missing). Only
  307. applicable when the http authentication type is kerberos.</description>
  308. <name>yarn.resourcemanager.webapp.delegation-token-auth-filter.enabled</name>
  309. <value>true</value>
  310. </property>
  311. <property>
  312. <description>Flag to enable cross-origin (CORS) support in the RM. This flag
  313. requires the CORS filter initializer to be added to the filter initializers
  314. list in core-site.xml.</description>
  315. <name>yarn.resourcemanager.webapp.cross-origin.enabled</name>
  316. <value>false</value>
  317. </property>
  318. <property>
  319. <description>How long to wait until a node manager is considered dead.</description>
  320. <name>yarn.nm.liveness-monitor.expiry-interval-ms</name>
  321. <value>600000</value>
  322. </property>
  323. <property>
  324. <description>Path to file with nodes to include.</description>
  325. <name>yarn.resourcemanager.nodes.include-path</name>
  326. <value></value>
  327. </property>
  328. <property>
  329. <description>Path to file with nodes to exclude.</description>
  330. <name>yarn.resourcemanager.nodes.exclude-path</name>
  331. <value></value>
  332. </property>
  333. <property>
  334. <description>The expiry interval for node IP caching. -1 disables the caching</description>
  335. <name>yarn.resourcemanager.node-ip-cache.expiry-interval-secs</name>
  336. <value>-1</value>
  337. </property>
  338. <property>
  339. <description>Number of threads to handle resource tracker calls.</description>
  340. <name>yarn.resourcemanager.resource-tracker.client.thread-count</name>
  341. <value>50</value>
  342. </property>
  343. <property>
  344. <description>The class to use as the resource scheduler.</description>
  345. <name>yarn.resourcemanager.scheduler.class</name>
  346. <value>org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.CapacityScheduler</value>
  347. </property>
  348. <property>
  349. <description>The minimum allocation for every container request at the RM
  350. in MBs. Memory requests lower than this will be set to the value of this
  351. property. Additionally, a node manager that is configured to have less memory
  352. than this value will be shut down by the resource manager.</description>
  353. <name>yarn.scheduler.minimum-allocation-mb</name>
  354. <value>1024</value>
  355. </property>
  356. <property>
  357. <description>The maximum allocation for every container request at the RM
  358. in MBs. Memory requests higher than this will throw an
  359. InvalidResourceRequestException.</description>
  360. <name>yarn.scheduler.maximum-allocation-mb</name>
  361. <value>8192</value>
  362. </property>
  363. <property>
  364. <description>The minimum allocation for every container request at the RM
  365. in terms of virtual CPU cores. Requests lower than this will be set to the
  366. value of this property. Additionally, a node manager that is configured to
  367. have fewer virtual cores than this value will be shut down by the resource
  368. manager.</description>
  369. <name>yarn.scheduler.minimum-allocation-vcores</name>
  370. <value>1</value>
  371. </property>
  372. <property>
  373. <description>The maximum allocation for every container request at the RM
  374. in terms of virtual CPU cores. Requests higher than this will throw an
  375. InvalidResourceRequestException.</description>
  376. <name>yarn.scheduler.maximum-allocation-vcores</name>
  377. <value>4</value>
  378. </property>
  379. <property>
  380. <description>
  381. Used by node labels. If set to true, the port should be included in the
  382. node name. Only usable if your scheduler supports node labels.
  383. </description>
  384. <name>yarn.scheduler.include-port-in-node-name</name>
  385. <value>false</value>
  386. </property>
  387. <property>
  388. <description>Enable RM to recover state after starting. If true, then
  389. yarn.resourcemanager.store.class must be specified. </description>
  390. <name>yarn.resourcemanager.recovery.enabled</name>
  391. <value>false</value>
  392. </property>
  393. <property>
  394. <description>Should RM fail fast if it encounters any errors. By defalt, it
  395. points to ${yarn.fail-fast}. Errors include:
  396. 1) exceptions when state-store write/read operations fails.
  397. </description>
  398. <name>yarn.resourcemanager.fail-fast</name>
  399. <value>${yarn.fail-fast}</value>
  400. </property>
  401. <property>
  402. <description>Should YARN fail fast if it encounters any errors.
  403. This is a global config for all other components including RM,NM etc.
  404. If no value is set for component-specific config (e.g yarn.resourcemanager.fail-fast),
  405. this value will be the default.
  406. </description>
  407. <name>yarn.fail-fast</name>
  408. <value>false</value>
  409. </property>
  410. <property>
  411. <description>Enable RM work preserving recovery. This configuration is private
  412. to YARN for experimenting the feature.
  413. </description>
  414. <name>yarn.resourcemanager.work-preserving-recovery.enabled</name>
  415. <value>true</value>
  416. </property>
  417. <property>
  418. <description>Set the amount of time RM waits before allocating new
  419. containers on work-preserving-recovery. Such wait period gives RM a chance
  420. to settle down resyncing with NMs in the cluster on recovery, before assigning
  421. new containers to applications.
  422. </description>
  423. <name>yarn.resourcemanager.work-preserving-recovery.scheduling-wait-ms</name>
  424. <value>10000</value>
  425. </property>
  426. <property>
  427. <description>The class to use as the persistent store.
  428. If org.apache.hadoop.yarn.server.resourcemanager.recovery.ZKRMStateStore
  429. is used, the store is implicitly fenced; meaning a single ResourceManager
  430. is able to use the store at any point in time. More details on this
  431. implicit fencing, along with setting up appropriate ACLs is discussed
  432. under yarn.resourcemanager.zk-state-store.root-node.acl.
  433. </description>
  434. <name>yarn.resourcemanager.store.class</name>
  435. <value>org.apache.hadoop.yarn.server.resourcemanager.recovery.FileSystemRMStateStore</value>
  436. </property>
  437. <property>
  438. <description>When automatic failover is enabled, number of zookeeper
  439. operation retry times in ActiveStandbyElector</description>
  440. <name>yarn.resourcemanager.ha.failover-controller.active-standby-elector.zk.retries</name>
  441. <!--<value>3</value>-->
  442. </property>
  443. <property>
  444. <description>The maximum number of completed applications RM state
  445. store keeps, less than or equals to ${yarn.resourcemanager.max-completed-applications}.
  446. By default, it equals to ${yarn.resourcemanager.max-completed-applications}.
  447. This ensures that the applications kept in the state store are consistent with
  448. the applications remembered in RM memory.
  449. Any values larger than ${yarn.resourcemanager.max-completed-applications} will
  450. be reset to ${yarn.resourcemanager.max-completed-applications}.
  451. Note that this value impacts the RM recovery performance. Typically,
  452. a smaller value indicates better performance on RM recovery.
  453. </description>
  454. <name>yarn.resourcemanager.state-store.max-completed-applications</name>
  455. <value>${yarn.resourcemanager.max-completed-applications}</value>
  456. </property>
  457. <property>
  458. <description>Full path of the ZooKeeper znode where RM state will be
  459. stored. This must be supplied when using
  460. org.apache.hadoop.yarn.server.resourcemanager.recovery.ZKRMStateStore
  461. as the value for yarn.resourcemanager.store.class</description>
  462. <name>yarn.resourcemanager.zk-state-store.parent-path</name>
  463. <value>/rmstore</value>
  464. </property>
  465. <property>
  466. <description>
  467. ACLs to be used for the root znode when using ZKRMStateStore in an HA
  468. scenario for fencing.
  469. ZKRMStateStore supports implicit fencing to allow a single
  470. ResourceManager write-access to the store. For fencing, the
  471. ResourceManagers in the cluster share read-write-admin privileges on the
  472. root node, but the Active ResourceManager claims exclusive create-delete
  473. permissions.
  474. By default, when this property is not set, we use the ACLs from
  475. yarn.resourcemanager.zk-acl for shared admin access and
  476. rm-address:random-number for username-based exclusive create-delete
  477. access.
  478. This property allows users to set ACLs of their choice instead of using
  479. the default mechanism. For fencing to work, the ACLs should be
  480. carefully set differently on each ResourceManager such that all the
  481. ResourceManagers have shared admin access and the Active ResourceManager
  482. takes over (exclusively) the create-delete access.
  483. </description>
  484. <name>yarn.resourcemanager.zk-state-store.root-node.acl</name>
  485. </property>
  486. <property>
  487. <description>URI pointing to the location of the FileSystem path where
  488. RM state will be stored. This must be supplied when using
  489. org.apache.hadoop.yarn.server.resourcemanager.recovery.FileSystemRMStateStore
  490. as the value for yarn.resourcemanager.store.class</description>
  491. <name>yarn.resourcemanager.fs.state-store.uri</name>
  492. <value>${hadoop.tmp.dir}/yarn/system/rmstore</value>
  493. <!--value>hdfs://localhost:9000/rmstore</value-->
  494. </property>
  495. <property>
  496. <description>the number of retries to recover from IOException in
  497. FileSystemRMStateStore.
  498. </description>
  499. <name>yarn.resourcemanager.fs.state-store.num-retries</name>
  500. <value>0</value>
  501. </property>
  502. <property>
  503. <description>Retry interval in milliseconds in FileSystemRMStateStore.
  504. </description>
  505. <name>yarn.resourcemanager.fs.state-store.retry-interval-ms</name>
  506. <value>1000</value>
  507. </property>
  508. <property>
  509. <description>Local path where the RM state will be stored when using
  510. org.apache.hadoop.yarn.server.resourcemanager.recovery.LeveldbRMStateStore
  511. as the value for yarn.resourcemanager.store.class</description>
  512. <name>yarn.resourcemanager.leveldb-state-store.path</name>
  513. <value>${hadoop.tmp.dir}/yarn/system/rmstore</value>
  514. </property>
  515. <property>
  516. <description>The time in seconds between full compactions of the leveldb
  517. database. Setting the interval to zero disables the full compaction
  518. cycles.</description>
  519. <name>yarn.resourcemanager.leveldb-state-store.compaction-interval-secs</name>
  520. <value>3600</value>
  521. </property>
  522. <property>
  523. <description>Enable RM high-availability. When enabled,
  524. (1) The RM starts in the Standby mode by default, and transitions to
  525. the Active mode when prompted to.
  526. (2) The nodes in the RM ensemble are listed in
  527. yarn.resourcemanager.ha.rm-ids
  528. (3) The id of each RM either comes from yarn.resourcemanager.ha.id
  529. if yarn.resourcemanager.ha.id is explicitly specified or can be
  530. figured out by matching yarn.resourcemanager.address.{id} with local address
  531. (4) The actual physical addresses come from the configs of the pattern
  532. - {rpc-config}.{id}</description>
  533. <name>yarn.resourcemanager.ha.enabled</name>
  534. <value>false</value>
  535. </property>
  536. <property>
  537. <description>Enable automatic failover.
  538. By default, it is enabled only when HA is enabled</description>
  539. <name>yarn.resourcemanager.ha.automatic-failover.enabled</name>
  540. <value>true</value>
  541. </property>
  542. <property>
  543. <description>Enable embedded automatic failover.
  544. By default, it is enabled only when HA is enabled.
  545. The embedded elector relies on the RM state store to handle fencing,
  546. and is primarily intended to be used in conjunction with ZKRMStateStore.
  547. </description>
  548. <name>yarn.resourcemanager.ha.automatic-failover.embedded</name>
  549. <value>true</value>
  550. </property>
  551. <property>
  552. <description>The base znode path to use for storing leader information,
  553. when using ZooKeeper based leader election.</description>
  554. <name>yarn.resourcemanager.ha.automatic-failover.zk-base-path</name>
  555. <value>/yarn-leader-election</value>
  556. </property>
  557. <property>
  558. <description>Index at which last section of application id (with each section
  559. separated by _ in application id) will be split so that application znode
  560. stored in zookeeper RM state store will be stored as two different znodes
  561. (parent-child). Split is done from the end.
  562. For instance, with no split, appid znode will be of the form
  563. application_1352994193343_0001. If the value of this config is 1, the
  564. appid znode will be broken into two parts application_1352994193343_000
  565. and 1 respectively with former being the parent node.
  566. application_1352994193343_0002 will then be stored as 2 under the parent
  567. node application_1352994193343_000. This config can take values from 0 to 4.
  568. 0 means there will be no split. If configuration value is outside this
  569. range, it will be treated as config value of 0(i.e. no split). A value
  570. larger than 0 (up to 4) should be configured if you are storing a large number
  571. of apps in ZK based RM state store and state store operations are failing due to
  572. LenError in Zookeeper.</description>
  573. <name>yarn.resourcemanager.zk-appid-node.split-index</name>
  574. <value>0</value>
  575. </property>
  576. <property>
  577. <description>Index at which the RM Delegation Token ids will be split so
  578. that the delegation token znodes stored in the zookeeper RM state store
  579. will be stored as two different znodes (parent-child). The split is done
  580. from the end. For instance, with no split, a delegation token znode will
  581. be of the form RMDelegationToken_123456789. If the value of this config is
  582. 1, the delegation token znode will be broken into two parts:
  583. RMDelegationToken_12345678 and 9 respectively with former being the parent
  584. node. This config can take values from 0 to 4. 0 means there will be no
  585. split. If the value is outside this range, it will be treated as 0 (i.e.
  586. no split). A value larger than 0 (up to 4) should be configured if you are
  587. running a large number of applications, with long-lived delegation tokens
  588. and state store operations (e.g. failover) are failing due to LenError in
  589. Zookeeper.</description>
  590. <name>yarn.resourcemanager.zk-delegation-token-node.split-index</name>
  591. <value>0</value>
  592. </property>
  593. <property>
  594. <description>Specifies the maximum size of the data that can be stored
  595. in a znode. Value should be same or less than jute.maxbuffer configured
  596. in zookeeper. Default value configured is 1MB.</description>
  597. <name>yarn.resourcemanager.zk-max-znode-size.bytes</name>
  598. <value>1048576</value>
  599. </property>
  600. <property>
  601. <description>Name of the cluster. In a HA setting,
  602. this is used to ensure the RM participates in leader
  603. election for this cluster and ensures it does not affect
  604. other clusters</description>
  605. <name>yarn.resourcemanager.cluster-id</name>
  606. <!--value>yarn-cluster</value-->
  607. </property>
  608. <property>
  609. <description>The range of values above base epoch that the RM will use before
  610. wrapping around</description>
  611. <name>yarn.resourcemanager.epoch.range</name>
  612. <value>0</value>
  613. </property>
  614. <property>
  615. <description>The list of RM nodes in the cluster when HA is
  616. enabled. See description of yarn.resourcemanager.ha
  617. .enabled for full details on how this is used.</description>
  618. <name>yarn.resourcemanager.ha.rm-ids</name>
  619. <!--value>rm1,rm2</value-->
  620. </property>
  621. <property>
  622. <description>The id (string) of the current RM. When HA is enabled, this
  623. is an optional config. The id of current RM can be set by explicitly
  624. specifying yarn.resourcemanager.ha.id or figured out by matching
  625. yarn.resourcemanager.address.{id} with local address
  626. See description of yarn.resourcemanager.ha.enabled
  627. for full details on how this is used.</description>
  628. <name>yarn.resourcemanager.ha.id</name>
  629. <!--value>rm1</value-->
  630. </property>
  631. <property>
  632. <description>When HA is enabled, the class to be used by Clients, AMs and
  633. NMs to failover to the Active RM. It should extend
  634. org.apache.hadoop.yarn.client.RMFailoverProxyProvider</description>
  635. <name>yarn.client.failover-proxy-provider</name>
  636. <value>org.apache.hadoop.yarn.client.ConfiguredRMFailoverProxyProvider</value>
  637. </property>
  638. <property>
  639. <description>When HA is not enabled, the class to be used by Clients, AMs and
  640. NMs to retry connecting to the Active RM. It should extend
  641. org.apache.hadoop.yarn.client.RMFailoverProxyProvider</description>
  642. <name>yarn.client.failover-no-ha-proxy-provider</name>
  643. <value>org.apache.hadoop.yarn.client.DefaultNoHARMFailoverProxyProvider</value>
  644. </property>
  645. <property>
  646. <description>When HA is enabled, the max number of times
  647. FailoverProxyProvider should attempt failover. When set,
  648. this overrides the yarn.resourcemanager.connect.max-wait.ms. When
  649. not set, this is inferred from
  650. yarn.resourcemanager.connect.max-wait.ms.</description>
  651. <name>yarn.client.failover-max-attempts</name>
  652. <!--value>15</value-->
  653. </property>
  654. <property>
  655. <description>When HA is enabled, the sleep base (in milliseconds) to be
  656. used for calculating the exponential delay between failovers. When set,
  657. this overrides the yarn.resourcemanager.connect.* settings. When
  658. not set, yarn.resourcemanager.connect.retry-interval.ms is used instead.
  659. </description>
  660. <name>yarn.client.failover-sleep-base-ms</name>
  661. <!--value>500</value-->
  662. </property>
  663. <property>
  664. <description>When HA is enabled, the maximum sleep time (in milliseconds)
  665. between failovers. When set, this overrides the
  666. yarn.resourcemanager.connect.* settings. When not set,
  667. yarn.resourcemanager.connect.retry-interval.ms is used instead.</description>
  668. <name>yarn.client.failover-sleep-max-ms</name>
  669. <!--value>15000</value-->
  670. </property>
  671. <property>
  672. <description>When HA is enabled, the number of retries per
  673. attempt to connect to a ResourceManager. In other words,
  674. it is the ipc.client.connect.max.retries to be used during
  675. failover attempts</description>
  676. <name>yarn.client.failover-retries</name>
  677. <value>0</value>
  678. </property>
  679. <property>
  680. <description>When HA is enabled, the number of retries per
  681. attempt to connect to a ResourceManager on socket timeouts. In other
  682. words, it is the ipc.client.connect.max.retries.on.timeouts to be used
  683. during failover attempts</description>
  684. <name>yarn.client.failover-retries-on-socket-timeouts</name>
  685. <value>0</value>
  686. </property>
  687. <property>
  688. <description>The maximum number of completed applications RM keeps. </description>
  689. <name>yarn.resourcemanager.max-completed-applications</name>
  690. <value>1000</value>
  691. </property>
  692. <property>
  693. <description>Interval at which the delayed token removal thread runs</description>
  694. <name>yarn.resourcemanager.delayed.delegation-token.removal-interval-ms</name>
  695. <value>30000</value>
  696. </property>
  697. <property>
  698. <description>Maximum size in bytes for configurations that can be provided
  699. by application to RM for delegation token renewal.
  700. By experiment, its roughly 128 bytes per key-value pair.
  701. The default value 12800 allows roughly 100 configs, may be less.
  702. </description>
  703. <name>yarn.resourcemanager.delegation-token.max-conf-size-bytes</name>
  704. <value>12800</value>
  705. </property>
  706. <property>
  707. <description>If true, ResourceManager will always try to cancel delegation
  708. tokens after the application completes, even if the client sets
  709. shouldCancelAtEnd false. References to delegation tokens are tracked,
  710. so they will not be canceled until all sub-tasks are done using them.
  711. </description>
  712. <name>yarn.resourcemanager.delegation-token.always-cancel</name>
  713. <value>false</value>
  714. </property>
  715. <property>
  716. <description>If true, ResourceManager will have proxy-user privileges.
  717. Use case: In a secure cluster, YARN requires the user hdfs delegation-tokens to
  718. do localization and log-aggregation on behalf of the user. If this is set to true,
  719. ResourceManager is able to request new hdfs delegation tokens on behalf of
  720. the user. This is needed by long-running-service, because the hdfs tokens
  721. will eventually expire and YARN requires new valid tokens to do localization
  722. and log-aggregation. Note that to enable this use case, the corresponding
  723. HDFS NameNode has to configure ResourceManager as the proxy-user so that
  724. ResourceManager can itself ask for new tokens on behalf of the user when
  725. tokens are past their max-life-time.</description>
  726. <name>yarn.resourcemanager.proxy-user-privileges.enabled</name>
  727. <value>false</value>
  728. </property>
  729. <property>
  730. <description>Interval for the roll over for the master key used to generate
  731. application tokens
  732. </description>
  733. <name>yarn.resourcemanager.am-rm-tokens.master-key-rolling-interval-secs</name>
  734. <value>86400</value>
  735. </property>
  736. <property>
  737. <description>Interval for the roll over for the master key used to generate
  738. container tokens. It is expected to be much greater than
  739. yarn.nm.liveness-monitor.expiry-interval-ms and
  740. yarn.resourcemanager.rm.container-allocation.expiry-interval-ms. Otherwise the
  741. behavior is undefined.
  742. </description>
  743. <name>yarn.resourcemanager.container-tokens.master-key-rolling-interval-secs</name>
  744. <value>86400</value>
  745. </property>
  746. <property>
  747. <description>The heart-beat interval in milliseconds for every NodeManager in the cluster.</description>
  748. <name>yarn.resourcemanager.nodemanagers.heartbeat-interval-ms</name>
  749. <value>1000</value>
  750. </property>
  751. <property>
  752. <description>Enables heart-beat interval scaling. The NodeManager
  753. heart-beat interval will scale based on the difference between the CPU
  754. utilization on the node and the cluster-wide average CPU utilization.
  755. </description>
  756. <name>
  757. yarn.resourcemanager.nodemanagers.heartbeat-interval-scaling-enable
  758. </name>
  759. <value>false</value>
  760. </property>
  761. <property>
  762. <description>If heart-beat interval scaling is enabled, this is the
  763. minimum heart-beat interval in milliseconds
  764. </description>
  765. <name>yarn.resourcemanager.nodemanagers.heartbeat-interval-min-ms</name>
  766. <value>1000</value>
  767. </property>
  768. <property>
  769. <description>If heart-beat interval scaling is enabled, this is the
  770. maximum heart-beat interval in milliseconds</description>
  771. <name>yarn.resourcemanager.nodemanagers.heartbeat-interval-max-ms</name>
  772. <value>1000</value>
  773. </property>
  774. <property>
  775. <description>If heart-beat interval scaling is enabled, this controls
  776. the degree of adjustment when speeding up heartbeat intervals.
  777. At 1.0, 20% less than average CPU utilization will result in a 20%
  778. decrease in heartbeat interval.
  779. </description>
  780. <name>
  781. yarn.resourcemanager.nodemanagers.heartbeat-interval-speedup-factor
  782. </name>
  783. <value>1.0</value>
  784. </property>
  785. <property>
  786. <description>If heart-beat interval scaling is enabled, this controls
  787. the degree of adjustment when slowing down heartbeat intervals.
  788. At 1.0, 20% greater than average CPU utilization will result in a 20%
  789. increase in heartbeat interval.
  790. </description>
  791. <name>
  792. yarn.resourcemanager.nodemanagers.heartbeat-interval-slowdown-factor
  793. </name>
  794. <value>1.0</value>
  795. </property>
  796. <property>
  797. <description>The Number of consecutive missed heartbeats after which node will be
  798. skipped from scheduling</description>
  799. <name>yarn.scheduler.skip.node.multiplier</name>
  800. <value>2</value>
  801. </property>
  802. <property>
  803. <description>The minimum allowed version of a connecting nodemanager. The valid values are
  804. NONE (no version checking), EqualToRM (the nodemanager's version is equal to
  805. or greater than the RM version), or a Version String.</description>
  806. <name>yarn.resourcemanager.nodemanager.minimum.version</name>
  807. <value>NONE</value>
  808. </property>
  809. <property>
  810. <description>Enable a set of periodic monitors (specified in
  811. yarn.resourcemanager.scheduler.monitor.policies) that affect the
  812. scheduler.</description>
  813. <name>yarn.resourcemanager.scheduler.monitor.enable</name>
  814. <value>false</value>
  815. </property>
  816. <property>
  817. <description>The list of SchedulingEditPolicy classes that interact with
  818. the scheduler. A particular module may be incompatible with the
  819. scheduler, other policies, or a configuration of either.</description>
  820. <name>yarn.resourcemanager.scheduler.monitor.policies</name>
  821. <value>org.apache.hadoop.yarn.server.resourcemanager.monitor.capacity.ProportionalCapacityPreemptionPolicy</value>
  822. </property>
  823. <property>
  824. <description>The class to use as the configuration provider.
  825. If org.apache.hadoop.yarn.LocalConfigurationProvider is used,
  826. the local configuration will be loaded.
  827. If org.apache.hadoop.yarn.FileSystemBasedConfigurationProvider is used,
  828. the configuration which will be loaded should be uploaded to remote File system first.
  829. </description>
  830. <name>yarn.resourcemanager.configuration.provider-class</name>
  831. <value>org.apache.hadoop.yarn.LocalConfigurationProvider</value>
  832. <!-- <value>org.apache.hadoop.yarn.FileSystemBasedConfigurationProvider</value> -->
  833. </property>
  834. <property>
  835. <description>
  836. The value specifies the file system (e.g. HDFS) path where ResourceManager
  837. loads configuration if yarn.resourcemanager.configuration.provider-class
  838. is set to org.apache.hadoop.yarn.FileSystemBasedConfigurationProvider.
  839. </description>
  840. <name>yarn.resourcemanager.configuration.file-system-based-store</name>
  841. <value>/yarn/conf</value>
  842. </property>
  843. <property>
  844. <description>The setting that controls whether yarn system metrics is
  845. published to the Timeline server (version one) or not, by RM.
  846. This configuration is now deprecated in favor of
  847. yarn.system-metrics-publisher.enabled.</description>
  848. <name>yarn.resourcemanager.system-metrics-publisher.enabled</name>
  849. <value>false</value>
  850. </property>
  851. <property>
  852. <description>The setting that controls whether yarn system metrics is
  853. published on the Timeline service or not by RM And NM.</description>
  854. <name>yarn.system-metrics-publisher.enabled</name>
  855. <value>false</value>
  856. </property>
  857. <property>
  858. <description>The setting that controls whether yarn container events are
  859. published to the timeline service or not by RM. This configuration setting
  860. is for ATS V2.</description>
  861. <name>yarn.rm.system-metrics-publisher.emit-container-events</name>
  862. <value>false</value>
  863. </property>
  864. <property>
  865. <description>Number of worker threads that send the yarn system metrics
  866. data.</description>
  867. <name>yarn.resourcemanager.system-metrics-publisher.dispatcher.pool-size</name>
  868. <value>10</value>
  869. </property>
  870. <property>
  871. <description>Number of diagnostics/failure messages can be saved in RM for
  872. log aggregation. It also defines the number of diagnostics/failure
  873. messages can be shown in log aggregation web ui.</description>
  874. <name>yarn.resourcemanager.max-log-aggregation-diagnostics-in-memory</name>
  875. <value>10</value>
  876. </property>
  877. <!-- Node Manager Configs -->
  878. <property>
  879. <description>
  880. RM DelegationTokenRenewer thread count
  881. </description>
  882. <name>yarn.resourcemanager.delegation-token-renewer.thread-count</name>
  883. <value>50</value>
  884. </property>
  885. <property>
  886. <description>
  887. RM secret key update interval in ms
  888. </description>
  889. <name>yarn.resourcemanager.delegation.key.update-interval</name>
  890. <value>86400000</value>
  891. </property>
  892. <property>
  893. <description>
  894. RM delegation token maximum lifetime in ms
  895. </description>
  896. <name>yarn.resourcemanager.delegation.token.max-lifetime</name>
  897. <value>604800000</value>
  898. </property>
  899. <property>
  900. <description>
  901. RM delegation token update interval in ms
  902. </description>
  903. <name>yarn.resourcemanager.delegation.token.renew-interval</name>
  904. <value>86400000</value>
  905. </property>
  906. <property>
  907. <description>
  908. RM DelegationTokenRenewer thread timeout
  909. </description>
  910. <name>yarn.resourcemanager.delegation-token-renewer.thread-timeout</name>
  911. <value>60s</value>
  912. </property>
  913. <property>
  914. <description>
  915. Default maximum number of retries for each RM DelegationTokenRenewer thread
  916. </description>
  917. <name>yarn.resourcemanager.delegation-token-renewer.thread-retry-max-attempts</name>
  918. <value>10</value>
  919. </property>
  920. <property>
  921. <description>
  922. Time interval between each RM DelegationTokenRenewer thread retry attempt
  923. </description>
  924. <name>yarn.resourcemanager.delegation-token-renewer.thread-retry-interval</name>
  925. <value>60s</value>
  926. </property>
  927. <property>
  928. <description>
  929. Thread pool size for RMApplicationHistoryWriter.
  930. </description>
  931. <name>yarn.resourcemanager.history-writer.multi-threaded-dispatcher.pool-size</name>
  932. <value>10</value>
  933. </property>
  934. <property>
  935. <description>
  936. Comma-separated list of values (in minutes) for schedule queue related
  937. metrics.
  938. </description>
  939. <name>yarn.resourcemanager.metrics.runtime.buckets</name>
  940. <value>60,300,1440</value>
  941. </property>
  942. <property>
  943. <description>
  944. Interval for the roll over for the master key used to generate
  945. NodeManager tokens. It is expected to be set to a value much larger
  946. than yarn.nm.liveness-monitor.expiry-interval-ms.
  947. </description>
  948. <name>yarn.resourcemanager.nm-tokens.master-key-rolling-interval-secs</name>
  949. <value>86400</value>
  950. </property>
  951. <property>
  952. <description>
  953. Flag to enable the ResourceManager reservation system.
  954. </description>
  955. <name>yarn.resourcemanager.reservation-system.enable</name>
  956. <value>false</value>
  957. </property>
  958. <property>
  959. <description>
  960. The Java class to use as the ResourceManager reservation system.
  961. By default, is set to
  962. org.apache.hadoop.yarn.server.resourcemanager.reservation.CapacityReservationSystem
  963. when using CapacityScheduler and is set to
  964. org.apache.hadoop.yarn.server.resourcemanager.reservation.FairReservationSystem
  965. when using FairScheduler.
  966. </description>
  967. <name>yarn.resourcemanager.reservation-system.class</name>
  968. <value></value>
  969. </property>
  970. <property>
  971. <description>
  972. The plan follower policy class name to use for the ResourceManager
  973. reservation system.
  974. By default, is set to
  975. org.apache.hadoop.yarn.server.resourcemanager.reservation.CapacitySchedulerPlanFollower
  976. is used when using CapacityScheduler, and is set to
  977. org.apache.hadoop.yarn.server.resourcemanager.reservation.FairSchedulerPlanFollower
  978. when using FairScheduler.
  979. </description>
  980. <name>yarn.resourcemanager.reservation-system.plan.follower</name>
  981. <value></value>
  982. </property>
  983. <property>
  984. <description>
  985. Step size of the reservation system in ms
  986. </description>
  987. <name>yarn.resourcemanager.reservation-system.planfollower.time-step</name>
  988. <value>1000</value>
  989. </property>
  990. <property>
  991. <description>
  992. The expiry interval for a container
  993. </description>
  994. <name>yarn.resourcemanager.rm.container-allocation.expiry-interval-ms</name>
  995. <value>600000</value>
  996. </property>
  997. <property>
  998. <description>
  999. Flag to enable/disable resource profiles
  1000. </description>
  1001. <name>yarn.resourcemanager.resource-profiles.enabled</name>
  1002. <value>false</value>
  1003. </property>
  1004. <property>
  1005. <description>
  1006. If resource profiles is enabled, source file for the profiles
  1007. </description>
  1008. <name>yarn.resourcemanager.resource-profiles.source-file</name>
  1009. <value>resource-profiles.json</value>
  1010. </property>
  1011. <!-- Node Manager Configuration -->
  1012. <property>
  1013. <description>The hostname of the NM.</description>
  1014. <name>yarn.nodemanager.hostname</name>
  1015. <value>0.0.0.0</value>
  1016. </property>
  1017. <property>
  1018. <description>The address of the container manager in the NM.</description>
  1019. <name>yarn.nodemanager.address</name>
  1020. <value>${yarn.nodemanager.hostname}:0</value>
  1021. </property>
  1022. <property>
  1023. <description>
  1024. The actual address the server will bind to. If this optional address is
  1025. set, the RPC and webapp servers will bind to this address and the port specified in
  1026. yarn.nodemanager.address and yarn.nodemanager.webapp.address, respectively. This is
  1027. most useful for making NM listen to all interfaces by setting to 0.0.0.0.
  1028. </description>
  1029. <name>yarn.nodemanager.bind-host</name>
  1030. <value></value>
  1031. </property>
  1032. <property>
  1033. <description>
  1034. Environment variables that should be forwarded from the NodeManager's
  1035. environment to the container's, specified as a comma separated list of
  1036. VARNAME=value pairs.
  1037. To define environment variables individually, you can specify
  1038. multiple properties of the form yarn.nodemanager.admin-env.VARNAME,
  1039. where VARNAME is the name of the environment variable. This is the only
  1040. way to add a variable when its value contains commas.
  1041. </description>
  1042. <name>yarn.nodemanager.admin-env</name>
  1043. <value>MALLOC_ARENA_MAX=$MALLOC_ARENA_MAX</value>
  1044. </property>
  1045. <property>
  1046. <description>
  1047. * PATH components that will be prepended to the user's path.
  1048. * If this is defined and the user does not define PATH, NM will also
  1049. * append ":$PATH" to prevent this from eclipsing the PATH defined in
  1050. * the container. This feature is only available for Linux.
  1051. </description>
  1052. <name>yarn.nodemanager.force.path</name>
  1053. <value></value>
  1054. </property>
  1055. <property>
  1056. <description>Environment variables that containers may override rather than use NodeManager's default.</description>
  1057. <name>yarn.nodemanager.env-whitelist</name>
  1058. <value>JAVA_HOME,HADOOP_COMMON_HOME,HADOOP_HDFS_HOME,HADOOP_CONF_DIR,CLASSPATH_PREPEND_DISTCACHE,HADOOP_YARN_HOME,HADOOP_HOME,PATH,LANG,TZ</value>
  1059. </property>
  1060. <property>
  1061. <description>who will execute(launch) the containers.</description>
  1062. <name>yarn.nodemanager.container-executor.class</name>
  1063. <value>org.apache.hadoop.yarn.server.nodemanager.DefaultContainerExecutor</value>
  1064. </property>
  1065. <property>
  1066. <description>Comma separated List of container state transition listeners.</description>
  1067. <name>yarn.nodemanager.container-state-transition-listener.classes</name>
  1068. <value></value>
  1069. </property>
  1070. <property>
  1071. <description>Number of threads container manager uses.</description>
  1072. <name>yarn.nodemanager.container-manager.thread-count</name>
  1073. <value>20</value>
  1074. </property>
  1075. <property>
  1076. <description>Number of threads collector service uses.</description>
  1077. <name>yarn.nodemanager.collector-service.thread-count</name>
  1078. <value>5</value>
  1079. </property>
  1080. <property>
  1081. <description>Number of threads used in cleanup.</description>
  1082. <name>yarn.nodemanager.delete.thread-count</name>
  1083. <value>4</value>
  1084. </property>
  1085. <property>
  1086. <description>
  1087. How long the container executor should wait for the exit code file to
  1088. appear after a reacquired container has exited.
  1089. </description>
  1090. <name>yarn.nodemanager.container-executor.exit-code-file.timeout-ms</name>
  1091. <value>2000</value>
  1092. </property>
  1093. <property>
  1094. <description>Max number of OPPORTUNISTIC containers to queue at the
  1095. nodemanager.</description>
  1096. <name>yarn.nodemanager.opportunistic-containers-max-queue-length</name>
  1097. <value>0</value>
  1098. </property>
  1099. <property>
  1100. <description>
  1101. Number of seconds after an application finishes before the nodemanager's
  1102. DeletionService will delete the application's localized file directory
  1103. and log directory.
  1104. To diagnose YARN application problems, set this property's value large
  1105. enough (for example, to 600 = 10 minutes) to permit examination of these
  1106. directories. After changing the property's value, you must restart the
  1107. nodemanager in order for it to have an effect.
  1108. The roots of YARN applications' work directories is configurable with
  1109. the yarn.nodemanager.local-dirs property (see below), and the roots
  1110. of the YARN applications' log directories is configurable with the
  1111. yarn.nodemanager.log-dirs property (see also below).
  1112. </description>
  1113. <name>yarn.nodemanager.delete.debug-delay-sec</name>
  1114. <value>0</value>
  1115. </property>
  1116. <property>
  1117. <description>Keytab for NM.</description>
  1118. <name>yarn.nodemanager.keytab</name>
  1119. <value>/etc/krb5.keytab</value>
  1120. </property>
  1121. <property>
  1122. <description>List of directories to store localized files in. An
  1123. application's localized file directory will be found in:
  1124. ${yarn.nodemanager.local-dirs}/usercache/${user}/appcache/application_${appid}.
  1125. Individual containers' work directories, called container_${contid}, will
  1126. be subdirectories of this.
  1127. </description>
  1128. <name>yarn.nodemanager.local-dirs</name>
  1129. <value>${hadoop.tmp.dir}/nm-local-dir</value>
  1130. </property>
  1131. <property>
  1132. <description>It limits the maximum number of files which will be localized
  1133. in a single local directory. If the limit is reached then sub-directories
  1134. will be created and new files will be localized in them. If it is set to
  1135. a value less than or equal to 36 [which are sub-directories (0-9 and then
  1136. a-z)] then NodeManager will fail to start. For example; [for public
  1137. cache] if this is configured with a value of 40 ( 4 files +
  1138. 36 sub-directories) and the local-dir is "/tmp/local-dir1" then it will
  1139. allow 4 files to be created directly inside "/tmp/local-dir1/filecache".
  1140. For files that are localized further it will create a sub-directory "0"
  1141. inside "/tmp/local-dir1/filecache" and will localize files inside it
  1142. until it becomes full. If a file is removed from a sub-directory that
  1143. is marked full, then that sub-directory will be used back again to
  1144. localize files.
  1145. </description>
  1146. <name>yarn.nodemanager.local-cache.max-files-per-directory</name>
  1147. <value>8192</value>
  1148. </property>
  1149. <property>
  1150. <description>Address where the localizer IPC is.</description>
  1151. <name>yarn.nodemanager.localizer.address</name>
  1152. <value>${yarn.nodemanager.hostname}:8040</value>
  1153. </property>
  1154. <property>
  1155. <description>Address where the collector service IPC is.</description>
  1156. <name>yarn.nodemanager.collector-service.address</name>
  1157. <value>${yarn.nodemanager.hostname}:8048</value>
  1158. </property>
  1159. <property>
  1160. <description>The setting that controls whether yarn container events are
  1161. published to the timeline service or not by NM. This configuration setting
  1162. is for ATS V2.</description>
  1163. <name>yarn.nodemanager.emit-container-events</name>
  1164. <value>true</value>
  1165. </property>
  1166. <property>
  1167. <description>Interval in between cache cleanups.</description>
  1168. <name>yarn.nodemanager.localizer.cache.cleanup.interval-ms</name>
  1169. <value>600000</value>
  1170. </property>
  1171. <property>
  1172. <description>Target size of localizer cache in MB, per nodemanager. It is
  1173. a target retention size that only includes resources with PUBLIC and
  1174. PRIVATE visibility and excludes resources with APPLICATION visibility
  1175. </description>
  1176. <name>yarn.nodemanager.localizer.cache.target-size-mb</name>
  1177. <value>10240</value>
  1178. </property>
  1179. <property>
  1180. <description>Number of threads to handle localization requests.</description>
  1181. <name>yarn.nodemanager.localizer.client.thread-count</name>
  1182. <value>5</value>
  1183. </property>
  1184. <property>
  1185. <description>Number of threads to use for localization fetching.</description>
  1186. <name>yarn.nodemanager.localizer.fetch.thread-count</name>
  1187. <value>4</value>
  1188. </property>
  1189. <property>
  1190. <description>
  1191. </description>
  1192. <name>yarn.nodemanager.container-localizer.java.opts</name>
  1193. <value>-Xmx256m</value>
  1194. </property>
  1195. <property>
  1196. <description>
  1197. The log level for container localizer while it is an independent process.
  1198. </description>
  1199. <name>yarn.nodemanager.container-localizer.log.level</name>
  1200. <value>INFO</value>
  1201. </property>
  1202. <property>
  1203. <description>
  1204. Where to store container logs. An application's localized log directory
  1205. will be found in ${yarn.nodemanager.log-dirs}/application_${appid}.
  1206. Individual containers' log directories will be below this, in directories
  1207. named container_{$contid}. Each container directory will contain the files
  1208. stderr, stdin, and syslog generated by that container.
  1209. </description>
  1210. <name>yarn.nodemanager.log-dirs</name>
  1211. <value>${yarn.log.dir}/userlogs</value>
  1212. </property>
  1213. <property>
  1214. <description>
  1215. The permissions settings used for the creation of container
  1216. directories when using DefaultContainerExecutor. This follows
  1217. standard user/group/all permissions format.
  1218. </description>
  1219. <name>yarn.nodemanager.default-container-executor.log-dirs.permissions</name>
  1220. <value>710</value>
  1221. </property>
  1222. <property>
  1223. <description>Whether to enable log aggregation. Log aggregation collects
  1224. each container's logs and moves these logs onto a file-system, for e.g.
  1225. HDFS, after the application completes. Users can configure the
  1226. "yarn.nodemanager.remote-app-log-dir" and
  1227. "yarn.nodemanager.remote-app-log-dir-suffix" properties to determine
  1228. where these logs are moved to. Users can access the logs via the
  1229. Application Timeline Server.
  1230. </description>
  1231. <name>yarn.log-aggregation-enable</name>
  1232. <value>false</value>
  1233. </property>
  1234. <property>
  1235. <description>
  1236. Whether to enable application placement based on user ID passed via
  1237. application tags. When it is enabled, userid=&lt;userId&gt;
  1238. pattern will be checked and if found, the application will be placed
  1239. onto the found user's queue,
  1240. if the original user has enough rights on the passed user's queue.
  1241. </description>
  1242. <name>yarn.resourcemanager.application-tag-based-placement.enable</name>
  1243. <value>false</value>
  1244. </property>
  1245. <property>
  1246. <description>
  1247. Comma separated list of users who can use the application tag based
  1248. placement, if it is enabled.
  1249. </description>
  1250. <name>yarn.resourcemanager.application-tag-based-placement.username.whitelist</name>
  1251. <value></value>
  1252. </property>
  1253. <property>
  1254. <description>How long to keep aggregation logs before deleting them. -1 disables.
  1255. Be careful set this too small and you will spam the name node.</description>
  1256. <name>yarn.log-aggregation.retain-seconds</name>
  1257. <value>-1</value>
  1258. </property>
  1259. <property>
  1260. <description>How long to wait between aggregated log retention checks.
  1261. If set to 0 or a negative value then the value is computed as one-tenth
  1262. of the aggregated log retention time. Be careful set this too small and
  1263. you will spam the name node.</description>
  1264. <name>yarn.log-aggregation.retain-check-interval-seconds</name>
  1265. <value>-1</value>
  1266. </property>
  1267. <property>
  1268. <description>The log files created under NM Local Directories
  1269. will be logged if it exceeds the configured bytes. This
  1270. only takes effect if log4j level is at least Debug.</description>
  1271. <name>yarn.log-aggregation.debug.filesize</name>
  1272. <value>104857600</value>
  1273. </property>
  1274. <property>
  1275. <description>Specify which log file controllers we will support. The first
  1276. file controller we add will be used to write the aggregated logs.
  1277. This comma separated configuration will work with the configuration:
  1278. yarn.log-aggregation.file-controller.%s.class which defines the supported
  1279. file controller's class. By default, the TFile controller would be used.
  1280. The user could override this configuration by adding more file controllers.
  1281. To support back-ward compatibility, make sure that we always
  1282. add TFile file controller.</description>
  1283. <name>yarn.log-aggregation.file-formats</name>
  1284. <value>TFile</value>
  1285. </property>
  1286. <property>
  1287. <description>Class that supports TFile read and write operations.</description>
  1288. <name>yarn.log-aggregation.file-controller.TFile.class</name>
  1289. <value>org.apache.hadoop.yarn.logaggregation.filecontroller.tfile.LogAggregationTFileController</value>
  1290. </property>
  1291. <property>
  1292. <description>
  1293. How long for ResourceManager to wait for NodeManager to report its
  1294. log aggregation status. If waiting time of which the log aggregation
  1295. status is reported from NodeManager exceeds the configured value, RM
  1296. will report log aggregation status for this NodeManager as TIME_OUT.
  1297. This configuration will be used in NodeManager as well to decide
  1298. whether and when to delete the cached log aggregation status.
  1299. </description>
  1300. <name>yarn.log-aggregation-status.time-out.ms</name>
  1301. <value>600000</value>
  1302. </property>
  1303. <property>
  1304. <description>Time in seconds to retain user logs. Only applicable if
  1305. log aggregation is disabled
  1306. </description>
  1307. <name>yarn.nodemanager.log.retain-seconds</name>
  1308. <value>10800</value>
  1309. </property>
  1310. <property>
  1311. <description>Where to aggregate logs to.</description>
  1312. <name>yarn.nodemanager.remote-app-log-dir</name>
  1313. <value>/tmp/logs</value>
  1314. </property>
  1315. <property>
  1316. <description>The remote log dir will be created at
  1317. {yarn.nodemanager.remote-app-log-dir}/${user}/{thisParam}
  1318. </description>
  1319. <name>yarn.nodemanager.remote-app-log-dir-suffix</name>
  1320. <value>logs</value>
  1321. </property>
  1322. <property>
  1323. <description>If set to true, the older application log directory
  1324. will be considered while fetching application logs.
  1325. </description>
  1326. <name>yarn.nodemanager.remote-app-log-dir-include-older</name>
  1327. <value>true</value>
  1328. </property>
  1329. <property>
  1330. <description>If the NodeManager creates the remote-app-log-dir folder,
  1331. it will be created with this groupname.
  1332. </description>
  1333. <name>yarn.nodemanager.remote-app-log-dir.groupname</name>
  1334. <value></value>
  1335. </property>
  1336. <property>
  1337. <description>Generate additional logs about container launches.
  1338. Currently, this creates a copy of the launch script and lists the
  1339. directory contents of the container work dir. When listing directory
  1340. contents, we follow symlinks to a max-depth of 5(including symlinks
  1341. which point to outside the container work dir) which may lead to a
  1342. slowness in launching containers.
  1343. </description>
  1344. <name>yarn.nodemanager.log-container-debug-info.enabled</name>
  1345. <value>true</value>
  1346. </property>
  1347. <property>
  1348. <description>Amount of physical memory, in MB, that can be allocated
  1349. for containers. If set to -1 and
  1350. yarn.nodemanager.resource.detect-hardware-capabilities is true, it is
  1351. automatically calculated(in case of Windows and Linux).
  1352. In other cases, the default is 8192MB.
  1353. </description>
  1354. <name>yarn.nodemanager.resource.memory-mb</name>
  1355. <value>-1</value>
  1356. </property>
  1357. <property>
  1358. <description>Amount of physical memory, in MB, that is reserved
  1359. for non-YARN processes. This configuration is only used if
  1360. yarn.nodemanager.resource.detect-hardware-capabilities is set
  1361. to true and yarn.nodemanager.resource.memory-mb is -1. If set
  1362. to -1, this amount is calculated as
  1363. 20% of (system memory - 2*HADOOP_HEAPSIZE)
  1364. </description>
  1365. <name>yarn.nodemanager.resource.system-reserved-memory-mb</name>
  1366. <value>-1</value>
  1367. </property>
  1368. <property>
  1369. <description>Whether YARN CGroups memory tracking is enabled.</description>
  1370. <name>yarn.nodemanager.resource.memory.enabled</name>
  1371. <value>false</value>
  1372. </property>
  1373. <property>
  1374. <description>Whether YARN CGroups strict memory enforcement is enabled.
  1375. </description>
  1376. <name>yarn.nodemanager.resource.memory.enforced</name>
  1377. <value>true</value>
  1378. </property>
  1379. <property>
  1380. <description>If memory limit is enforced, this the percentage of soft limit
  1381. compared to the memory assigned to the container. If there is memory
  1382. pressure container memory usage will be pushed back to its soft limit
  1383. by swapping out memory.
  1384. </description>
  1385. <name>yarn.nodemanager.resource.memory.cgroups.soft-limit-percentage</name>
  1386. <value>90.0</value>
  1387. </property>
  1388. <property>
  1389. <description>Container swappiness is the likelihood a page will be swapped
  1390. out compared to be kept in memory. Value is between 0-100.
  1391. </description>
  1392. <name>yarn.nodemanager.resource.memory.cgroups.swappiness</name>
  1393. <value>0</value>
  1394. </property>
  1395. <property>
  1396. <description>Whether physical memory limits will be enforced for
  1397. containers.</description>
  1398. <name>yarn.nodemanager.pmem-check-enabled</name>
  1399. <value>true</value>
  1400. </property>
  1401. <property>
  1402. <description>Whether virtual memory limits will be enforced for
  1403. containers.</description>
  1404. <name>yarn.nodemanager.vmem-check-enabled</name>
  1405. <value>true</value>
  1406. </property>
  1407. <property>
  1408. <description>Ratio between virtual memory to physical memory when
  1409. setting memory limits for containers. Container allocations are
  1410. expressed in terms of physical memory, and virtual memory usage
  1411. is allowed to exceed this allocation by this ratio.
  1412. </description>
  1413. <name>yarn.nodemanager.vmem-pmem-ratio</name>
  1414. <value>2.1</value>
  1415. </property>
  1416. <property>
  1417. <description>Number of vcores that can be allocated
  1418. for containers. This is used by the RM scheduler when allocating
  1419. resources for containers. This is not used to limit the number of
  1420. CPUs used by YARN containers. If it is set to -1 and
  1421. yarn.nodemanager.resource.detect-hardware-capabilities is true, it is
  1422. automatically determined from the hardware in case of Windows and Linux.
  1423. In other cases, number of vcores is 8 by default.</description>
  1424. <name>yarn.nodemanager.resource.cpu-vcores</name>
  1425. <value>-1</value>
  1426. </property>
  1427. <property>
  1428. <description>Flag to determine if logical processors(such as
  1429. hyperthreads) should be counted as cores. Only applicable on Linux
  1430. when yarn.nodemanager.resource.cpu-vcores is set to -1 and
  1431. yarn.nodemanager.resource.detect-hardware-capabilities is true.
  1432. </description>
  1433. <name>yarn.nodemanager.resource.count-logical-processors-as-cores</name>
  1434. <value>false</value>
  1435. </property>
  1436. <property>
  1437. <description>Multiplier to determine how to convert phyiscal cores to
  1438. vcores. This value is used if yarn.nodemanager.resource.cpu-vcores
  1439. is set to -1(which implies auto-calculate vcores) and
  1440. yarn.nodemanager.resource.detect-hardware-capabilities is set to true. The
  1441. number of vcores will be calculated as
  1442. number of CPUs * multiplier.
  1443. </description>
  1444. <name>yarn.nodemanager.resource.pcores-vcores-multiplier</name>
  1445. <value>1.0</value>
  1446. </property>
  1447. <property>
  1448. <description>
  1449. Thread pool size for LogAggregationService in Node Manager.
  1450. </description>
  1451. <name>yarn.nodemanager.logaggregation.threadpool-size-max</name>
  1452. <value>100</value>
  1453. </property>
  1454. <property>
  1455. <description>Percentage of CPU that can be allocated
  1456. for containers. This setting allows users to limit the amount of
  1457. CPU that YARN containers use. Currently functional only
  1458. on Linux using cgroups. The default is to use 100% of CPU.
  1459. </description>
  1460. <name>yarn.nodemanager.resource.percentage-physical-cpu-limit</name>
  1461. <value>100</value>
  1462. </property>
  1463. <property>
  1464. <description>Enable auto-detection of node capabilities such as
  1465. memory and CPU.
  1466. </description>
  1467. <name>yarn.nodemanager.resource.detect-hardware-capabilities</name>
  1468. <value>false</value>
  1469. </property>
  1470. <property>
  1471. <description>NM Webapp address.</description>
  1472. <name>yarn.nodemanager.webapp.address</name>
  1473. <value>${yarn.nodemanager.hostname}:8042</value>
  1474. </property>
  1475. <property>
  1476. <description>
  1477. The https adddress of the NM web application.
  1478. </description>
  1479. <name>yarn.nodemanager.webapp.https.address</name>
  1480. <value>0.0.0.0:8044</value>
  1481. </property>
  1482. <property>
  1483. <description>
  1484. The Kerberos keytab file to be used for spnego filter for the NM web
  1485. interface.
  1486. </description>
  1487. <name>yarn.nodemanager.webapp.spnego-keytab-file</name>
  1488. <value></value>
  1489. </property>
  1490. <property>
  1491. <description>
  1492. The Kerberos principal to be used for spnego filter for the NM web
  1493. interface.
  1494. </description>
  1495. <name>yarn.nodemanager.webapp.spnego-principal</name>
  1496. <value></value>
  1497. </property>
  1498. <property>
  1499. <description>How often to monitor the node and the containers.
  1500. If 0 or negative, monitoring is disabled.</description>
  1501. <name>yarn.nodemanager.resource-monitor.interval-ms</name>
  1502. <value>3000</value>
  1503. </property>
  1504. <property>
  1505. <description>Class that calculates current resource utilization.</description>
  1506. <name>yarn.nodemanager.resource-calculator.class</name>
  1507. </property>
  1508. <property>
  1509. <description>Enable container monitor</description>
  1510. <name>yarn.nodemanager.container-monitor.enabled</name>
  1511. <value>true</value>
  1512. </property>
  1513. <property>
  1514. <description>How often to monitor containers. If not set, the value for
  1515. yarn.nodemanager.resource-monitor.interval-ms will be used.
  1516. If 0 or negative, container monitoring is disabled.</description>
  1517. <name>yarn.nodemanager.container-monitor.interval-ms</name>
  1518. </property>
  1519. <property>
  1520. <description>Flag to enable the container log monitor which enforces
  1521. container log directory size limits.</description>
  1522. <name>yarn.nodemanager.container-log-monitor.enable</name>
  1523. <value>false</value>
  1524. </property>
  1525. <property>
  1526. <description>How often to check the usage of a container's log directories
  1527. in milliseconds</description>
  1528. <name>yarn.nodemanager.container-log-monitor.interval-ms</name>
  1529. <value>60000</value>
  1530. </property>
  1531. <property>
  1532. <description>The disk space limit, in bytes, for a single
  1533. container log directory</description>
  1534. <name>yarn.nodemanager.container-log-monitor.dir-size-limit-bytes</name>
  1535. <value>1000000000</value>
  1536. </property>
  1537. <property>
  1538. <description>The disk space limit, in bytes, for all of a container's
  1539. logs</description>
  1540. <name>yarn.nodemanager.container-log-monitor.total-size-limit-bytes</name>
  1541. <value>10000000000</value>
  1542. </property>
  1543. <property>
  1544. <description>Class that calculates containers current resource utilization.
  1545. If not set, the value for yarn.nodemanager.resource-calculator.class will
  1546. be used.</description>
  1547. <name>yarn.nodemanager.container-monitor.resource-calculator.class</name>
  1548. </property>
  1549. <property>
  1550. <description>The nodemanager health check scripts to run.</description>
  1551. <name>yarn.nodemanager.health-checker.scripts</name>
  1552. <value>script</value>
  1553. </property>
  1554. <property>
  1555. <description>Health check script time out period.</description>
  1556. <name>yarn.nodemanager.health-checker.timeout-ms</name>
  1557. <value>1200000</value>
  1558. </property>
  1559. <property>
  1560. <description>Whether or not to run the node health script
  1561. before the NM starts up.</description>
  1562. <name>yarn.nodemanager.health-checker.run-before-startup</name>
  1563. <value>false</value>
  1564. </property>
  1565. <property>
  1566. <description>Frequency of running node health scripts.</description>
  1567. <name>yarn.nodemanager.health-checker.interval-ms</name>
  1568. <value>600000</value>
  1569. </property>
  1570. <property>
  1571. <description>Frequency of running disk health checker code.</description>
  1572. <name>yarn.nodemanager.disk-health-checker.interval-ms</name>
  1573. <value>120000</value>
  1574. </property>
  1575. <property>
  1576. <description>The minimum fraction of number of disks to be healthy for the
  1577. nodemanager to launch new containers. This correspond to both
  1578. yarn.nodemanager.local-dirs and yarn.nodemanager.log-dirs. i.e. If there
  1579. are less number of healthy local-dirs (or log-dirs) available, then
  1580. new containers will not be launched on this node.</description>
  1581. <name>yarn.nodemanager.disk-health-checker.min-healthy-disks</name>
  1582. <value>0.25</value>
  1583. </property>
  1584. <property>
  1585. <description>Enable/Disable the disk utilisation percentage
  1586. threshold for disk health checker.</description>
  1587. <name>yarn.nodemanager.disk-health-checker.disk-utilization-threshold.enabled</name>
  1588. <value>true</value>
  1589. </property>
  1590. <property>
  1591. <description> Enable/Disable the minimum disk free
  1592. space threshold for disk health checker.</description>
  1593. <name>yarn.nodemanager.disk-health-checker.disk-free-space-threshold.enabled</name>
  1594. <value>true</value>
  1595. </property>
  1596. <property>
  1597. <description>The maximum percentage of disk space utilization allowed after
  1598. which a disk is marked as bad. Values can range from 0.0 to 100.0.
  1599. If the value is greater than or equal to 100, the nodemanager will check
  1600. for full disk. This applies to yarn.nodemanager.local-dirs and
  1601. yarn.nodemanager.log-dirs when
  1602. yarn.nodemanager.disk-health-checker.disk-utilization-threshold.enabled is true.</description>
  1603. <name>yarn.nodemanager.disk-health-checker.max-disk-utilization-per-disk-percentage</name>
  1604. <value>90.0</value>
  1605. </property>
  1606. <property>
  1607. <description>The low threshold percentage of disk space used when a bad disk is
  1608. marked as good. Values can range from 0.0 to 100.0. This applies to
  1609. yarn.nodemanager.local-dirs and yarn.nodemanager.log-dirs.
  1610. Note that if its value is more than yarn.nodemanager.disk-health-checker.
  1611. max-disk-utilization-per-disk-percentage or not set, it will be set to the same value as
  1612. yarn.nodemanager.disk-health-checker.max-disk-utilization-per-disk-percentage.</description>
  1613. <name>yarn.nodemanager.disk-health-checker.disk-utilization-watermark-low-per-disk-percentage</name>
  1614. <value></value>
  1615. </property>
  1616. <property>
  1617. <description>The minimum space in megabytes that must be available on a disk for
  1618. it to be used. If space on a disk falls below this threshold, it will be marked
  1619. as bad. This applies to yarn.nodemanager.local-dirs and
  1620. yarn.nodemanager.log-dirs when
  1621. yarn.nodemanager.disk-health-checker.disk-free-space-threshold.enabled is true.</description>
  1622. <name>yarn.nodemanager.disk-health-checker.min-free-space-per-disk-mb</name>
  1623. <value>0</value>
  1624. </property>
  1625. <property>
  1626. <description>The minimum space in megabytes that must be available on a bad
  1627. disk for it to be marked as good. This value should not be less
  1628. than yarn.nodemanager.disk-health-checker.min-free-space-per-disk-mb.
  1629. If it is less than yarn.nodemanager.disk-health-checker.min-free-space-per-disk-mb,
  1630. or it is not set, it will be set to the
  1631. same value as yarn.nodemanager.disk-health-checker.min-free-space-per-disk-mb.
  1632. This applies to yarn.nodemanager.local-dirs and yarn.nodemanager.log-dirs.</description>
  1633. <name>yarn.nodemanager.disk-health-checker.min-free-space-per-disk-watermark-high-mb</name>
  1634. <value>0</value>
  1635. </property>
  1636. <property>
  1637. <description>The path to the Linux container executor.</description>
  1638. <name>yarn.nodemanager.linux-container-executor.path</name>
  1639. </property>
  1640. <property>
  1641. <description>The class which should help the LCE handle resources.</description>
  1642. <name>yarn.nodemanager.linux-container-executor.resources-handler.class</name>
  1643. <value>org.apache.hadoop.yarn.server.nodemanager.util.DefaultLCEResourcesHandler</value>
  1644. <!-- <value>org.apache.hadoop.yarn.server.nodemanager.util.CgroupsLCEResourcesHandler</value> -->
  1645. </property>
  1646. <property>
  1647. <description>The cgroups hierarchy under which to place YARN proccesses (cannot contain commas).
  1648. If yarn.nodemanager.linux-container-executor.cgroups.mount is false
  1649. (that is, if cgroups have been pre-configured) and the YARN user has write
  1650. access to the parent directory, then the directory will be created.
  1651. If the directory already exists, the administrator has to give YARN
  1652. write permissions to it recursively.
  1653. This property only applies when the LCE resources handler is set to
  1654. CgroupsLCEResourcesHandler.</description>
  1655. <name>yarn.nodemanager.linux-container-executor.cgroups.hierarchy</name>
  1656. <value>/hadoop-yarn</value>
  1657. </property>
  1658. <property>
  1659. <description>Whether the LCE should attempt to mount cgroups if not found.
  1660. This property only applies when the LCE resources handler is set to
  1661. CgroupsLCEResourcesHandler.
  1662. </description>
  1663. <name>yarn.nodemanager.linux-container-executor.cgroups.mount</name>
  1664. <value>false</value>
  1665. </property>
  1666. <property>
  1667. <description>This property sets the path from which YARN will read the
  1668. CGroups configuration. YARN has built-in functionality to discover the
  1669. system CGroup mount paths, so use this property only if YARN's automatic
  1670. mount path discovery does not work.
  1671. The path specified by this property must exist before the NodeManager is
  1672. launched.
  1673. If yarn.nodemanager.linux-container-executor.cgroups.mount is set to true,
  1674. YARN will first try to mount the CGroups at the specified path before
  1675. reading them.
  1676. If yarn.nodemanager.linux-container-executor.cgroups.mount is set to
  1677. false, YARN will read the CGroups at the specified path.
  1678. If this property is empty, YARN tries to detect the CGroups location.
  1679. Please refer to NodeManagerCgroups.html in the documentation for further
  1680. details.
  1681. This property only applies when the LCE resources handler is set to
  1682. CgroupsLCEResourcesHandler.
  1683. </description>
  1684. <name>yarn.nodemanager.linux-container-executor.cgroups.mount-path</name>
  1685. </property>
  1686. <property>
  1687. <description>Delay in ms between attempts to remove linux cgroup</description>
  1688. <name>yarn.nodemanager.linux-container-executor.cgroups.delete-delay-ms</name>
  1689. <value>20</value>
  1690. </property>
  1691. <property>
  1692. <description>This determines which of the two modes that LCE should use on
  1693. a non-secure cluster. If this value is set to true, then all containers
  1694. will be launched as the user specified in
  1695. yarn.nodemanager.linux-container-executor.nonsecure-mode.local-user. If
  1696. this value is set to false, then containers will run as the user who
  1697. submitted the application.</description>
  1698. <name>yarn.nodemanager.linux-container-executor.nonsecure-mode.limit-users</name>
  1699. <value>true</value>
  1700. </property>
  1701. <property>
  1702. <description>The UNIX user that containers will run as when
  1703. Linux-container-executor is used in nonsecure mode (a use case for this
  1704. is using cgroups) if the
  1705. yarn.nodemanager.linux-container-executor.nonsecure-mode.limit-users is
  1706. set to true.</description>
  1707. <name>yarn.nodemanager.linux-container-executor.nonsecure-mode.local-user</name>
  1708. <value>nobody</value>
  1709. </property>
  1710. <property>
  1711. <description>The allowed pattern for UNIX user names enforced by
  1712. Linux-container-executor when used in nonsecure mode (use case for this
  1713. is using cgroups). The default value is taken from /usr/sbin/adduser</description>
  1714. <name>yarn.nodemanager.linux-container-executor.nonsecure-mode.user-pattern</name>
  1715. <value>^[_.A-Za-z0-9][-@_.A-Za-z0-9]{0,255}?[$]?$</value>
  1716. </property>
  1717. <property>
  1718. <description>This flag determines whether apps should run with strict resource limits
  1719. or be allowed to consume spare resources if they need them. For example, turning the
  1720. flag on will restrict apps to use only their share of CPU, even if the node has spare
  1721. CPU cycles. The default value is false i.e. use available resources. Please note that
  1722. turning this flag on may reduce job throughput on the cluster. This setting does
  1723. not apply to other subsystems like memory.</description>
  1724. <name>yarn.nodemanager.linux-container-executor.cgroups.strict-resource-usage</name>
  1725. <value>false</value>
  1726. </property>
  1727. <property>
  1728. <description>Comma separated list of runtimes that are allowed when using
  1729. LinuxContainerExecutor. The allowed values are default, docker, runc, and
  1730. javasandbox.</description>
  1731. <name>yarn.nodemanager.runtime.linux.allowed-runtimes</name>
  1732. <value>default</value>
  1733. </property>
  1734. <property>
  1735. <description>Default container runtime to use.</description>
  1736. <name>yarn.nodemanager.runtime.linux.type</name>
  1737. <value></value>
  1738. </property>
  1739. <property>
  1740. <description>This configuration setting determines the capabilities
  1741. assigned to docker containers when they are launched. While these may not
  1742. be case-sensitive from a docker perspective, it is best to keep these
  1743. uppercase. To run without any capabilities, set this value to
  1744. "none" or "NONE"</description>
  1745. <name>yarn.nodemanager.runtime.linux.docker.capabilities</name>
  1746. <value>CHOWN,DAC_OVERRIDE,FSETID,FOWNER,MKNOD,NET_RAW,SETGID,SETUID,SETFCAP,SETPCAP,NET_BIND_SERVICE,SYS_CHROOT,KILL,AUDIT_WRITE</value>
  1747. </property>
  1748. <property>
  1749. <description>Default docker image to be used when the docker runtime is
  1750. selected.</description>
  1751. <name>yarn.nodemanager.runtime.linux.docker.image-name</name>
  1752. <value></value>
  1753. </property>
  1754. <property>
  1755. <description>Default option to decide whether to pull the latest image
  1756. or not.</description>
  1757. <name>yarn.nodemanager.runtime.linux.docker.image-update</name>
  1758. <value>false</value>
  1759. </property>
  1760. <property>
  1761. <description>This configuration setting determines if privileged docker
  1762. containers are allowed on this cluster. Privileged containers are granted
  1763. the complete set of capabilities and are not subject to the limitations
  1764. imposed by the device cgroup controller. In other words, privileged
  1765. containers can do almost everything that the host can do. Use with
  1766. extreme care.</description>
  1767. <name>yarn.nodemanager.runtime.linux.docker.privileged-containers.allowed</name>
  1768. <value>false</value>
  1769. </property>
  1770. <property>
  1771. <description>This configuration setting determines who is allowed to run
  1772. privileged docker containers on this cluster. Use with extreme care.
  1773. </description>
  1774. <name>yarn.nodemanager.runtime.linux.docker.privileged-containers.acl</name>
  1775. <value></value>
  1776. </property>
  1777. <property>
  1778. <description>The set of networks allowed when launching containers using the
  1779. DockerContainerRuntime.</description>
  1780. <name>yarn.nodemanager.runtime.linux.docker.allowed-container-networks</name>
  1781. <value>host,none,bridge</value>
  1782. </property>
  1783. <property>
  1784. <description>The network used when launching containers using the
  1785. DockerContainerRuntime when no network is specified in the request
  1786. . This network must be one of the (configurable) set of allowed container
  1787. networks.</description>
  1788. <name>yarn.nodemanager.runtime.linux.docker.default-container-network</name>
  1789. <value>host</value>
  1790. </property>
  1791. <property>
  1792. <description>The set of runtimes allowed when launching containers using the
  1793. DockerContainerRuntime.</description>
  1794. <name>yarn.nodemanager.runtime.linux.docker.allowed-container-runtimes</name>
  1795. <value>runc</value>
  1796. </property>
  1797. <property>
  1798. <description>This configuration setting determines whether the host's PID
  1799. namespace is allowed for docker containers on this cluster.
  1800. Use with care.</description>
  1801. <name>yarn.nodemanager.runtime.linux.docker.host-pid-namespace.allowed</name>
  1802. <value>false</value>
  1803. </property>
  1804. <property>
  1805. <description>Property to enable docker user remapping</description>
  1806. <name>yarn.nodemanager.runtime.linux.docker.enable-userremapping.allowed</name>
  1807. <value>true</value>
  1808. </property>
  1809. <property>
  1810. <description>lower limit for acceptable uids of user remapped user</description>
  1811. <name>yarn.nodemanager.runtime.linux.docker.userremapping-uid-threshold</name>
  1812. <value>1</value>
  1813. </property>
  1814. <property>
  1815. <description>lower limit for acceptable gids of user remapped user</description>
  1816. <name>yarn.nodemanager.runtime.linux.docker.userremapping-gid-threshold</name>
  1817. <value>1</value>
  1818. </property>
  1819. <property>
  1820. <description>Whether or not users are allowed to request that Docker
  1821. containers honor the debug deletion delay. This is useful for
  1822. troubleshooting Docker container related launch failures.</description>
  1823. <name>yarn.nodemanager.runtime.linux.docker.delayed-removal.allowed</name>
  1824. <value>false</value>
  1825. </property>
  1826. <property>
  1827. <description>A configurable value to pass to the Docker Stop command. This value
  1828. defines the number of seconds between the docker stop command sending
  1829. a SIGTERM and a SIGKILL.</description>
  1830. <name>yarn.nodemanager.runtime.linux.docker.stop.grace-period</name>
  1831. <value>10</value>
  1832. </property>
  1833. <property>
  1834. <description>The default list of read-only mounts to be bind-mounted
  1835. into all Docker containers that use DockerContainerRuntime.</description>
  1836. <name>yarn.nodemanager.runtime.linux.docker.default-ro-mounts</name>
  1837. <value></value>
  1838. </property>
  1839. <property>
  1840. <description>The default list of read-write mounts to be bind-mounted
  1841. into all Docker containers that use DockerContainerRuntime.</description>
  1842. <name>yarn.nodemanager.runtime.linux.docker.default-rw-mounts</name>
  1843. <value></value>
  1844. </property>
  1845. <property>
  1846. <description>The default list of tmpfs mounts to be mounted into all Docker
  1847. containers that use DockerContainerRuntime.</description>
  1848. <name>yarn.nodemanager.runtime.linux.docker.default-tmpfs-mounts</name>
  1849. <value></value>
  1850. </property>
  1851. <property>
  1852. <description>The runC image tag to manifest plugin
  1853. class to be used.</description>
  1854. <name>yarn.nodemanager.runtime.linux.runc.image-tag-to-manifest-plugin</name>
  1855. <value>org.apache.hadoop.yarn.server.nodemanager.containermanager.linux.runtime.runc.ImageTagToManifestPlugin</value>
  1856. </property>
  1857. <property>
  1858. <description>The runC manifest to resources plugin class to
  1859. be used.</description>
  1860. <name>yarn.nodemanager.runtime.linux.runc.manifest-to-resources-plugin</name>
  1861. <value>org.apache.hadoop.yarn.server.nodemanager.containermanager.linux.runtime.runc.HdfsManifestToResourcesPlugin</value>
  1862. </property>
  1863. <property>
  1864. <description>The HDFS location under which the oci image manifests, layers,
  1865. and configs directories exist.</description>
  1866. <name>yarn.nodemanager.runtime.linux.runc.image-toplevel-dir</name>
  1867. <value>/runc-root</value>
  1868. </property>
  1869. <property>
  1870. <description>Target count of layer mounts that we should keep on disk
  1871. at one time.</description>
  1872. <name>yarn.nodemanager.runtime.linux.runc.layer-mounts-to-keep</name>
  1873. <value>100</value>
  1874. </property>
  1875. <property>
  1876. <description>The interval in seconds between executions of
  1877. reaping layer mounts.</description>
  1878. <name>yarn.nodemanager.runtime.linux.runc.layer-mounts-interval-secs</name>
  1879. <value>600</value>
  1880. </property>
  1881. <property>
  1882. <description>Image to be used if no other image is specified.</description>
  1883. <name>yarn.nodemanager.runtime.linux.runc.image-name</name>
  1884. <value></value>
  1885. </property>
  1886. <property>
  1887. <description>Allow or disallow privileged containers.</description>
  1888. <name>yarn.nodemanager.runtime.linux.runc.privileged-containers.allowed</name>
  1889. <value>false</value>
  1890. </property>
  1891. <property>
  1892. <description>The set of networks allowed when launching containers
  1893. using the RuncContainerRuntime.</description>
  1894. <name>yarn.nodemanager.runtime.linux.runc.allowed-container-networks</name>
  1895. <value>host,none,bridge</value>
  1896. </property>
  1897. <property>
  1898. <description>The set of runtimes allowed when launching containers
  1899. using the RuncContainerRuntime.</description>
  1900. <name>yarn.nodemanager.runtime.linux.runc.allowed-container-runtimes</name>
  1901. <value>runc</value>
  1902. </property>
  1903. <property>
  1904. <description>ACL list for users allowed to run privileged
  1905. containers.</description>
  1906. <name>yarn.nodemanager.runtime.linux.runc.privileged-containers.acl</name>
  1907. <value></value>
  1908. </property>
  1909. <property>
  1910. <description>Allow host pid namespace for runC containers.
  1911. Use with care.</description>
  1912. <name>yarn.nodemanager.runtime.linux.runc.host-pid-namespace.allowed</name>
  1913. <value>false</value>
  1914. </property>
  1915. <property>
  1916. <description>The default list of read-only mounts to be bind-mounted
  1917. into all runC containers that use RuncContainerRuntime.</description>
  1918. <name>yarn.nodemanager.runtime.linux.runc.default-ro-mounts</name>
  1919. <value></value>
  1920. </property>
  1921. <property>
  1922. <description>The default list of read-write mounts to be bind-mounted
  1923. into all runC containers that use RuncContainerRuntime.</description>
  1924. <name>yarn.nodemanager.runtime.linux.runc.default-rw-mounts</name>
  1925. <value></value>
  1926. </property>
  1927. <property>
  1928. <description>Path to the seccomp profile to use with runC
  1929. containers</description>
  1930. <name>yarn.nodemanager.runtime.linux.runc.seccomp-profile</name>
  1931. <value></value>
  1932. </property>
  1933. <property>
  1934. <description>The HDFS location where the runC image tag to hash
  1935. file exists.</description>
  1936. <name>yarn.nodemanager.runtime.linux.runc.image-tag-to-manifest-plugin.hdfs-hash-file</name>
  1937. <value>/runc-root/image-tag-to-hash</value>
  1938. </property>
  1939. <property>
  1940. <description>The local file system location where the runC image tag
  1941. to hash file exists.</description>
  1942. <name>yarn.nodemanager.runtime.linux.runc.image-tag-to-manifest-plugin.local-hash-file</name>
  1943. <value></value>
  1944. </property>
  1945. <property>
  1946. <description>The interval in seconds between refreshing the hdfs image tag
  1947. to hash cache.</description>
  1948. <name>yarn.nodemanager.runtime.linux.runc.image-tag-to-manifest-plugin.cache-refresh-interval-secs</name>
  1949. <value>60</value>
  1950. </property>
  1951. <property>
  1952. <description>The number of manifests to cache in the image tag
  1953. to hash cache.</description>
  1954. <name>yarn.nodemanager.runtime.linux.runc.image-tag-to-manifest-plugin.num-manifests-to-cache</name>
  1955. <value>10</value>
  1956. </property>
  1957. <property>
  1958. <description>The timeout value in seconds for the values in
  1959. the stat cache.</description>
  1960. <name>yarn.nodemanager.runtime.linux.runc.hdfs-manifest-to-resources-plugin.stat-cache-timeout-interval-secs</name>
  1961. <value>360</value>
  1962. </property>
  1963. <property>
  1964. <description>The size of the stat cache which stores stats of the
  1965. layers and config.</description>
  1966. <name>yarn.nodemanager.runtime.linux.runc.hdfs-manifest-to-resources-plugin.stat-cache-size</name>
  1967. <value>500</value>
  1968. </property>
  1969. <property>
  1970. <description>The mode in which the Java Container Sandbox should run detailed by
  1971. the JavaSandboxLinuxContainerRuntime.</description>
  1972. <name>yarn.nodemanager.runtime.linux.sandbox-mode</name>
  1973. <value>disabled</value>
  1974. </property>
  1975. <property>
  1976. <description>Permissions for application local directories.</description>
  1977. <name>yarn.nodemanager.runtime.linux.sandbox-mode.local-dirs.permissions</name>
  1978. <value>read</value>
  1979. </property>
  1980. <property>
  1981. <description>Location for non-default java policy file.</description>
  1982. <name>yarn.nodemanager.runtime.linux.sandbox-mode.policy</name>
  1983. <value></value>
  1984. </property>
  1985. <property>
  1986. <description>The group which will run by default without the java security
  1987. manager.</description>
  1988. <name>yarn.nodemanager.runtime.linux.sandbox-mode.whitelist-group</name>
  1989. <value></value>
  1990. </property>
  1991. <property>
  1992. <description>This flag determines whether memory limit will be set for the Windows Job
  1993. Object of the containers launched by the default container executor.</description>
  1994. <name>yarn.nodemanager.windows-container.memory-limit.enabled</name>
  1995. <value>false</value>
  1996. </property>
  1997. <property>
  1998. <description>This flag determines whether CPU limit will be set for the Windows Job
  1999. Object of the containers launched by the default container executor.</description>
  2000. <name>yarn.nodemanager.windows-container.cpu-limit.enabled</name>
  2001. <value>false</value>
  2002. </property>
  2003. <property>
  2004. <description>
  2005. Interval of time the linux container executor should try cleaning up
  2006. cgroups entry when cleaning up a container.
  2007. </description>
  2008. <name>yarn.nodemanager.linux-container-executor.cgroups.delete-timeout-ms</name>
  2009. <value>1000</value>
  2010. </property>
  2011. <property>
  2012. <description>T-file compression types used to compress aggregated logs.</description>
  2013. <name>yarn.nodemanager.log-aggregation.compression-type</name>
  2014. <value>none</value>
  2015. </property>
  2016. <property>
  2017. <description>The kerberos principal for the node manager.</description>
  2018. <name>yarn.nodemanager.principal</name>
  2019. <value></value>
  2020. </property>
  2021. <property>
  2022. <description>A comma separated list of services where service name should only
  2023. contain a-zA-Z0-9_ and can not start with numbers</description>
  2024. <name>yarn.nodemanager.aux-services</name>
  2025. <value></value>
  2026. <!--<value>mapreduce_shuffle</value>-->
  2027. </property>
  2028. <property>
  2029. <description>Boolean indicating whether loading aux services from a manifest
  2030. is enabled. If enabled, aux services may be dynamically modified through
  2031. reloading the manifest via filesystem changes or a REST API. When
  2032. enabled, aux services configuration properties unrelated to the manifest
  2033. will be ignored.</description>
  2034. <name>yarn.nodemanager.aux-services.manifest.enabled</name>
  2035. <value>false</value>
  2036. </property>
  2037. <property>
  2038. <description>A file containing auxiliary service specifications.</description>
  2039. <name>yarn.nodemanager.aux-services.manifest</name>
  2040. <value></value>
  2041. </property>
  2042. <property>
  2043. <description>Length of time in ms to wait between reloading aux services
  2044. manifest. If 0 or less, manifest will not be reloaded.</description>
  2045. <name>yarn.nodemanager.aux-services.manifest.reload-ms</name>
  2046. <value>0</value>
  2047. </property>
  2048. <property>
  2049. <description>No. of ms to wait between sending a SIGTERM and SIGKILL to a container</description>
  2050. <name>yarn.nodemanager.sleep-delay-before-sigkill.ms</name>
  2051. <value>250</value>
  2052. </property>
  2053. <property>
  2054. <description>Max time to wait for a process to come up when trying to cleanup a container</description>
  2055. <name>yarn.nodemanager.process-kill-wait.ms</name>
  2056. <value>5000</value>
  2057. </property>
  2058. <property>
  2059. <description>The minimum allowed version of a resourcemanager that a nodemanager will connect to.
  2060. The valid values are NONE (no version checking), EqualToNM (the resourcemanager's version is
  2061. equal to or greater than the NM version), or a Version String.</description>
  2062. <name>yarn.nodemanager.resourcemanager.minimum.version</name>
  2063. <value>NONE</value>
  2064. </property>
  2065. <property>
  2066. <description>Maximum size of contain's diagnostics to keep for relaunching
  2067. container case.</description>
  2068. <name>yarn.nodemanager.container-diagnostics-maximum-size</name>
  2069. <value>10000</value>
  2070. </property>
  2071. <property>
  2072. <description>Minimum container restart interval in milliseconds.</description>
  2073. <name>yarn.nodemanager.container-retry-minimum-interval-ms</name>
  2074. <value>1000</value>
  2075. </property>
  2076. <property>
  2077. <description>Max number of threads in NMClientAsync to process container
  2078. management events</description>
  2079. <name>yarn.client.nodemanager-client-async.thread-pool-max-size</name>
  2080. <value>500</value>
  2081. </property>
  2082. <property>
  2083. <description>Max time to wait to establish a connection to NM</description>
  2084. <name>yarn.client.nodemanager-connect.max-wait-ms</name>
  2085. <value>180000</value>
  2086. </property>
  2087. <property>
  2088. <description>Time interval between each attempt to connect to NM</description>
  2089. <name>yarn.client.nodemanager-connect.retry-interval-ms</name>
  2090. <value>10000</value>
  2091. </property>
  2092. <property>
  2093. <description>
  2094. Max time to wait for NM to connect to RM.
  2095. When not set, proxy will fall back to use value of
  2096. yarn.resourcemanager.connect.max-wait.ms.
  2097. </description>
  2098. <name>yarn.nodemanager.resourcemanager.connect.max-wait.ms</name>
  2099. <value></value>
  2100. </property>
  2101. <property>
  2102. <description>
  2103. Time interval between each NM attempt to connect to RM.
  2104. When not set, proxy will fall back to use value of
  2105. yarn.resourcemanager.connect.retry-interval.ms.
  2106. </description>
  2107. <name>yarn.nodemanager.resourcemanager.connect.retry-interval.ms</name>
  2108. <value></value>
  2109. </property>
  2110. <property>
  2111. <description>
  2112. Maximum number of proxy connections to cache for node managers. If set
  2113. to a value greater than zero then the cache is enabled and the NMClient
  2114. and MRAppMaster will cache the specified number of node manager proxies.
  2115. There will be at max one proxy per node manager. Ex. configuring it to a
  2116. value of 5 will make sure that client will at max have 5 proxies cached
  2117. with 5 different node managers. These connections for these proxies will
  2118. be timed out if idle for more than the system wide idle timeout period.
  2119. Note that this could cause issues on large clusters as many connections
  2120. could linger simultaneously and lead to a large number of connection
  2121. threads. The token used for authentication will be used only at
  2122. connection creation time. If a new token is received then the earlier
  2123. connection should be closed in order to use the new token. This and
  2124. (yarn.client.nodemanager-client-async.thread-pool-max-size) are related
  2125. and should be in sync (no need for them to be equal).
  2126. If the value of this property is zero then the connection cache is
  2127. disabled and connections will use a zero idle timeout to prevent too
  2128. many connection threads on large clusters.
  2129. </description>
  2130. <name>yarn.client.max-cached-nodemanagers-proxies</name>
  2131. <value>0</value>
  2132. </property>
  2133. <property>
  2134. <description>Enable the node manager to recover after starting</description>
  2135. <name>yarn.nodemanager.recovery.enabled</name>
  2136. <value>false</value>
  2137. </property>
  2138. <property>
  2139. <description>The local filesystem directory in which the node manager will
  2140. store state when recovery is enabled.</description>
  2141. <name>yarn.nodemanager.recovery.dir</name>
  2142. <value>${hadoop.tmp.dir}/yarn-nm-recovery</value>
  2143. </property>
  2144. <property>
  2145. <description>The time in seconds between full compactions of the NM state
  2146. database. Setting the interval to zero disables the full compaction
  2147. cycles.</description>
  2148. <name>yarn.nodemanager.recovery.compaction-interval-secs</name>
  2149. <value>3600</value>
  2150. </property>
  2151. <property>
  2152. <description>Whether the nodemanager is running under supervision. A
  2153. nodemanager that supports recovery and is running under supervision
  2154. will not try to cleanup containers as it exits with the assumption
  2155. it will be immediately be restarted and recover containers.</description>
  2156. <name>yarn.nodemanager.recovery.supervised</name>
  2157. <value>false</value>
  2158. </property>
  2159. <property>
  2160. <description>
  2161. Adjustment to the container OS scheduling priority. In Linux, passed
  2162. directly to the nice command. If unspecified then containers are launched
  2163. without any explicit OS priority.
  2164. </description>
  2165. <name>yarn.nodemanager.container-executor.os.sched.priority.adjustment</name>
  2166. </property>
  2167. <property>
  2168. <description>
  2169. Flag to enable container metrics
  2170. </description>
  2171. <name>yarn.nodemanager.container-metrics.enable</name>
  2172. <value>true</value>
  2173. </property>
  2174. <property>
  2175. <description>
  2176. Container metrics flush period in ms. Set to -1 for flush on completion.
  2177. </description>
  2178. <name>yarn.nodemanager.container-metrics.period-ms</name>
  2179. <value>-1</value>
  2180. </property>
  2181. <property>
  2182. <description>
  2183. The delay time ms to unregister container metrics after completion.
  2184. </description>
  2185. <name>yarn.nodemanager.container-metrics.unregister-delay-ms</name>
  2186. <value>10000</value>
  2187. </property>
  2188. <property>
  2189. <description>
  2190. Class used to calculate current container resource utilization.
  2191. </description>
  2192. <name>yarn.nodemanager.container-monitor.process-tree.class</name>
  2193. <value></value>
  2194. </property>
  2195. <property>
  2196. <description>
  2197. Flag to enable NodeManager disk health checker
  2198. </description>
  2199. <name>yarn.nodemanager.disk-health-checker.enable</name>
  2200. <value>true</value>
  2201. </property>
  2202. <property>
  2203. <description>
  2204. Number of threads to use in NM log cleanup. Used when log aggregation
  2205. is disabled.
  2206. </description>
  2207. <name>yarn.nodemanager.log.deletion-threads-count</name>
  2208. <value>4</value>
  2209. </property>
  2210. <property>
  2211. <description>
  2212. The Windows group that the windows-container-executor should run as.
  2213. </description>
  2214. <name>yarn.nodemanager.windows-secure-container-executor.group</name>
  2215. <value></value>
  2216. </property>
  2217. <!-- Map Reduce Configuration -->
  2218. <property>
  2219. <name>yarn.nodemanager.aux-services.mapreduce_shuffle.class</name>
  2220. <value>org.apache.hadoop.mapred.ShuffleHandler</value>
  2221. </property>
  2222. <!-- WebAppProxy Configuration -->
  2223. <property>
  2224. <description>The kerberos principal for the proxy, if the proxy is not
  2225. running as part of the RM.</description>
  2226. <name>yarn.web-proxy.principal</name>
  2227. <value/>
  2228. </property>
  2229. <property>
  2230. <description>Keytab for WebAppProxy, if the proxy is not running as part of
  2231. the RM.</description>
  2232. <name>yarn.web-proxy.keytab</name>
  2233. </property>
  2234. <property>
  2235. <description>The address for the web proxy as HOST:PORT, if this is not
  2236. given then the proxy will run as part of the RM</description>
  2237. <name>yarn.web-proxy.address</name>
  2238. <value/>
  2239. </property>
  2240. <property>
  2241. <description>The actual address the web proxy will bind to. If this optional
  2242. address is set, it overrides only the hostname portion of yarn.web-proxy.address.
  2243. This is useful for making the web proxy server listen on all interfaces by setting
  2244. it to 0.0.0.0 </description>
  2245. <name>yarn.web-proxy.bind-host</name>
  2246. <value/>
  2247. </property>
  2248. <property>
  2249. <description>Enable the web proxy connection timeout, default is enabled.</description>
  2250. <name>yarn.resourcemanager.proxy.timeout.enabled</name>
  2251. <value>true</value>
  2252. </property>
  2253. <property>
  2254. <description>The web proxy connection timeout.</description>
  2255. <name>yarn.resourcemanager.proxy.connection.timeout</name>
  2256. <value>60000</value>
  2257. </property>
  2258. <!-- Applications' Configuration -->
  2259. <property>
  2260. <description>
  2261. CLASSPATH for YARN applications. A comma-separated list
  2262. of CLASSPATH entries. When this value is empty, the following default
  2263. CLASSPATH for YARN applications would be used.
  2264. For Linux:
  2265. $HADOOP_CONF_DIR,
  2266. $HADOOP_COMMON_HOME/share/hadoop/common/*,
  2267. $HADOOP_COMMON_HOME/share/hadoop/common/lib/*,
  2268. $HADOOP_HDFS_HOME/share/hadoop/hdfs/*,
  2269. $HADOOP_HDFS_HOME/share/hadoop/hdfs/lib/*,
  2270. $HADOOP_YARN_HOME/share/hadoop/yarn/*,
  2271. $HADOOP_YARN_HOME/share/hadoop/yarn/lib/*
  2272. For Windows:
  2273. %HADOOP_CONF_DIR%,
  2274. %HADOOP_COMMON_HOME%/share/hadoop/common/*,
  2275. %HADOOP_COMMON_HOME%/share/hadoop/common/lib/*,
  2276. %HADOOP_HDFS_HOME%/share/hadoop/hdfs/*,
  2277. %HADOOP_HDFS_HOME%/share/hadoop/hdfs/lib/*,
  2278. %HADOOP_YARN_HOME%/share/hadoop/yarn/*,
  2279. %HADOOP_YARN_HOME%/share/hadoop/yarn/lib/*
  2280. </description>
  2281. <name>yarn.application.classpath</name>
  2282. <value></value>
  2283. </property>
  2284. <!-- Timeline Service Configuration -->
  2285. <property>
  2286. <description>Indicate what is the current version of the running
  2287. timeline service. For example, if "yarn.timeline-service.version" is 1.5,
  2288. and "yarn.timeline-service.enabled" is true, it means the cluster will and
  2289. should bring up the timeline service v.1.5 (and nothing else).
  2290. On the client side, if the client uses the same version of timeline service,
  2291. it should succeed. If the client chooses to use a smaller version in spite of this,
  2292. then depending on how robust the compatibility story is between versions,
  2293. the results may vary.
  2294. </description>
  2295. <name>yarn.timeline-service.version</name>
  2296. <value>1.0f</value>
  2297. </property>
  2298. <property>
  2299. <description>
  2300. In the server side it indicates whether timeline service is enabled or not.
  2301. And in the client side, users can enable it to indicate whether client wants
  2302. to use timeline service. If its enabled in the client side along with
  2303. security, then yarn client tries to fetch the delegation tokens for the
  2304. timeline server.
  2305. </description>
  2306. <name>yarn.timeline-service.enabled</name>
  2307. <value>false</value>
  2308. </property>
  2309. <property>
  2310. <description>The hostname of the timeline service web application.</description>
  2311. <name>yarn.timeline-service.hostname</name>
  2312. <value>0.0.0.0</value>
  2313. </property>
  2314. <property>
  2315. <description>This is default address for the timeline server to start the
  2316. RPC server.</description>
  2317. <name>yarn.timeline-service.address</name>
  2318. <value>${yarn.timeline-service.hostname}:10200</value>
  2319. </property>
  2320. <property>
  2321. <description>The http address of the timeline service web application.</description>
  2322. <name>yarn.timeline-service.webapp.address</name>
  2323. <value>${yarn.timeline-service.hostname}:8188</value>
  2324. </property>
  2325. <property>
  2326. <description>The https address of the timeline service web application.</description>
  2327. <name>yarn.timeline-service.webapp.https.address</name>
  2328. <value>${yarn.timeline-service.hostname}:8190</value>
  2329. </property>
  2330. <property>
  2331. <description>
  2332. The actual address the server will bind to. If this optional address is
  2333. set, the RPC and webapp servers will bind to this address and the port specified in
  2334. yarn.timeline-service.address and yarn.timeline-service.webapp.address, respectively.
  2335. This is most useful for making the service listen to all interfaces by setting to
  2336. 0.0.0.0.
  2337. </description>
  2338. <name>yarn.timeline-service.bind-host</name>
  2339. <value></value>
  2340. </property>
  2341. <property>
  2342. <description>
  2343. Defines the max number of applications could be fetched using REST API or
  2344. application history protocol and shown in timeline server web ui.
  2345. </description>
  2346. <name>yarn.timeline-service.generic-application-history.max-applications</name>
  2347. <value>10000</value>
  2348. </property>
  2349. <property>
  2350. <description>Store class name for timeline store.</description>
  2351. <name>yarn.timeline-service.store-class</name>
  2352. <value>org.apache.hadoop.yarn.server.timeline.LeveldbTimelineStore</value>
  2353. </property>
  2354. <property>
  2355. <description>Enable age off of timeline store data.</description>
  2356. <name>yarn.timeline-service.ttl-enable</name>
  2357. <value>true</value>
  2358. </property>
  2359. <property>
  2360. <description>Time to live for timeline store data in milliseconds.</description>
  2361. <name>yarn.timeline-service.ttl-ms</name>
  2362. <value>604800000</value>
  2363. </property>
  2364. <property>
  2365. <description>Store file name for leveldb timeline store.</description>
  2366. <name>yarn.timeline-service.leveldb-timeline-store.path</name>
  2367. <value>${hadoop.tmp.dir}/yarn/timeline</value>
  2368. </property>
  2369. <property>
  2370. <description>Length of time to wait between deletion cycles of leveldb timeline store in milliseconds.</description>
  2371. <name>yarn.timeline-service.leveldb-timeline-store.ttl-interval-ms</name>
  2372. <value>300000</value>
  2373. </property>
  2374. <property>
  2375. <description>Size of read cache for uncompressed blocks for leveldb timeline store in bytes.</description>
  2376. <name>yarn.timeline-service.leveldb-timeline-store.read-cache-size</name>
  2377. <value>104857600</value>
  2378. </property>
  2379. <property>
  2380. <description>Size of cache for recently read entity start times for leveldb timeline store in number of entities.</description>
  2381. <name>yarn.timeline-service.leveldb-timeline-store.start-time-read-cache-size</name>
  2382. <value>10000</value>
  2383. </property>
  2384. <property>
  2385. <description>Size of cache for recently written entity start times for leveldb timeline store in number of entities.</description>
  2386. <name>yarn.timeline-service.leveldb-timeline-store.start-time-write-cache-size</name>
  2387. <value>10000</value>
  2388. </property>
  2389. <property>
  2390. <description>Handler thread count to serve the client RPC requests.</description>
  2391. <name>yarn.timeline-service.handler-thread-count</name>
  2392. <value>10</value>
  2393. </property>
  2394. <property>
  2395. <name>yarn.timeline-service.http-authentication.type</name>
  2396. <value>simple</value>
  2397. <description>
  2398. Defines authentication used for the timeline server HTTP endpoint.
  2399. Supported values are: simple | kerberos | #AUTHENTICATION_HANDLER_CLASSNAME#
  2400. </description>
  2401. </property>
  2402. <property>
  2403. <name>yarn.timeline-service.http-authentication.simple.anonymous.allowed</name>
  2404. <value>true</value>
  2405. <description>
  2406. Indicates if anonymous requests are allowed by the timeline server when using
  2407. 'simple' authentication.
  2408. </description>
  2409. </property>
  2410. <property>
  2411. <description>The Kerberos principal for the timeline server.</description>
  2412. <name>yarn.timeline-service.principal</name>
  2413. <value></value>
  2414. </property>
  2415. <property>
  2416. <description>The Kerberos keytab for the timeline server.</description>
  2417. <name>yarn.timeline-service.keytab</name>
  2418. <value>/etc/krb5.keytab</value>
  2419. </property>
  2420. <property>
  2421. <description>Comma separated list of UIs that will be hosted</description>
  2422. <name>yarn.timeline-service.ui-names</name>
  2423. <value></value>
  2424. </property>
  2425. <property>
  2426. <description>
  2427. Default maximum number of retries for timeline service client
  2428. and value -1 means no limit.
  2429. </description>
  2430. <name>yarn.timeline-service.client.max-retries</name>
  2431. <value>30</value>
  2432. </property>
  2433. <property>
  2434. <description>Client policy for whether timeline operations are non-fatal.
  2435. Should the failure to obtain a delegation token be considered an application
  2436. failure (option = false), or should the client attempt to continue to
  2437. publish information without it (option=true)</description>
  2438. <name>yarn.timeline-service.client.best-effort</name>
  2439. <value>false</value>
  2440. </property>
  2441. <property>
  2442. <description>
  2443. Default retry time interval for timeline servive client.
  2444. </description>
  2445. <name>yarn.timeline-service.client.retry-interval-ms</name>
  2446. <value>1000</value>
  2447. </property>
  2448. <property>
  2449. <description>
  2450. The time period for which timeline v2 client will wait for draining
  2451. leftover entities after stop.
  2452. </description>
  2453. <name>yarn.timeline-service.client.drain-entities.timeout.ms</name>
  2454. <value>2000</value>
  2455. </property>
  2456. <property>
  2457. <description>Enable timeline server to recover state after starting. If
  2458. true, then yarn.timeline-service.state-store-class must be specified.
  2459. </description>
  2460. <name>yarn.timeline-service.recovery.enabled</name>
  2461. <value>false</value>
  2462. </property>
  2463. <property>
  2464. <description>Store class name for timeline state store.</description>
  2465. <name>yarn.timeline-service.state-store-class</name>
  2466. <value>org.apache.hadoop.yarn.server.timeline.recovery.LeveldbTimelineStateStore</value>
  2467. </property>
  2468. <property>
  2469. <description>Store file name for leveldb state store.</description>
  2470. <name>yarn.timeline-service.leveldb-state-store.path</name>
  2471. <value>${hadoop.tmp.dir}/yarn/timeline</value>
  2472. </property>
  2473. <!-- Timeline Service v1.5 Configuration -->
  2474. <property>
  2475. <name>yarn.timeline-service.entity-group-fs-store.cache-store-class</name>
  2476. <value>org.apache.hadoop.yarn.server.timeline.MemoryTimelineStore</value>
  2477. <description>Caching storage timeline server v1.5 is using. </description>
  2478. </property>
  2479. <property>
  2480. <name>yarn.timeline-service.entity-group-fs-store.active-dir</name>
  2481. <value>/tmp/entity-file-history/active</value>
  2482. <description>HDFS path to store active application’s timeline data</description>
  2483. </property>
  2484. <property>
  2485. <name>yarn.timeline-service.entity-group-fs-store.done-dir</name>
  2486. <value>/tmp/entity-file-history/done/</value>
  2487. <description>HDFS path to store done application’s timeline data</description>
  2488. </property>
  2489. <property>
  2490. <name>yarn.timeline-service.entity-group-fs-store.group-id-plugin-classes</name>
  2491. <value></value>
  2492. <description>
  2493. Plugins that can translate a timeline entity read request into
  2494. a list of timeline entity group ids, separated by commas.
  2495. </description>
  2496. </property>
  2497. <property>
  2498. <name>yarn.timeline-service.entity-group-fs-store.group-id-plugin-classpath</name>
  2499. <value></value>
  2500. <description>
  2501. Classpath for all plugins defined in
  2502. yarn.timeline-service.entity-group-fs-store.group-id-plugin-classes.
  2503. </description>
  2504. </property>
  2505. <property>
  2506. <name>yarn.timeline-service.entity-group-fs-store.summary-store</name>
  2507. <description>Summary storage for ATS v1.5</description>
  2508. <value>org.apache.hadoop.yarn.server.timeline.LeveldbTimelineStore</value>
  2509. </property>
  2510. <property>
  2511. <name>yarn.timeline-service.entity-group-fs-store.scan-interval-seconds</name>
  2512. <description>
  2513. Scan interval for ATS v1.5 entity group file system storage reader.This
  2514. value controls how frequent the reader will scan the HDFS active directory
  2515. for application status.
  2516. </description>
  2517. <value>60</value>
  2518. </property>
  2519. <property>
  2520. <name>yarn.timeline-service.entity-group-fs-store.cleaner-interval-seconds</name>
  2521. <description>
  2522. Scan interval for ATS v1.5 entity group file system storage cleaner.This
  2523. value controls how frequent the reader will scan the HDFS done directory
  2524. for stale application data.
  2525. </description>
  2526. <value>3600</value>
  2527. </property>
  2528. <property>
  2529. <name>yarn.timeline-service.entity-group-fs-store.retain-seconds</name>
  2530. <description>
  2531. How long the ATS v1.5 entity group file system storage will keep an
  2532. application's data in the done directory.
  2533. </description>
  2534. <value>604800</value>
  2535. </property>
  2536. <property>
  2537. <name>yarn.timeline-service.entity-group-fs-store.leveldb-cache-read-cache-size</name>
  2538. <description>
  2539. Read cache size for the leveldb cache storage in ATS v1.5 plugin storage.
  2540. </description>
  2541. <value>10485760</value>
  2542. </property>
  2543. <property>
  2544. <name>yarn.timeline-service.entity-group-fs-store.app-cache-size</name>
  2545. <description>
  2546. Size of the reader cache for ATS v1.5 reader. This value controls how many
  2547. entity groups the ATS v1.5 server should cache. If the number of active
  2548. read entity groups is greater than the number of caches items, some reads
  2549. may return empty data. This value must be greater than 0.
  2550. </description>
  2551. <value>10</value>
  2552. </property>
  2553. <property>
  2554. <name>yarn.timeline-service.client.fd-flush-interval-secs</name>
  2555. <description>
  2556. Flush interval for ATS v1.5 writer. This value controls how frequent
  2557. the writer will flush the HDFS FSStream for the entity/domain.
  2558. </description>
  2559. <value>10</value>
  2560. </property>
  2561. <property>
  2562. <name>yarn.timeline-service.client.fd-clean-interval-secs</name>
  2563. <description>
  2564. Scan interval for ATS v1.5 writer. This value controls how frequent
  2565. the writer will scan the HDFS FSStream for the entity/domain.
  2566. If the FSStream is stale for a long time, this FSStream will be close.
  2567. </description>
  2568. <value>60</value>
  2569. </property>
  2570. <property>
  2571. <name>yarn.timeline-service.client.fd-retain-secs</name>
  2572. <description>
  2573. How long the ATS v1.5 writer will keep an FSStream open.
  2574. If this fsstream does not write anything for this configured time,
  2575. it will be close.
  2576. </description>
  2577. <value>300</value>
  2578. </property>
  2579. <!-- Timeline Service v2 Configuration -->
  2580. <property>
  2581. <name>yarn.timeline-service.writer.class</name>
  2582. <description>
  2583. Storage implementation ATS v2 will use for the TimelineWriter service.
  2584. </description>
  2585. <value>org.apache.hadoop.yarn.server.timelineservice.storage.HBaseTimelineWriterImpl</value>
  2586. </property>
  2587. <property>
  2588. <name>yarn.timeline-service.reader.class</name>
  2589. <description>
  2590. Storage implementation ATS v2 will use for the TimelineReader service.
  2591. </description>
  2592. <value>org.apache.hadoop.yarn.server.timelineservice.storage.HBaseTimelineReaderImpl</value>
  2593. </property>
  2594. <property>
  2595. <name>yarn.timeline-service.client.internal-timers-ttl-secs</name>
  2596. <description>
  2597. How long the internal Timer Tasks can be alive in writer. If there is no
  2598. write operation for this configured time, the internal timer tasks will
  2599. be close.
  2600. </description>
  2601. <value>420</value>
  2602. </property>
  2603. <property>
  2604. <description>The setting that controls how often the timeline collector
  2605. flushes the timeline writer.</description>
  2606. <name>yarn.timeline-service.writer.flush-interval-seconds</name>
  2607. <value>60</value>
  2608. </property>
  2609. <property>
  2610. <description>The setting that decides the capacity of the queue to hold
  2611. asynchronous timeline entities.</description>
  2612. <name>yarn.timeline-service.writer.async.queue.capacity</name>
  2613. <value>100</value>
  2614. </property>
  2615. <property>
  2616. <description>Time period till which the application collector will be alive
  2617. in NM, after the application master container finishes.</description>
  2618. <name>yarn.timeline-service.app-collector.linger-period.ms</name>
  2619. <value>60000</value>
  2620. </property>
  2621. <property>
  2622. <description>Time line V2 client tries to merge these many number of
  2623. async entities (if available) and then call the REST ATS V2 API to submit.
  2624. </description>
  2625. <name>yarn.timeline-service.timeline-client.number-of-async-entities-to-merge</name>
  2626. <value>10</value>
  2627. </property>
  2628. <property>
  2629. <description>
  2630. The setting that controls how long the final value
  2631. of a metric of a completed app is retained before merging into
  2632. the flow sum. Up to this time after an application is completed
  2633. out-of-order values that arrive can be recognized and discarded at the
  2634. cost of increased storage.
  2635. </description>
  2636. <name>yarn.timeline-service.hbase.coprocessor.app-final-value-retention-milliseconds
  2637. </name>
  2638. <value>259200000</value>
  2639. </property>
  2640. <property>
  2641. <description>
  2642. The setting that controls how often in-memory app level
  2643. aggregation is kicked off in timeline collector.
  2644. </description>
  2645. <name>yarn.timeline-service.app-aggregation-interval-secs</name>
  2646. <value>15</value>
  2647. </property>
  2648. <property>
  2649. <description>
  2650. The default hdfs location for flowrun coprocessor jar.
  2651. </description>
  2652. <name>yarn.timeline-service.hbase.coprocessor.jar.hdfs.location
  2653. </name>
  2654. <value>/hbase/coprocessor/hadoop-yarn-server-timelineservice.jar</value>
  2655. </property>
  2656. <property>
  2657. <description>
  2658. The value of this parameter sets the prefix for all tables that are part of
  2659. timeline service in the hbase storage schema. It can be set to "dev."
  2660. or "staging." if it is to be used for development or staging instances.
  2661. This way the data in production tables stays in a separate set of tables
  2662. prefixed by "prod.".
  2663. </description>
  2664. <name>yarn.timeline-service.hbase-schema.prefix</name>
  2665. <value>prod.</value>
  2666. </property>
  2667. <property>
  2668. <description> Optional URL to an hbase-site.xml configuration file to be
  2669. used to connect to the timeline-service hbase cluster. If empty or not
  2670. specified, then the HBase configuration will be loaded from the classpath.
  2671. When specified the values in the specified configuration file will override
  2672. those from the ones that are present on the classpath.
  2673. </description>
  2674. <name>yarn.timeline-service.hbase.configuration.file
  2675. </name>
  2676. <value></value>
  2677. </property>
  2678. <property>
  2679. <description>
  2680. Removes the UUID if represent and limit the the flowname length with
  2681. the given value for ATSv2. In case the value is negative or 0,
  2682. it only removes the UUID and does not limit the flow name.
  2683. </description>
  2684. <name>yarn.timeline-service.flowname.max-size
  2685. </name>
  2686. <value>0</value>
  2687. </property>
  2688. <!-- Shared Cache Configuration -->
  2689. <property>
  2690. <description>Whether the shared cache is enabled</description>
  2691. <name>yarn.sharedcache.enabled</name>
  2692. <value>false</value>
  2693. </property>
  2694. <property>
  2695. <description>The root directory for the shared cache</description>
  2696. <name>yarn.sharedcache.root-dir</name>
  2697. <value>/sharedcache</value>
  2698. </property>
  2699. <property>
  2700. <description>The level of nested directories before getting to the checksum
  2701. directories. It must be non-negative.</description>
  2702. <name>yarn.sharedcache.nested-level</name>
  2703. <value>3</value>
  2704. </property>
  2705. <property>
  2706. <description>The implementation to be used for the SCM store</description>
  2707. <name>yarn.sharedcache.store.class</name>
  2708. <value>org.apache.hadoop.yarn.server.sharedcachemanager.store.InMemorySCMStore</value>
  2709. </property>
  2710. <property>
  2711. <description>The implementation to be used for the SCM app-checker</description>
  2712. <name>yarn.sharedcache.app-checker.class</name>
  2713. <value>org.apache.hadoop.yarn.server.sharedcachemanager.RemoteAppChecker</value>
  2714. </property>
  2715. <property>
  2716. <description>A resource in the in-memory store is considered stale
  2717. if the time since the last reference exceeds the staleness period.
  2718. This value is specified in minutes.</description>
  2719. <name>yarn.sharedcache.store.in-memory.staleness-period-mins</name>
  2720. <value>10080</value>
  2721. </property>
  2722. <property>
  2723. <description>Initial delay before the in-memory store runs its first check
  2724. to remove dead initial applications. Specified in minutes.</description>
  2725. <name>yarn.sharedcache.store.in-memory.initial-delay-mins</name>
  2726. <value>10</value>
  2727. </property>
  2728. <property>
  2729. <description>The frequency at which the in-memory store checks to remove
  2730. dead initial applications. Specified in minutes.</description>
  2731. <name>yarn.sharedcache.store.in-memory.check-period-mins</name>
  2732. <value>720</value>
  2733. </property>
  2734. <property>
  2735. <description>The address of the admin interface in the SCM (shared cache manager)</description>
  2736. <name>yarn.sharedcache.admin.address</name>
  2737. <value>0.0.0.0:8047</value>
  2738. </property>
  2739. <property>
  2740. <description>The number of threads used to handle SCM admin interface (1 by default)</description>
  2741. <name>yarn.sharedcache.admin.thread-count</name>
  2742. <value>1</value>
  2743. </property>
  2744. <property>
  2745. <description>The address of the web application in the SCM (shared cache manager)</description>
  2746. <name>yarn.sharedcache.webapp.address</name>
  2747. <value>0.0.0.0:8788</value>
  2748. </property>
  2749. <property>
  2750. <description>The frequency at which a cleaner task runs.
  2751. Specified in minutes.</description>
  2752. <name>yarn.sharedcache.cleaner.period-mins</name>
  2753. <value>1440</value>
  2754. </property>
  2755. <property>
  2756. <description>Initial delay before the first cleaner task is scheduled.
  2757. Specified in minutes.</description>
  2758. <name>yarn.sharedcache.cleaner.initial-delay-mins</name>
  2759. <value>10</value>
  2760. </property>
  2761. <property>
  2762. <description>The time to sleep between processing each shared cache
  2763. resource. Specified in milliseconds.</description>
  2764. <name>yarn.sharedcache.cleaner.resource-sleep-ms</name>
  2765. <value>0</value>
  2766. </property>
  2767. <property>
  2768. <description>The address of the node manager interface in the SCM
  2769. (shared cache manager)</description>
  2770. <name>yarn.sharedcache.uploader.server.address</name>
  2771. <value>0.0.0.0:8046</value>
  2772. </property>
  2773. <property>
  2774. <description>The number of threads used to handle shared cache manager
  2775. requests from the node manager (50 by default)</description>
  2776. <name>yarn.sharedcache.uploader.server.thread-count</name>
  2777. <value>50</value>
  2778. </property>
  2779. <property>
  2780. <description>The address of the client interface in the SCM
  2781. (shared cache manager)</description>
  2782. <name>yarn.sharedcache.client-server.address</name>
  2783. <value>0.0.0.0:8045</value>
  2784. </property>
  2785. <property>
  2786. <description>The number of threads used to handle shared cache manager
  2787. requests from clients (50 by default)</description>
  2788. <name>yarn.sharedcache.client-server.thread-count</name>
  2789. <value>50</value>
  2790. </property>
  2791. <property>
  2792. <description>The algorithm used to compute checksums of files (SHA-256 by
  2793. default)</description>
  2794. <name>yarn.sharedcache.checksum.algo.impl</name>
  2795. <value>org.apache.hadoop.yarn.sharedcache.ChecksumSHA256Impl</value>
  2796. </property>
  2797. <property>
  2798. <description>The replication factor for the node manager uploader for the
  2799. shared cache (10 by default)</description>
  2800. <name>yarn.sharedcache.nm.uploader.replication.factor</name>
  2801. <value>10</value>
  2802. </property>
  2803. <property>
  2804. <description>The number of threads used to upload files from a node manager
  2805. instance (20 by default)</description>
  2806. <name>yarn.sharedcache.nm.uploader.thread-count</name>
  2807. <value>20</value>
  2808. </property>
  2809. <property>
  2810. <description>
  2811. ACL protocol for use in the Timeline server.
  2812. </description>
  2813. <name>security.applicationhistory.protocol.acl</name>
  2814. <value></value>
  2815. </property>
  2816. <!-- Minicluster Configuration (for testing only!) -->
  2817. <property>
  2818. <description>
  2819. Set to true for MiniYARNCluster unit tests
  2820. </description>
  2821. <name>yarn.is.minicluster</name>
  2822. <value>false</value>
  2823. </property>
  2824. <property>
  2825. <description>
  2826. Set for MiniYARNCluster unit tests to control resource monitoring
  2827. </description>
  2828. <name>yarn.minicluster.control-resource-monitoring</name>
  2829. <value>false</value>
  2830. </property>
  2831. <property>
  2832. <description>
  2833. Set to false in order to allow MiniYARNCluster to run tests without
  2834. port conflicts.
  2835. </description>
  2836. <name>yarn.minicluster.fixed.ports</name>
  2837. <value>false</value>
  2838. </property>
  2839. <property>
  2840. <description>
  2841. Set to false in order to allow the NodeManager in MiniYARNCluster to
  2842. use RPC to talk to the RM.
  2843. </description>
  2844. <name>yarn.minicluster.use-rpc</name>
  2845. <value>false</value>
  2846. </property>
  2847. <property>
  2848. <description>
  2849. As yarn.nodemanager.resource.memory-mb property but for the NodeManager
  2850. in a MiniYARNCluster.
  2851. </description>
  2852. <name>yarn.minicluster.yarn.nodemanager.resource.memory-mb</name>
  2853. <value>4096</value>
  2854. </property>
  2855. <!-- Node Labels Configuration -->
  2856. <property>
  2857. <description>
  2858. Enable node labels feature
  2859. </description>
  2860. <name>yarn.node-labels.enabled</name>
  2861. <value>false</value>
  2862. </property>
  2863. <property>
  2864. <description>
  2865. URI for NodeLabelManager. The default value is
  2866. /tmp/hadoop-yarn-${user}/node-labels/ in the local filesystem.
  2867. </description>
  2868. <name>yarn.node-labels.fs-store.root-dir</name>
  2869. <value></value>
  2870. </property>
  2871. <property>
  2872. <description>
  2873. Set configuration type for node labels. Administrators can specify
  2874. "centralized", "delegated-centralized" or "distributed".
  2875. </description>
  2876. <name>yarn.node-labels.configuration-type</name>
  2877. <value>centralized</value>
  2878. </property>
  2879. <!-- Distributed Node Labels Configuration -->
  2880. <property>
  2881. <description>
  2882. When "yarn.node-labels.configuration-type" is configured with "distributed"
  2883. in RM, Administrators can configure in NM the provider for the
  2884. node labels by configuring this parameter. Administrators can
  2885. configure "config", "script" or the class name of the provider. Configured
  2886. class needs to extend
  2887. org.apache.hadoop.yarn.server.nodemanager.nodelabels.NodeLabelsProvider.
  2888. If "config" is configured, then "ConfigurationNodeLabelsProvider" and if
  2889. "script" is configured, then "ScriptNodeLabelsProvider" will be used.
  2890. </description>
  2891. <name>yarn.nodemanager.node-labels.provider</name>
  2892. </property>
  2893. <property>
  2894. <description>
  2895. When "yarn.nodemanager.node-labels.provider" is configured with "config",
  2896. "Script" or the configured class extends AbstractNodeLabelsProvider, then
  2897. periodically node labels are retrieved from the node labels provider. This
  2898. configuration is to define the interval period.
  2899. If -1 is configured then node labels are retrieved from provider only
  2900. during initialization. Defaults to 10 mins.
  2901. </description>
  2902. <name>yarn.nodemanager.node-labels.provider.fetch-interval-ms</name>
  2903. <value>600000</value>
  2904. </property>
  2905. <property>
  2906. <description>
  2907. Interval at which NM syncs its node labels with RM. NM will send its loaded
  2908. labels every x intervals configured, along with heartbeat to RM.
  2909. </description>
  2910. <name>yarn.nodemanager.node-labels.resync-interval-ms</name>
  2911. <value>120000</value>
  2912. </property>
  2913. <property>
  2914. <description>
  2915. When "yarn.nodemanager.node-labels.provider" is configured with "config"
  2916. then ConfigurationNodeLabelsProvider fetches the partition label from this
  2917. parameter.
  2918. </description>
  2919. <name>yarn.nodemanager.node-labels.provider.configured-node-partition</name>
  2920. </property>
  2921. <property>
  2922. <description>
  2923. When "yarn.nodemanager.node-labels.provider" is configured with "Script"
  2924. then this configuration provides the timeout period after which it will
  2925. interrupt the script which queries the Node labels. Defaults to 20 mins.
  2926. </description>
  2927. <name>yarn.nodemanager.node-labels.provider.fetch-timeout-ms</name>
  2928. <value>1200000</value>
  2929. </property>
  2930. <!-- Delegated-centralized Node Labels Configuration -->
  2931. <property>
  2932. <description>
  2933. When node labels "yarn.node-labels.configuration-type" is
  2934. of type "delegated-centralized", administrators should configure
  2935. the class for fetching node labels by ResourceManager. Configured
  2936. class needs to extend
  2937. org.apache.hadoop.yarn.server.resourcemanager.nodelabels.
  2938. RMNodeLabelsMappingProvider.
  2939. </description>
  2940. <name>yarn.resourcemanager.node-labels.provider</name>
  2941. <value></value>
  2942. </property>
  2943. <property>
  2944. <description>
  2945. When "yarn.node-labels.configuration-type" is configured with
  2946. "delegated-centralized", then periodically node labels are retrieved
  2947. from the node labels provider. This configuration is to define the
  2948. interval. If -1 is configured then node labels are retrieved from
  2949. provider only once for each node after it registers. Defaults to 30 mins.
  2950. </description>
  2951. <name>yarn.resourcemanager.node-labels.provider.fetch-interval-ms</name>
  2952. <value>1800000</value>
  2953. </property>
  2954. <!-- Distributed Node Attributes Configuration -->
  2955. <property>
  2956. <description>
  2957. This property determines which provider will be plugged by the
  2958. node manager to collect node-attributes. Administrators can
  2959. configure "config", "script" or the class name of the provider.
  2960. Configured class needs to extend
  2961. org.apache.hadoop.yarn.server.nodemanager.nodelabels.NodeAttributesProvider.
  2962. If "config" is configured, then "ConfigurationNodeLabelsProvider" and if
  2963. "script" is configured, then "ScriptBasedNodeAttributesProvider"
  2964. will be used.
  2965. </description>
  2966. <name>yarn.nodemanager.node-attributes.provider</name>
  2967. </property>
  2968. <property>
  2969. <description>
  2970. The node attribute script NM runs to collect node attributes.
  2971. Script output Line starting with "NODE_ATTRIBUTE:" will be
  2972. considered as a record of node attribute, attribute name, type
  2973. and value should be delimited by comma. Each of such lines
  2974. will be parsed to a node attribute.
  2975. </description>
  2976. <name>yarn.nodemanager.node-attributes.provider.script.path</name>
  2977. </property>
  2978. <property>
  2979. <description>
  2980. Command arguments passed to the node attribute script.
  2981. </description>
  2982. <name>yarn.nodemanager.node-attributes.provider.script.opts</name>
  2983. </property>
  2984. <property>
  2985. <description>
  2986. Time interval that determines how long NM fetches node attributes
  2987. from a given provider. If -1 is configured then node labels are
  2988. retrieved from provider only during initialization. Defaults to 10 mins.
  2989. </description>
  2990. <name>yarn.nodemanager.node-attributes.provider.fetch-interval-ms</name>
  2991. <value>600000</value>
  2992. </property>
  2993. <property>
  2994. <description>
  2995. Timeout period after which NM will interrupt the node attribute
  2996. provider script which queries node attributes. Defaults to 20 mins.
  2997. </description>
  2998. <name>yarn.nodemanager.node-attributes.provider.fetch-timeout-ms</name>
  2999. <value>1200000</value>
  3000. </property>
  3001. <property>
  3002. <description>
  3003. When "yarn.nodemanager.node-attributes.provider" is configured with
  3004. "config" then ConfigurationNodeAttributesProvider fetches node attributes
  3005. from this parameter.
  3006. </description>
  3007. <name>yarn.nodemanager.node-attributes.provider.configured-node-attributes</name>
  3008. <value></value>
  3009. </property>
  3010. <property>
  3011. <description>
  3012. Interval at which NM syncs its node attributes with RM. NM will send its loaded
  3013. attributes every x intervals configured, along with heartbeat to RM.
  3014. </description>
  3015. <name>yarn.nodemanager.node-attributes.resync-interval-ms</name>
  3016. <value>120000</value>
  3017. </property>
  3018. <property>
  3019. <description>
  3020. Timeout in seconds for YARN node graceful decommission.
  3021. This is the maximal time to wait for running containers and applications to complete
  3022. before transition a DECOMMISSIONING node into DECOMMISSIONED.
  3023. </description>
  3024. <name>yarn.resourcemanager.nodemanager-graceful-decommission-timeout-secs</name>
  3025. <value>3600</value>
  3026. </property>
  3027. <property>
  3028. <description>
  3029. Timeout in seconds of DecommissioningNodesWatcher internal polling.
  3030. </description>
  3031. <name>yarn.resourcemanager.decommissioning-nodes-watcher.poll-interval-secs</name>
  3032. <value>20</value>
  3033. </property>
  3034. <property>
  3035. <description>
  3036. Used to specify custom web services for Resourcemanager. Value can be
  3037. classnames separated by comma.
  3038. Ex: org.apache.hadoop.yarn.server.resourcemanager.webapp.RMWebServices,
  3039. org.apache.hadoop.yarn.server.resourcemanager.webapp.DummyClass
  3040. </description>
  3041. <name>yarn.http.rmwebapp.external.classes</name>
  3042. <value></value>
  3043. </property>
  3044. <property>
  3045. <description>
  3046. Used to specify custom scheduler page
  3047. </description>
  3048. <name>yarn.http.rmwebapp.scheduler.page.class</name>
  3049. <value></value>
  3050. </property>
  3051. <property>
  3052. <description>
  3053. Used to specify custom DAO classes used by custom web services.
  3054. </description>
  3055. <name>yarn.http.rmwebapp.custom.dao.classes</name>
  3056. <value></value>
  3057. </property>
  3058. <property>
  3059. <description>
  3060. Used to specify custom DAO classes used by custom web services which requires
  3061. root unwrapping.
  3062. </description>
  3063. <name>yarn.http.rmwebapp.custom.unwrapped.dao.classes</name>
  3064. <value></value>
  3065. </property>
  3066. <property>
  3067. <description>
  3068. Used to specify custom WebServices class to bind with RMWebApp overriding
  3069. the default RMWebServices.
  3070. </description>
  3071. <name>yarn.webapp.custom.webservice.class</name>
  3072. <value></value>
  3073. </property>
  3074. <property>
  3075. <description>The Node Label script to run. Script output Line starting with
  3076. "NODE_PARTITION:" will be considered as Node Label Partition. In case of
  3077. multiple lines have this pattern, then last one will be considered
  3078. </description>
  3079. <name>yarn.nodemanager.node-labels.provider.script.path</name>
  3080. </property>
  3081. <property>
  3082. <description>The arguments to pass to the Node label script.</description>
  3083. <name>yarn.nodemanager.node-labels.provider.script.opts</name>
  3084. </property>
  3085. <!-- Federation Configuration -->
  3086. <property>
  3087. <description>
  3088. Flag to indicate whether the RM is participating in Federation or not.
  3089. </description>
  3090. <name>yarn.federation.enabled</name>
  3091. <value>false</value>
  3092. </property>
  3093. <property>
  3094. <description>
  3095. Machine list file to be loaded by the FederationSubCluster Resolver
  3096. </description>
  3097. <name>yarn.federation.machine-list</name>
  3098. </property>
  3099. <property>
  3100. <description>
  3101. Class name for SubClusterResolver
  3102. </description>
  3103. <name>yarn.federation.subcluster-resolver.class</name>
  3104. <value>org.apache.hadoop.yarn.server.federation.resolver.DefaultSubClusterResolverImpl</value>
  3105. </property>
  3106. <property>
  3107. <description>
  3108. Store class name for federation state store
  3109. </description>
  3110. <name>yarn.federation.state-store.class</name>
  3111. <value>org.apache.hadoop.yarn.server.federation.store.impl.MemoryFederationStateStore</value>
  3112. </property>
  3113. <property>
  3114. <description>
  3115. The time in seconds after which the federation state store local cache
  3116. will be refreshed periodically
  3117. </description>
  3118. <name>yarn.federation.cache-ttl.secs</name>
  3119. <value>300</value>
  3120. </property>
  3121. <property>
  3122. <description>The registry base directory for federation.</description>
  3123. <name>yarn.federation.registry.base-dir</name>
  3124. <value>yarnfederation/</value>
  3125. </property>
  3126. <!-- Other Configuration -->
  3127. <property>
  3128. <description>The registry implementation to use.</description>
  3129. <name>yarn.registry.class</name>
  3130. <value>org.apache.hadoop.registry.client.impl.FSRegistryOperationsService</value>
  3131. </property>
  3132. <property>
  3133. <description>The interval that the yarn client library uses to poll the
  3134. completion status of the asynchronous API of application client protocol.
  3135. </description>
  3136. <name>yarn.client.application-client-protocol.poll-interval-ms</name>
  3137. <value>200</value>
  3138. </property>
  3139. <property>
  3140. <description>
  3141. The duration (in ms) the YARN client waits for an expected state change
  3142. to occur. -1 means unlimited wait time.
  3143. </description>
  3144. <name>yarn.client.application-client-protocol.poll-timeout-ms</name>
  3145. <value>-1</value>
  3146. </property>
  3147. <property>
  3148. <description>RSS usage of a process computed via
  3149. /proc/pid/stat is not very accurate as it includes shared pages of a
  3150. process. /proc/pid/smaps provides useful information like
  3151. Private_Dirty, Private_Clean, Shared_Dirty, Shared_Clean which can be used
  3152. for computing more accurate RSS. When this flag is enabled, RSS is computed
  3153. as Min(Shared_Dirty, Pss) + Private_Clean + Private_Dirty. It excludes
  3154. read-only shared mappings in RSS computation.
  3155. </description>
  3156. <name>yarn.nodemanager.container-monitor.procfs-tree.smaps-based-rss.enabled</name>
  3157. <value>false</value>
  3158. </property>
  3159. <property>
  3160. <description>
  3161. URL for log aggregation server
  3162. </description>
  3163. <name>yarn.log.server.url</name>
  3164. <value></value>
  3165. </property>
  3166. <property>
  3167. <description>
  3168. URL for log aggregation server web service
  3169. </description>
  3170. <name>yarn.log.server.web-service.url</name>
  3171. <value></value>
  3172. </property>
  3173. <property>
  3174. <description>
  3175. RM Application Tracking URL
  3176. </description>
  3177. <name>yarn.tracking.url.generator</name>
  3178. <value></value>
  3179. </property>
  3180. <property>
  3181. <description>
  3182. Class to be used for YarnAuthorizationProvider
  3183. </description>
  3184. <name>yarn.authorization-provider</name>
  3185. <value></value>
  3186. </property>
  3187. <property>
  3188. <description>Defines how often NMs wake up to upload log files.
  3189. The default value is -1. By default, the logs will be uploaded when
  3190. the application is finished. By setting this configuration logs can
  3191. be uploaded periodically while the application is running.
  3192. The minimum positive accepted value can be configured by the setting
  3193. "yarn.nodemanager.log-aggregation.roll-monitoring-interval-seconds.min".
  3194. </description>
  3195. <name>yarn.nodemanager.log-aggregation.roll-monitoring-interval-seconds</name>
  3196. <value>-1</value>
  3197. </property>
  3198. <property>
  3199. <description>Defines the positive minimum hard limit for
  3200. "yarn.nodemanager.log-aggregation.roll-monitoring-interval-seconds".
  3201. If this configuration has been set less than its default value (3600)
  3202. the NodeManager may raise a warning.
  3203. </description>
  3204. <name>yarn.nodemanager.log-aggregation.roll-monitoring-interval-seconds.min</name>
  3205. <value>3600</value>
  3206. </property>
  3207. <property>
  3208. <description>Define how many aggregated log files per application per NM
  3209. we can have in remote file system. By default, the total number of
  3210. aggregated log files per application per NM is 30.
  3211. </description>
  3212. <name>yarn.nodemanager.log-aggregation.num-log-files-per-app</name>
  3213. <value>30</value>
  3214. </property>
  3215. <property>
  3216. <description>
  3217. Enable/disable intermediate-data encryption at YARN level. For now,
  3218. this only is used by the FileSystemRMStateStore to setup right
  3219. file-system security attributes.
  3220. </description>
  3221. <name>yarn.intermediate-data-encryption.enable</name>
  3222. <value>false</value>
  3223. </property>
  3224. <property>
  3225. <description>Flag to enable cross-origin (CORS) support in the NM. This flag
  3226. requires the CORS filter initializer to be added to the filter initializers
  3227. list in core-site.xml.</description>
  3228. <name>yarn.nodemanager.webapp.cross-origin.enabled</name>
  3229. <value>false</value>
  3230. </property>
  3231. <property>
  3232. <description>
  3233. Defines maximum application priority in a cluster.
  3234. If an application is submitted with a priority higher than this value, it will be
  3235. reset to this maximum value.
  3236. </description>
  3237. <name>yarn.cluster.max-application-priority</name>
  3238. <value>0</value>
  3239. </property>
  3240. <property>
  3241. <description>
  3242. The default log aggregation policy class. Applications can
  3243. override it via LogAggregationContext. This configuration can provide
  3244. some cluster-side default behavior so that if the application doesn't
  3245. specify any policy via LogAggregationContext administrators of the cluster
  3246. can adjust the policy globally.
  3247. </description>
  3248. <name>yarn.nodemanager.log-aggregation.policy.class</name>
  3249. <value>org.apache.hadoop.yarn.server.nodemanager.containermanager.logaggregation.AllContainerLogAggregationPolicy</value>
  3250. </property>
  3251. <property>
  3252. <description>
  3253. The default parameters for the log aggregation policy. Applications can
  3254. override it via LogAggregationContext. This configuration can provide
  3255. some cluster-side default behavior so that if the application doesn't
  3256. specify any policy via LogAggregationContext administrators of the cluster
  3257. can adjust the policy globally.
  3258. </description>
  3259. <name>yarn.nodemanager.log-aggregation.policy.parameters</name>
  3260. <value></value>
  3261. </property>
  3262. <property>
  3263. <description>
  3264. Enable/Disable AMRMProxyService in the node manager. This service is used to
  3265. intercept calls from the application masters to the resource manager.
  3266. </description>
  3267. <name>yarn.nodemanager.amrmproxy.enabled</name>
  3268. <value>false</value>
  3269. </property>
  3270. <property>
  3271. <description>
  3272. The address of the AMRMProxyService listener.
  3273. </description>
  3274. <name>yarn.nodemanager.amrmproxy.address</name>
  3275. <value>0.0.0.0:8049</value>
  3276. </property>
  3277. <property>
  3278. <description>
  3279. The number of threads used to handle requests by the AMRMProxyService.
  3280. </description>
  3281. <name>yarn.nodemanager.amrmproxy.client.thread-count</name>
  3282. <value>25</value>
  3283. </property>
  3284. <property>
  3285. <description>
  3286. The comma separated list of class names that implement the
  3287. RequestInterceptor interface. This is used by the AMRMProxyService to create
  3288. the request processing pipeline for applications.
  3289. </description>
  3290. <name>yarn.nodemanager.amrmproxy.interceptor-class.pipeline</name>
  3291. <value>org.apache.hadoop.yarn.server.nodemanager.amrmproxy.DefaultRequestInterceptor</value>
  3292. </property>
  3293. <property>
  3294. <description>
  3295. Whether AMRMProxy HA is enabled.
  3296. </description>
  3297. <name>yarn.nodemanager.amrmproxy.ha.enable</name>
  3298. <value>false</value>
  3299. </property>
  3300. <property>
  3301. <description>
  3302. Setting that controls whether distributed scheduling is enabled.
  3303. </description>
  3304. <name>yarn.nodemanager.distributed-scheduling.enabled</name>
  3305. <value>false</value>
  3306. </property>
  3307. <property>
  3308. <description>
  3309. Setting that controls whether opportunistic container allocation
  3310. is enabled.
  3311. </description>
  3312. <name>yarn.resourcemanager.opportunistic-container-allocation.enabled</name>
  3313. <value>false</value>
  3314. </property>
  3315. <property>
  3316. <description>
  3317. Maximum number of opportunistic containers to be allocated per
  3318. Application Master heartbeat.
  3319. </description>
  3320. <name>yarn.resourcemanager.opportunistic.max.container-allocation.per.am.heartbeat</name>
  3321. <value>-1</value>
  3322. </property>
  3323. <property>
  3324. <description>
  3325. Number of nodes to be used by the Opportunistic Container Allocator for
  3326. dispatching containers during container allocation.
  3327. </description>
  3328. <name>yarn.resourcemanager.opportunistic-container-allocation.nodes-used</name>
  3329. <value>10</value>
  3330. </property>
  3331. <property>
  3332. <description>
  3333. Frequency for computing least loaded NMs.
  3334. </description>
  3335. <name>yarn.resourcemanager.nm-container-queuing.sorting-nodes-interval-ms</name>
  3336. <value>1000</value>
  3337. </property>
  3338. <property>
  3339. <description>
  3340. Comparator for determining node load for Distributed Scheduling.
  3341. </description>
  3342. <name>yarn.resourcemanager.nm-container-queuing.load-comparator</name>
  3343. <value>QUEUE_LENGTH</value>
  3344. </property>
  3345. <property>
  3346. <description>
  3347. Value of standard deviation used for calculation of queue limit thresholds.
  3348. </description>
  3349. <name>yarn.resourcemanager.nm-container-queuing.queue-limit-stdev</name>
  3350. <value>1.0f</value>
  3351. </property>
  3352. <property>
  3353. <description>
  3354. Min length of container queue at NodeManager.
  3355. </description>
  3356. <name>yarn.resourcemanager.nm-container-queuing.min-queue-length</name>
  3357. <value>5</value>
  3358. </property>
  3359. <property>
  3360. <description>
  3361. Max length of container queue at NodeManager.
  3362. </description>
  3363. <name>yarn.resourcemanager.nm-container-queuing.max-queue-length</name>
  3364. <value>15</value>
  3365. </property>
  3366. <property>
  3367. <description>
  3368. Min queue wait time for a container at a NodeManager.
  3369. </description>
  3370. <name>yarn.resourcemanager.nm-container-queuing.min-queue-wait-time-ms</name>
  3371. <value>10</value>
  3372. </property>
  3373. <property>
  3374. <description>
  3375. Max queue wait time for a container queue at a NodeManager.
  3376. </description>
  3377. <name>yarn.resourcemanager.nm-container-queuing.max-queue-wait-time-ms</name>
  3378. <value>100</value>
  3379. </property>
  3380. <property>
  3381. <description>
  3382. Use container pause as the preemption policy over kill in the container
  3383. queue at a NodeManager.
  3384. </description>
  3385. <name>yarn.nodemanager.opportunistic-containers-use-pause-for-preemption</name>
  3386. <value>false</value>
  3387. </property>
  3388. <property>
  3389. <description>
  3390. Error filename pattern, to identify the file in the container's
  3391. Log directory which contain the container's error log. As error file
  3392. redirection is done by client/AM and yarn will not be aware of the error
  3393. file name. YARN uses this pattern to identify the error file and tail
  3394. the error log as diagnostics when the container execution returns non zero
  3395. value. Filename patterns are case sensitive and should match the
  3396. specifications of FileSystem.globStatus(Path) api. If multiple filenames
  3397. matches the pattern, first file matching the pattern will be picked.
  3398. </description>
  3399. <name>yarn.nodemanager.container.stderr.pattern</name>
  3400. <value>{*stderr*,*STDERR*}</value>
  3401. </property>
  3402. <property>
  3403. <description>
  3404. Size of the container error file which needs to be tailed, in bytes.
  3405. </description>
  3406. <name>yarn.nodemanager.container.stderr.tail.bytes </name>
  3407. <value>4096</value>
  3408. </property>
  3409. <property>
  3410. <description>
  3411. Choose different implementation of node label's storage
  3412. </description>
  3413. <name>yarn.node-labels.fs-store.impl.class</name>
  3414. <value>org.apache.hadoop.yarn.nodelabels.FileSystemNodeLabelsStore</value>
  3415. </property>
  3416. <property>
  3417. <description>The replication factor for the FS store
  3418. files. Default value is 0, means it will use file system
  3419. default replication.</description>
  3420. <name>yarn.fs-store.file.replication</name>
  3421. <value>0</value>
  3422. </property>
  3423. <property>
  3424. <description>
  3425. Enable the CSRF filter for the RM web app
  3426. </description>
  3427. <name>yarn.resourcemanager.webapp.rest-csrf.enabled</name>
  3428. <value>false</value>
  3429. </property>
  3430. <property>
  3431. <description>
  3432. Optional parameter that indicates the custom header name to use for CSRF
  3433. protection.
  3434. </description>
  3435. <name>yarn.resourcemanager.webapp.rest-csrf.custom-header</name>
  3436. <value>X-XSRF-Header</value>
  3437. </property>
  3438. <property>
  3439. <description>
  3440. Optional parameter that indicates the list of HTTP methods that do not
  3441. require CSRF protection
  3442. </description>
  3443. <name>yarn.resourcemanager.webapp.rest-csrf.methods-to-ignore</name>
  3444. <value>GET,OPTIONS,HEAD</value>
  3445. </property>
  3446. <property>
  3447. <description>
  3448. Enable the CSRF filter for the NM web app
  3449. </description>
  3450. <name>yarn.nodemanager.webapp.rest-csrf.enabled</name>
  3451. <value>false</value>
  3452. </property>
  3453. <property>
  3454. <description>
  3455. Optional parameter that indicates the custom header name to use for CSRF
  3456. protection.
  3457. </description>
  3458. <name>yarn.nodemanager.webapp.rest-csrf.custom-header</name>
  3459. <value>X-XSRF-Header</value>
  3460. </property>
  3461. <property>
  3462. <description>
  3463. Optional parameter that indicates the list of HTTP methods that do not
  3464. require CSRF protection
  3465. </description>
  3466. <name>yarn.nodemanager.webapp.rest-csrf.methods-to-ignore</name>
  3467. <value>GET,OPTIONS,HEAD</value>
  3468. </property>
  3469. <property>
  3470. <description>
  3471. The name of disk validator.
  3472. </description>
  3473. <name>yarn.nodemanager.disk-validator</name>
  3474. <value>basic</value>
  3475. </property>
  3476. <property>
  3477. <description>
  3478. Enable the CSRF filter for the timeline service web app
  3479. </description>
  3480. <name>yarn.timeline-service.webapp.rest-csrf.enabled</name>
  3481. <value>false</value>
  3482. </property>
  3483. <property>
  3484. <description>
  3485. Optional parameter that indicates the custom header name to use for CSRF
  3486. protection.
  3487. </description>
  3488. <name>yarn.timeline-service.webapp.rest-csrf.custom-header</name>
  3489. <value>X-XSRF-Header</value>
  3490. </property>
  3491. <property>
  3492. <description>
  3493. Optional parameter that indicates the list of HTTP methods that do not
  3494. require CSRF protection
  3495. </description>
  3496. <name>yarn.timeline-service.webapp.rest-csrf.methods-to-ignore</name>
  3497. <value>GET,OPTIONS,HEAD</value>
  3498. </property>
  3499. <property>
  3500. <description>
  3501. Enable the XFS filter for YARN
  3502. </description>
  3503. <name>yarn.webapp.xfs-filter.enabled</name>
  3504. <value>true</value>
  3505. </property>
  3506. <property>
  3507. <description>
  3508. Property specifying the xframe options value.
  3509. </description>
  3510. <name>yarn.resourcemanager.webapp.xfs-filter.xframe-options</name>
  3511. <value>SAMEORIGIN</value>
  3512. </property>
  3513. <property>
  3514. <description>
  3515. Property specifying the xframe options value.
  3516. </description>
  3517. <name>yarn.nodemanager.webapp.xfs-filter.xframe-options</name>
  3518. <value>SAMEORIGIN</value>
  3519. </property>
  3520. <property>
  3521. <description>
  3522. Property specifying the xframe options value.
  3523. </description>
  3524. <name>yarn.timeline-service.webapp.xfs-filter.xframe-options</name>
  3525. <value>SAMEORIGIN</value>
  3526. </property>
  3527. <property>
  3528. <description>
  3529. The least amount of time(msec.) an inactive (decommissioned or shutdown) node can
  3530. stay in the nodes list of the resourcemanager after being declared untracked.
  3531. A node is marked untracked if and only if it is absent from both include and
  3532. exclude nodemanager lists on the RM. All inactive nodes are checked twice per
  3533. timeout interval or every 10 minutes, whichever is lesser, and marked appropriately.
  3534. The same is done when refreshNodes command (graceful or otherwise) is invoked.
  3535. </description>
  3536. <name>yarn.resourcemanager.node-removal-untracked.timeout-ms</name>
  3537. <value>60000</value>
  3538. </property>
  3539. <property>
  3540. <description>
  3541. The RMAppLifetimeMonitor Service uses this value as monitor interval
  3542. </description>
  3543. <name>yarn.resourcemanager.application-timeouts.monitor.interval-ms</name>
  3544. <value>3000</value>
  3545. </property>
  3546. <property>
  3547. <description>
  3548. Specifies what the RM does regarding HTTPS enforcement for communication
  3549. with AM Web Servers, as well as generating and providing certificates.
  3550. Possible values are:
  3551. - NONE - the RM will do nothing special.
  3552. - LENIENT - the RM will generate and provide a keystore and truststore
  3553. to the AM, which it is free to use for HTTPS in its tracking URL web
  3554. server. The RM proxy will still allow HTTP connections to AMs that opt
  3555. not to use HTTPS.
  3556. - STRICT - this is the same as LENIENT, except that the RM proxy will
  3557. only allow HTTPS connections to AMs; HTTP connections will be blocked
  3558. and result in a warning page to the user.
  3559. </description>
  3560. <name>yarn.resourcemanager.application-https.policy</name>
  3561. <value>NONE</value>
  3562. </property>
  3563. <property>
  3564. <description>
  3565. Defines the limit of the diagnostics message of an application
  3566. attempt, in kilo characters (character count * 1024).
  3567. When using ZooKeeper to store application state behavior, its
  3568. important to limit the size of the diagnostic messages to
  3569. prevent YARN from overwhelming ZooKeeper. In cases where
  3570. yarn.resourcemanager.state-store.max-completed-applications is set to
  3571. a large number, it may be desirable to reduce the value of this property
  3572. to limit the total data stored.
  3573. </description>
  3574. <name>yarn.app.attempt.diagnostics.limit.kc</name>
  3575. <value>64</value>
  3576. </property>
  3577. <property>
  3578. <description>
  3579. Flag to enable cross-origin (CORS) support for timeline service v1.x or
  3580. Timeline Reader in timeline service v2. For timeline service v2, also add
  3581. org.apache.hadoop.security.HttpCrossOriginFilterInitializer to the
  3582. configuration hadoop.http.filter.initializers in core-site.xml.
  3583. </description>
  3584. <name>yarn.timeline-service.http-cross-origin.enabled</name>
  3585. <value>false</value>
  3586. </property>
  3587. <property>
  3588. <description>
  3589. The comma separated list of class names that implement the
  3590. RequestInterceptor interface. This is used by the RouterClientRMService
  3591. to create the request processing pipeline for users.
  3592. </description>
  3593. <name>yarn.router.clientrm.interceptor-class.pipeline</name>
  3594. <value>org.apache.hadoop.yarn.server.router.clientrm.DefaultClientRequestInterceptor</value>
  3595. </property>
  3596. <property>
  3597. <description>
  3598. The thread pool executor size of per user in Router ClientRM Service FederationClientInterceptor.
  3599. </description>
  3600. <name>yarn.router.interceptor.user.threadpool-size</name>
  3601. <value>5</value>
  3602. </property>
  3603. <property>
  3604. <description>
  3605. Size of LRU cache for Router ClientRM Service and RMAdmin Service.
  3606. </description>
  3607. <name>yarn.router.pipeline.cache-max-size</name>
  3608. <value>25</value>
  3609. </property>
  3610. <property>
  3611. <description>
  3612. The comma separated list of class names that implement the
  3613. RequestInterceptor interface. This is used by the RouterRMAdminService
  3614. to create the request processing pipeline for users.
  3615. </description>
  3616. <name>yarn.router.rmadmin.interceptor-class.pipeline</name>
  3617. <value>org.apache.hadoop.yarn.server.router.rmadmin.DefaultRMAdminRequestInterceptor</value>
  3618. </property>
  3619. <property>
  3620. <description>
  3621. The actual address the server will bind to. If this optional address is
  3622. set, the RPC and webapp servers will bind to this address and the port specified in
  3623. yarn.router.address and yarn.router.webapp.address, respectively. This is
  3624. most useful for making Router listen to all interfaces by setting to 0.0.0.0.
  3625. </description>
  3626. <name>yarn.router.bind-host</name>
  3627. <value></value>
  3628. </property>
  3629. <property>
  3630. <description>
  3631. Comma-separated list of PlacementRules to determine how applications
  3632. submitted by certain users get mapped to certain queues. Default is
  3633. user-group, which corresponds to UserGroupMappingPlacementRule.
  3634. </description>
  3635. <name>yarn.scheduler.queue-placement-rules</name>
  3636. <value>user-group</value>
  3637. </property>
  3638. <property>
  3639. <description>
  3640. The comma separated list of class names that implement the
  3641. RequestInterceptor interface. This is used by the RouterWebServices
  3642. to create the request processing pipeline for users.
  3643. </description>
  3644. <name>yarn.router.webapp.interceptor-class.pipeline</name>
  3645. <value>org.apache.hadoop.yarn.server.router.webapp.DefaultRequestInterceptorREST</value>
  3646. </property>
  3647. <property>
  3648. <description>
  3649. The http address of the Router web application.
  3650. If only a host is provided as the value,
  3651. the webapp will be served on a random port.
  3652. </description>
  3653. <name>yarn.router.webapp.address</name>
  3654. <value>0.0.0.0:8089</value>
  3655. </property>
  3656. <property>
  3657. <description>
  3658. The https address of the Router web application.
  3659. If only a host is provided as the value,
  3660. the webapp will be served on a random port.
  3661. </description>
  3662. <name> yarn.router.webapp.https.address</name>
  3663. <value>0.0.0.0:8091</value>
  3664. </property>
  3665. <property>
  3666. <description>
  3667. It is TimelineClient 1.5 configuration whether to store active
  3668. application’s timeline data with in user directory i.e
  3669. ${yarn.timeline-service.entity-group-fs-store.active-dir}/${user.name}
  3670. </description>
  3671. <name>yarn.timeline-service.entity-group-fs-store.with-user-dir</name>
  3672. <value>false</value>
  3673. </property>
  3674. <!-- resource types configuration -->
  3675. <property>
  3676. <name>yarn.resource-types</name>
  3677. <value></value>
  3678. <description>
  3679. The resource types to be used for scheduling. Use resource-types.xml
  3680. to specify details about the individual resource types.
  3681. </description>
  3682. </property>
  3683. <property>
  3684. <name>yarn.webapp.filter-entity-list-by-user</name>
  3685. <value>false</value>
  3686. <description>
  3687. Flag to enable display of applications per user as an admin
  3688. configuration.
  3689. </description>
  3690. </property>
  3691. <property>
  3692. <name>yarn.webapp.filter-invalid-xml-chars</name>
  3693. <value>false</value>
  3694. <description>
  3695. Flag to enable filter of invalid xml 1.0 characters present in the
  3696. value of diagnostics field of apps output from RM WebService.
  3697. </description>
  3698. </property>
  3699. <property>
  3700. <description>
  3701. The type of configuration store to use for scheduler configurations.
  3702. Default is "file", which uses file based capacity-scheduler.xml to
  3703. retrieve and change scheduler configuration. To enable API based
  3704. scheduler configuration, use either "memory" (in memory storage, no
  3705. persistence across restarts), "leveldb" (leveldb based storage), or
  3706. "zk" (zookeeper based storage). API based configuration is only useful
  3707. when using a scheduler which supports mutable configuration. Currently
  3708. only capacity scheduler supports this.
  3709. </description>
  3710. <name>yarn.scheduler.configuration.store.class</name>
  3711. <value>file</value>
  3712. </property>
  3713. <property>
  3714. <description>
  3715. The class to use for configuration mutation ACL policy if using a mutable
  3716. configuration provider. Controls whether a mutation request is allowed.
  3717. The DefaultConfigurationMutationACLPolicy checks if the requestor is a
  3718. YARN admin.
  3719. </description>
  3720. <name>yarn.scheduler.configuration.mutation.acl-policy.class</name>
  3721. <value>org.apache.hadoop.yarn.server.resourcemanager.scheduler.DefaultConfigurationMutationACLPolicy</value>
  3722. </property>
  3723. <property>
  3724. <description>
  3725. The storage path for LevelDB implementation of configuration store,
  3726. when yarn.scheduler.configuration.store.class is configured to be
  3727. "leveldb".
  3728. </description>
  3729. <name>yarn.scheduler.configuration.leveldb-store.path</name>
  3730. <value>${hadoop.tmp.dir}/yarn/system/confstore</value>
  3731. </property>
  3732. <property>
  3733. <description>
  3734. The compaction interval for LevelDB configuration store in secs,
  3735. when yarn.scheduler.configuration.store.class is configured to be
  3736. "leveldb". Default is one day.
  3737. </description>
  3738. <name>yarn.scheduler.configuration.leveldb-store.compaction-interval-secs</name>
  3739. <value>86400</value>
  3740. </property>
  3741. <property>
  3742. <description>
  3743. The max number of configuration change log entries kept in config
  3744. store, when yarn.scheduler.configuration.store.class is configured to be
  3745. "leveldb" or "zk". Default is 1000 for either.
  3746. </description>
  3747. <name>yarn.scheduler.configuration.store.max-logs</name>
  3748. <value>1000</value>
  3749. </property>
  3750. <property>
  3751. <description>
  3752. The file system directory to store the configuration files. The path
  3753. can be any format as long as it follows hadoop compatible schema,
  3754. for example value "file:///path/to/dir" means to store files on local
  3755. file system, value "hdfs:///path/to/dir" means to store files on HDFS.
  3756. If resource manager HA is enabled, recommended to use hdfs schema so
  3757. it works in fail-over scenario.
  3758. </description>
  3759. <name>yarn.scheduler.configuration.fs.path</name>
  3760. <value>file://${hadoop.tmp.dir}/yarn/system/schedconf</value>
  3761. </property>
  3762. <property>
  3763. <description>
  3764. The max number of configuration file in filesystem.
  3765. Default is 100 for either.
  3766. </description>
  3767. <name>yarn.scheduler.configuration.max.version</name>
  3768. <value>100</value>
  3769. </property>
  3770. <property>
  3771. <description>
  3772. ZK root node path for configuration store when using zookeeper-based
  3773. configuration store.
  3774. </description>
  3775. <name>yarn.scheduler.configuration.zk-store.parent-path</name>
  3776. <value>/confstore</value>
  3777. </property>
  3778. <property>
  3779. <description>
  3780. Provides an option for client to load supported resource types from RM
  3781. instead of depending on local resource-types.xml file.
  3782. </description>
  3783. <name>yarn.client.load.resource-types.from-server</name>
  3784. <value>false</value>
  3785. </property>
  3786. <property>
  3787. <description>
  3788. This setting controls if pluggable device framework is enabled.
  3789. Disabled by default
  3790. </description>
  3791. <name>yarn.nodemanager.pluggable-device-framework.enabled</name>
  3792. <value>false</value>
  3793. </property>
  3794. <property>
  3795. <description>
  3796. Configure vendor device plugin class name here. Comma separated.
  3797. The class must be found in CLASSPATH. The pluggable device framework will
  3798. load these classes.
  3799. </description>
  3800. <name>yarn.nodemanager.pluggable-device-framework.device-classes</name>
  3801. <value></value>
  3802. </property>
  3803. <property>
  3804. <description>
  3805. When yarn.nodemanager.resource.gpu.allowed-gpu-devices=auto specified,
  3806. YARN NodeManager needs to run GPU discovery binary (now only support
  3807. nvidia-smi) to get GPU-related information.
  3808. When value is empty (default), YARN NodeManager will try to locate
  3809. discovery executable itself.
  3810. An example of the config value is: /usr/local/bin/nvidia-smi
  3811. </description>
  3812. <name>yarn.nodemanager.resource-plugins.gpu.path-to-discovery-executables</name>
  3813. <value></value>
  3814. </property>
  3815. <property>
  3816. <description>
  3817. Enable additional discovery/isolation of resources on the NodeManager,
  3818. split by comma. By default, this is empty.
  3819. Acceptable values: { "yarn.io/gpu", "yarn.io/fpga"}.
  3820. </description>
  3821. <name>yarn.nodemanager.resource-plugins</name>
  3822. <value></value>
  3823. </property>
  3824. <property>
  3825. <description>
  3826. Specifies whether the initialization of the Node Manager should continue
  3827. if a certain device (GPU, FPGA, etc) was not found in the system. If set
  3828. to "true", then an exception will be thrown if a device is missing or
  3829. an error occurred during discovery.
  3830. </description>
  3831. <name>yarn.nodemanager.resource-plugins.fail-fast</name>
  3832. <value></value>
  3833. </property>
  3834. <property>
  3835. <description>
  3836. Specify GPU devices which can be managed by YARN NodeManager, split by comma
  3837. Number of GPU devices will be reported to RM to make scheduling decisions.
  3838. Set to auto (default) let YARN automatically discover GPU resource from
  3839. system.
  3840. Manually specify GPU devices if auto detect GPU device failed or admin
  3841. only want subset of GPU devices managed by YARN. GPU device is identified
  3842. by their minor device number and index. A common approach to get minor
  3843. device number of GPUs is using "nvidia-smi -q" and search "Minor Number"
  3844. output.
  3845. When manual specify minor numbers, admin needs to include indice of GPUs
  3846. as well, format is index:minor_number[,index:minor_number...]. An example
  3847. of manual specification is "0:0,1:1,2:2,3:4" to allow YARN NodeManager to
  3848. manage GPU devices with indice 0/1/2/3 and minor number 0/1/2/4.
  3849. numbers .
  3850. </description>
  3851. <name>yarn.nodemanager.resource-plugins.gpu.allowed-gpu-devices</name>
  3852. <value>auto</value>
  3853. </property>
  3854. <property>
  3855. <description>
  3856. Specify docker command plugin for GPU. By default uses Nvidia docker V1.
  3857. </description>
  3858. <name>yarn.nodemanager.resource-plugins.gpu.docker-plugin</name>
  3859. <value>nvidia-docker-v1</value>
  3860. </property>
  3861. <property>
  3862. <description>
  3863. Specify end point of nvidia-docker-plugin.
  3864. Please find documentation: https://github.com/NVIDIA/nvidia-docker/wiki
  3865. For more details.
  3866. </description>
  3867. <name>yarn.nodemanager.resource-plugins.gpu.docker-plugin.nvidia-docker-v1.endpoint</name>
  3868. <value>http://localhost:3476/v1.0/docker/cli</value>
  3869. </property>
  3870. <property>
  3871. <description>
  3872. Specify one vendor plugin to handle FPGA devices discovery/IP download/configure.
  3873. Only IntelFpgaOpenclPlugin is supported by default.
  3874. We only allow one NM configured with one vendor FPGA plugin now since the end user can put the same
  3875. vendor's cards in one host. And this also simplify our design.
  3876. </description>
  3877. <name>yarn.nodemanager.resource-plugins.fpga.vendor-plugin.class</name>
  3878. <value>org.apache.hadoop.yarn.server.nodemanager.containermanager.resourceplugin.fpga.IntelFpgaOpenclPlugin</value>
  3879. </property>
  3880. <property>
  3881. <description>
  3882. When yarn.nodemanager.resource.fpga.allowed-fpga-devices=auto specified,
  3883. YARN NodeManager needs to run FPGA discovery binary (now only support
  3884. IntelFpgaOpenclPlugin) to get FPGA information.
  3885. When value is empty (default), YARN NodeManager will try to locate
  3886. discovery executable from vendor plugin's preference
  3887. </description>
  3888. <name>yarn.nodemanager.resource-plugins.fpga.path-to-discovery-executables</name>
  3889. <value></value>
  3890. </property>
  3891. <property>
  3892. <description>
  3893. Specify FPGA devices which can be managed by YARN NodeManager, split by comma
  3894. Number of FPGA devices will be reported to RM to make scheduling decisions.
  3895. Set to auto (default) let YARN automatically discover FPGA resource from
  3896. system.
  3897. Manually specify FPGA devices if admin only want subset of FPGA devices managed by YARN.
  3898. At present, since we can only configure one major number in c-e.cfg, FPGA device is
  3899. identified by their minor device number. A common approach to get minor
  3900. device number of FPGA is using "aocl diagnose" and check uevent with device name.
  3901. A sample manual value for this is like "0,1"
  3902. </description>
  3903. <name>yarn.nodemanager.resource-plugins.fpga.allowed-fpga-devices</name>
  3904. <value>auto</value>
  3905. </property>
  3906. <property>
  3907. <description>
  3908. Absolute path to a script or executable that returns the available FPGA cards.
  3909. The returned string must be a single line and follow the format:
  3910. "deviceA/N:M,deviceB/X:Y". Example: "acl0/243:0,acl1/243:1". The numbers after
  3911. the "/" character are the device major and minor numbers.
  3912. When the script is enabled, auto-discovery is disabled the "aocl" command is not
  3913. invoked to verify the available cards.
  3914. </description>
  3915. <name>yarn.nodemanager.resource-plugins.fpga.device-discovery-script</name>
  3916. <value></value>
  3917. </property>
  3918. <property>
  3919. <description>
  3920. List of FPGA available devices in the given node.
  3921. The value must follow the format: "deviceA/N:M,deviceB/X:Y".
  3922. Example: "acl0/243:0,acl1/243:1". The numbers after
  3923. the "/" character are the device major and minor numbers.
  3924. When this property is used, both auto-discovery and external script are ignored.
  3925. </description>
  3926. <name>yarn.nodemanager.resource-plugins.fpga.available-devices</name>
  3927. <value></value>
  3928. </property>
  3929. <property>
  3930. <description>The http address of the timeline reader web application.</description>
  3931. <name>yarn.timeline-service.reader.webapp.address</name>
  3932. <value>${yarn.timeline-service.webapp.address}</value>
  3933. </property>
  3934. <property>
  3935. <description>The https address of the timeline reader web application.</description>
  3936. <name>yarn.timeline-service.reader.webapp.https.address</name>
  3937. <value>${yarn.timeline-service.webapp.https.address}</value>
  3938. </property>
  3939. <property>
  3940. <description>
  3941. The actual address timeline reader will bind to. If this optional address is
  3942. set, the reader server will bind to this address and the port specified in
  3943. yarn.timeline-service.reader.webapp.address.
  3944. This is most useful for making the service listen to all interfaces by setting to
  3945. 0.0.0.0.
  3946. </description>
  3947. <name>yarn.timeline-service.reader.bind-host</name>
  3948. <value></value>
  3949. </property>
  3950. <property>
  3951. <description>
  3952. Whether to enable the NUMA awareness for containers in Node Manager.
  3953. </description>
  3954. <name>yarn.nodemanager.numa-awareness.enabled</name>
  3955. <value>false</value>
  3956. </property>
  3957. <property>
  3958. <description>
  3959. Whether to read the NUMA topology from the system or from the
  3960. configurations. If the value is true then NM reads the NUMA topology from
  3961. system using the command 'numactl --hardware'. If the value is false then NM
  3962. reads the topology from the configurations
  3963. 'yarn.nodemanager.numa-awareness.node-ids'(for node id's),
  3964. 'yarn.nodemanager.numa-awareness.&lt;NODE_ID&gt;.memory'(for each node memory),
  3965. 'yarn.nodemanager.numa-awareness.&lt;NODE_ID&gt;.cpus'(for each node cpus).
  3966. </description>
  3967. <name>yarn.nodemanager.numa-awareness.read-topology</name>
  3968. <value>false</value>
  3969. </property>
  3970. <property>
  3971. <description>
  3972. NUMA node id's in the form of comma separated list. Memory and No of CPUs
  3973. will be read using the properties
  3974. 'yarn.nodemanager.numa-awareness.&lt;NODE_ID&gt;.memory' and
  3975. 'yarn.nodemanager.numa-awareness.&lt;NODE_ID&gt;.cpus' for each id specified
  3976. in this value. This property value will be read only when
  3977. 'yarn.nodemanager.numa-awareness.read-topology=false'.
  3978. For example, if yarn.nodemanager.numa-awareness.node-ids=0,1
  3979. then need to specify memory and cpus for node id's '0' and '1' like below,
  3980. yarn.nodemanager.numa-awareness.0.memory=73717
  3981. yarn.nodemanager.numa-awareness.0.cpus=4
  3982. yarn.nodemanager.numa-awareness.1.memory=73727
  3983. yarn.nodemanager.numa-awareness.1.cpus=4
  3984. </description>
  3985. <name>yarn.nodemanager.numa-awareness.node-ids</name>
  3986. <value></value>
  3987. </property>
  3988. <property>
  3989. <description>
  3990. The numactl command path which controls NUMA policy for processes or
  3991. shared memory.
  3992. </description>
  3993. <name>yarn.nodemanager.numa-awareness.numactl.cmd</name>
  3994. <value>/usr/bin/numactl</value>
  3995. </property>
  3996. <property>
  3997. <description>
  3998. Enable elastic memory control. This is a Linux only feature.
  3999. When enabled, the node manager adds a listener to receive an
  4000. event, if all the containers exceeded a limit.
  4001. The limit is specified by yarn.nodemanager.resource.memory-mb.
  4002. If this is not set, the limit is set based on the capabilities.
  4003. See yarn.nodemanager.resource.detect-hardware-capabilities
  4004. for details.
  4005. The limit applies to the physical or virtual (rss+swap) memory
  4006. depending on whether yarn.nodemanager.pmem-check-enabled or
  4007. yarn.nodemanager.vmem-check-enabled is set.
  4008. </description>
  4009. <name>yarn.nodemanager.elastic-memory-control.enabled</name>
  4010. <value>false</value>
  4011. </property>
  4012. <property>
  4013. <description>
  4014. The name of a JVM class. The class must implement the Runnable
  4015. interface. It is called,
  4016. if yarn.nodemanager.elastic-memory-control.enabled
  4017. is set and the system reaches its memory limit.
  4018. When called the handler must preempt a container,
  4019. since all containers are frozen by cgroups.
  4020. Once preempted some memory is released, so that the
  4021. kernel can resume all containers. Because of this the
  4022. handler has to act quickly.
  4023. </description>
  4024. <name>yarn.nodemanager.elastic-memory-control.oom-handler</name>
  4025. <value>org.apache.hadoop.yarn.server.nodemanager.containermanager.linux.resources.DefaultOOMHandler</value>
  4026. </property>
  4027. <property>
  4028. <description>
  4029. The path to the oom-listener tool. Elastic memory control is only
  4030. supported on Linux. It relies on kernel events. The tool forwards
  4031. these kernel events to the standard input, so that the node manager
  4032. can preempt containers, in and out-of-memory scenario.
  4033. You rarely need to update this setting.
  4034. </description>
  4035. <name>yarn.nodemanager.elastic-memory-control.oom-listener.path</name>
  4036. <value></value>
  4037. </property>
  4038. <property>
  4039. <description>
  4040. Maximum time to wait for an OOM situation to get resolved before
  4041. bringing down the node.
  4042. </description>
  4043. <name>yarn.nodemanager.elastic-memory-control.timeout-sec</name>
  4044. <value>5</value>
  4045. </property>
  4046. <property>
  4047. <description>
  4048. URI for NodeAttributeManager. The default value is
  4049. /tmp/hadoop-yarn-${user}/node-attribute/ in the local filesystem.
  4050. </description>
  4051. <name>yarn.node-attribute.fs-store.root-dir</name>
  4052. <value></value>
  4053. </property>
  4054. <property>
  4055. <description>
  4056. Choose different implementation of node attribute's storage
  4057. </description>
  4058. <name>yarn.node-attribute.fs-store.impl.class</name>
  4059. <value>org.apache.hadoop.yarn.server.resourcemanager.nodelabels.FileSystemNodeAttributeStore</value>
  4060. </property>
  4061. <!-- CSI configuration -->
  4062. <property>
  4063. <description>
  4064. CSI driver adaptor addresses on a node manager.
  4065. This configuration will be loaded by the resource manager to initiate
  4066. a client for each adaptor in order to communicate with CSI drivers.
  4067. Note, these addresses should be mapped to the adaptor addresses which
  4068. runs the controller plugin.
  4069. </description>
  4070. <name>yarn.nodemanager.csi-driver-adaptor.addresses</name>
  4071. <value></value>
  4072. </property>
  4073. <property>
  4074. <description>
  4075. CSI driver names running on this node, multiple driver names need to
  4076. be delimited by comma. The driver name should be same value returned
  4077. by the getPluginInfo call.For each of the CSI driver name, it must
  4078. to define following two corresponding properties:
  4079. "yarn.nodemanager.csi-driver.${NAME}.endpoint"
  4080. "yarn.nodemanager.csi-driver-adaptor.${NAME}.address"
  4081. The 1st property defines where the driver's endpoint is;
  4082. 2nd property defines where the mapping csi-driver-adaptor's address is.
  4083. What's more, an optional csi-driver-adaptor class can be defined
  4084. for each csi-driver:
  4085. "yarn.nodemanager.csi-driver.${NAME}.class"
  4086. once given, the adaptor will be initiated with the given class instead
  4087. of the default implementation
  4088. org.apache.hadoop.yarn.csi.adaptor.DefaultCsiAdaptorImpl. User can plug
  4089. customized adaptor code for csi-driver with this configuration
  4090. if necessary.
  4091. </description>
  4092. <name>yarn.nodemanager.csi-driver.names</name>
  4093. <value></value>
  4094. </property>
  4095. <property>
  4096. <description>The cleanup interval for activities in milliseconds.</description>
  4097. <name>yarn.resourcemanager.activities-manager.cleanup-interval-ms</name>
  4098. <value>5000</value>
  4099. </property>
  4100. <property>
  4101. <description>Time to live for scheduler activities in milliseconds.</description>
  4102. <name>yarn.resourcemanager.activities-manager.scheduler-activities.ttl-ms</name>
  4103. <value>600000</value>
  4104. </property>
  4105. <property>
  4106. <description>Time to live for app activities in milliseconds.</description>
  4107. <name>yarn.resourcemanager.activities-manager.app-activities.ttl-ms</name>
  4108. <value>600000</value>
  4109. </property>
  4110. <property>
  4111. <description>Max queue length for app activities.</description>
  4112. <name>yarn.resourcemanager.activities-manager.app-activities.max-queue-length</name>
  4113. <value>100</value>
  4114. </property>
  4115. <property>
  4116. <description>
  4117. Containers launcher implementation for determining how containers
  4118. are launched within NodeManagers.
  4119. </description>
  4120. <name>yarn.nodemanager.containers-launcher.class</name>
  4121. <value>org.apache.hadoop.yarn.server.nodemanager.containermanager.launcher.ContainersLauncher</value>
  4122. </property>
  4123. <property>
  4124. <description>
  4125. Enable the Pre processing of Application Submission context with server side configuration
  4126. </description>
  4127. <name>yarn.resourcemanager.submission-preprocessor.enabled</name>
  4128. <value>false</value>
  4129. </property>
  4130. <property>
  4131. <description>Path to file with hosts for the submission processor to handle.</description>
  4132. <name>yarn.resourcemanager.submission-preprocessor.file-path</name>
  4133. <value></value>
  4134. </property>
  4135. <property>
  4136. <description>Submission processor refresh interval</description>
  4137. <name>yarn.resourcemanager.submission-preprocessor.file-refresh-interval-ms</name>
  4138. <value>60000</value>
  4139. </property>
  4140. <property>
  4141. <description>
  4142. Comma-separated list of partitions. If a label P is in this list,
  4143. then the RM will enforce that an app has resource requests with label
  4144. P iff that app's node label expression is P.
  4145. </description>
  4146. <name>yarn.node-labels.exclusive-enforced-partitions</name>
  4147. <value></value>
  4148. </property>
  4149. <property>
  4150. <description>
  4151. Prefix used to identify the YARN tag which contains workflow ID. If a tag coming in application
  4152. submission context has this prefix, whatever follows the prefix will be considered as workflow ID
  4153. associated with the application. This configuration is used by features such as workflow priority
  4154. for identifying the workflow associated with an application.
  4155. </description>
  4156. <name>yarn.workflow-id.tag-prefix</name>
  4157. <value>workflowid:</value>
  4158. </property>
  4159. <property>
  4160. <description>Whether or not to allow application submissions via REST. Default is true.</description>
  4161. <name>yarn.webapp.enable-rest-app-submissions</name>
  4162. <value>true</value>
  4163. </property>
  4164. <property>
  4165. <description>
  4166. The maximum number of application attempts. It's a global
  4167. setting for all application masters. Each application master can specify
  4168. its individual maximum number of application attempts via the API, but the
  4169. individual number cannot be more than the global upper bound. If it is,
  4170. the resourcemanager will override it. The default number value is set to
  4171. yarn.resourcemanager.am.max-attempts.
  4172. </description>
  4173. <name>yarn.resourcemanager.am.global.max-attempts</name>
  4174. <value></value>
  4175. </property>
  4176. <property>
  4177. <description>Max number of application tags set by user in ApplicationSubmissionContext
  4178. while submitting application</description>
  4179. <name>yarn.resourcemanager.application.max-tags</name>
  4180. <value>10</value>
  4181. </property>
  4182. <property>
  4183. <description>Max length of each application tag set by user in ApplicationSubmissionContext
  4184. while submitting application.</description>
  4185. <name>yarn.resourcemanager.application.max-tag.length</name>
  4186. <value>100</value>
  4187. </property>
  4188. </configuration>