hdfs-default.xml 172 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210
  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 hdfs-site.xml and change them -->
  19. <!-- there. If hdfs-site.xml does not already exist, create it. -->
  20. <configuration>
  21. <property>
  22. <name>hadoop.hdfs.configuration.version</name>
  23. <value>1</value>
  24. <description>version of this configuration file</description>
  25. </property>
  26. <property>
  27. <name>dfs.namenode.rpc-address</name>
  28. <value></value>
  29. <description>
  30. RPC address that handles all clients requests. In the case of HA/Federation where multiple namenodes exist,
  31. the name service id is added to the name e.g. dfs.namenode.rpc-address.ns1
  32. dfs.namenode.rpc-address.EXAMPLENAMESERVICE
  33. The value of this property will take the form of nn-host1:rpc-port. The NameNode's default RPC port is 9820.
  34. </description>
  35. </property>
  36. <property>
  37. <name>dfs.namenode.rpc-bind-host</name>
  38. <value></value>
  39. <description>
  40. The actual address the RPC server will bind to. If this optional address is
  41. set, it overrides only the hostname portion of dfs.namenode.rpc-address.
  42. It can also be specified per name node or name service for HA/Federation.
  43. This is useful for making the name node listen on all interfaces by
  44. setting it to 0.0.0.0.
  45. </description>
  46. </property>
  47. <property>
  48. <name>dfs.namenode.servicerpc-address</name>
  49. <value></value>
  50. <description>
  51. RPC address for HDFS Services communication. BackupNode, Datanodes and all other services should be
  52. connecting to this address if it is configured. In the case of HA/Federation where multiple namenodes exist,
  53. the name service id is added to the name e.g. dfs.namenode.servicerpc-address.ns1
  54. dfs.namenode.rpc-address.EXAMPLENAMESERVICE
  55. The value of this property will take the form of nn-host1:rpc-port.
  56. If the value of this property is unset the value of dfs.namenode.rpc-address will be used as the default.
  57. </description>
  58. </property>
  59. <property>
  60. <name>dfs.namenode.servicerpc-bind-host</name>
  61. <value></value>
  62. <description>
  63. The actual address the service RPC server will bind to. If this optional address is
  64. set, it overrides only the hostname portion of dfs.namenode.servicerpc-address.
  65. It can also be specified per name node or name service for HA/Federation.
  66. This is useful for making the name node listen on all interfaces by
  67. setting it to 0.0.0.0.
  68. </description>
  69. </property>
  70. <property>
  71. <name>dfs.namenode.lifeline.rpc-address</name>
  72. <value></value>
  73. <description>
  74. NameNode RPC lifeline address. This is an optional separate RPC address
  75. that can be used to isolate health checks and liveness to protect against
  76. resource exhaustion in the main RPC handler pool. In the case of
  77. HA/Federation where multiple NameNodes exist, the name service ID is added
  78. to the name e.g. dfs.namenode.lifeline.rpc-address.ns1. The value of this
  79. property will take the form of nn-host1:rpc-port. If this property is not
  80. defined, then the NameNode will not start a lifeline RPC server. By
  81. default, the property is not defined.
  82. </description>
  83. </property>
  84. <property>
  85. <name>dfs.namenode.lifeline.rpc-bind-host</name>
  86. <value></value>
  87. <description>
  88. The actual address the lifeline RPC server will bind to. If this optional
  89. address is set, it overrides only the hostname portion of
  90. dfs.namenode.lifeline.rpc-address. It can also be specified per name node
  91. or name service for HA/Federation. This is useful for making the name node
  92. listen on all interfaces by setting it to 0.0.0.0.
  93. </description>
  94. </property>
  95. <property>
  96. <name>dfs.namenode.secondary.http-address</name>
  97. <value>0.0.0.0:9868</value>
  98. <description>
  99. The secondary namenode http server address and port.
  100. </description>
  101. </property>
  102. <property>
  103. <name>dfs.namenode.secondary.https-address</name>
  104. <value>0.0.0.0:9869</value>
  105. <description>
  106. The secondary namenode HTTPS server address and port.
  107. </description>
  108. </property>
  109. <property>
  110. <name>dfs.datanode.address</name>
  111. <value>0.0.0.0:9866</value>
  112. <description>
  113. The datanode server address and port for data transfer.
  114. </description>
  115. </property>
  116. <property>
  117. <name>dfs.datanode.http.address</name>
  118. <value>0.0.0.0:9864</value>
  119. <description>
  120. The datanode http server address and port.
  121. </description>
  122. </property>
  123. <property>
  124. <name>dfs.datanode.ipc.address</name>
  125. <value>0.0.0.0:9867</value>
  126. <description>
  127. The datanode ipc server address and port.
  128. </description>
  129. </property>
  130. <property>
  131. <name>dfs.datanode.http.internal-proxy.port</name>
  132. <value>0</value>
  133. <description>
  134. The datanode's internal web proxy port.
  135. By default it selects a random port available in runtime.
  136. </description>
  137. </property>
  138. <property>
  139. <name>dfs.datanode.handler.count</name>
  140. <value>10</value>
  141. <description>The number of server threads for the datanode.</description>
  142. </property>
  143. <property>
  144. <name>dfs.namenode.http-address</name>
  145. <value>0.0.0.0:9870</value>
  146. <description>
  147. The address and the base port where the dfs namenode web ui will listen on.
  148. </description>
  149. </property>
  150. <property>
  151. <name>dfs.namenode.http-bind-host</name>
  152. <value></value>
  153. <description>
  154. The actual address the HTTP server will bind to. If this optional address
  155. is set, it overrides only the hostname portion of dfs.namenode.http-address.
  156. It can also be specified per name node or name service for HA/Federation.
  157. This is useful for making the name node HTTP server listen on all
  158. interfaces by setting it to 0.0.0.0.
  159. </description>
  160. </property>
  161. <property>
  162. <name>dfs.namenode.heartbeat.recheck-interval</name>
  163. <value>300000</value>
  164. <description>
  165. This time decides the interval to check for expired datanodes.
  166. With this value and dfs.heartbeat.interval, the interval of
  167. deciding the datanode is stale or not is also calculated.
  168. The unit of this configuration is millisecond.
  169. </description>
  170. </property>
  171. <property>
  172. <name>dfs.http.policy</name>
  173. <value>HTTP_ONLY</value>
  174. <description>Decide if HTTPS(SSL) is supported on HDFS
  175. This configures the HTTP endpoint for HDFS daemons:
  176. The following values are supported:
  177. - HTTP_ONLY : Service is provided only on http
  178. - HTTPS_ONLY : Service is provided only on https
  179. - HTTP_AND_HTTPS : Service is provided both on http and https
  180. </description>
  181. </property>
  182. <property>
  183. <name>dfs.client.https.need-auth</name>
  184. <value>false</value>
  185. <description>Whether SSL client certificate authentication is required
  186. </description>
  187. </property>
  188. <property>
  189. <name>dfs.client.cached.conn.retry</name>
  190. <value>3</value>
  191. <description>The number of times the HDFS client will pull a socket from the
  192. cache. Once this number is exceeded, the client will try to create a new
  193. socket.
  194. </description>
  195. </property>
  196. <property>
  197. <name>dfs.https.server.keystore.resource</name>
  198. <value>ssl-server.xml</value>
  199. <description>Resource file from which ssl server keystore
  200. information will be extracted
  201. </description>
  202. </property>
  203. <property>
  204. <name>dfs.client.https.keystore.resource</name>
  205. <value>ssl-client.xml</value>
  206. <description>Resource file from which ssl client keystore
  207. information will be extracted
  208. </description>
  209. </property>
  210. <property>
  211. <name>dfs.datanode.https.address</name>
  212. <value>0.0.0.0:9865</value>
  213. <description>The datanode secure http server address and port.</description>
  214. </property>
  215. <property>
  216. <name>dfs.namenode.https-address</name>
  217. <value>0.0.0.0:9871</value>
  218. <description>The namenode secure http server address and port.</description>
  219. </property>
  220. <property>
  221. <name>dfs.namenode.https-bind-host</name>
  222. <value></value>
  223. <description>
  224. The actual address the HTTPS server will bind to. If this optional address
  225. is set, it overrides only the hostname portion of dfs.namenode.https-address.
  226. It can also be specified per name node or name service for HA/Federation.
  227. This is useful for making the name node HTTPS server listen on all
  228. interfaces by setting it to 0.0.0.0.
  229. </description>
  230. </property>
  231. <property>
  232. <name>dfs.datanode.dns.interface</name>
  233. <value>default</value>
  234. <description>
  235. The name of the Network Interface from which a data node should
  236. report its IP address. e.g. eth2. This setting may be required for some
  237. multi-homed nodes where the DataNodes are assigned multiple hostnames
  238. and it is desirable for the DataNodes to use a non-default hostname.
  239. Prefer using hadoop.security.dns.interface over
  240. dfs.datanode.dns.interface.
  241. </description>
  242. </property>
  243. <property>
  244. <name>dfs.datanode.dns.nameserver</name>
  245. <value>default</value>
  246. <description>
  247. The host name or IP address of the name server (DNS) which a DataNode
  248. should use to determine its own host name.
  249. Prefer using hadoop.security.dns.nameserver over
  250. dfs.datanode.dns.nameserver.
  251. </description>
  252. </property>
  253. <property>
  254. <name>dfs.namenode.backup.address</name>
  255. <value>0.0.0.0:50100</value>
  256. <description>
  257. The backup node server address and port.
  258. If the port is 0 then the server will start on a free port.
  259. </description>
  260. </property>
  261. <property>
  262. <name>dfs.namenode.backup.http-address</name>
  263. <value>0.0.0.0:50105</value>
  264. <description>
  265. The backup node http server address and port.
  266. If the port is 0 then the server will start on a free port.
  267. </description>
  268. </property>
  269. <property>
  270. <name>dfs.namenode.redundancy.considerLoad</name>
  271. <value>true</value>
  272. <description>Decide if chooseTarget considers the target's load or not
  273. </description>
  274. </property>
  275. <property>
  276. <name>dfs.namenode.redundancy.considerLoad.factor</name>
  277. <value>2.0</value>
  278. <description>The factor by which a node's load can exceed the average
  279. before being rejected for writes, only if considerLoad is true.
  280. </description>
  281. </property>
  282. <property>
  283. <name>dfs.default.chunk.view.size</name>
  284. <value>32768</value>
  285. <description>The number of bytes to view for a file on the browser.
  286. </description>
  287. </property>
  288. <property>
  289. <name>dfs.datanode.du.reserved</name>
  290. <value>0</value>
  291. <description>Reserved space in bytes per volume. Always leave this much space free for non dfs use.
  292. Specific storage type based reservation is also supported. The property can be followed with
  293. corresponding storage types ([ssd]/[disk]/[archive]/[ram_disk]) for cluster with heterogeneous storage.
  294. For example, reserved space for RAM_DISK storage can be configured using property
  295. 'dfs.datanode.du.reserved.ram_disk'. If specific storage type reservation is not configured
  296. then dfs.datanode.du.reserved will be used.
  297. </description>
  298. </property>
  299. <property>
  300. <name>dfs.namenode.name.dir</name>
  301. <value>file://${hadoop.tmp.dir}/dfs/name</value>
  302. <description>Determines where on the local filesystem the DFS name node
  303. should store the name table(fsimage). If this is a comma-delimited list
  304. of directories then the name table is replicated in all of the
  305. directories, for redundancy. </description>
  306. </property>
  307. <property>
  308. <name>dfs.namenode.name.dir.restore</name>
  309. <value>false</value>
  310. <description>Set to true to enable NameNode to attempt recovering a
  311. previously failed dfs.namenode.name.dir. When enabled, a recovery of any
  312. failed directory is attempted during checkpoint.</description>
  313. </property>
  314. <property>
  315. <name>dfs.namenode.fs-limits.max-component-length</name>
  316. <value>255</value>
  317. <description>Defines the maximum number of bytes in UTF-8 encoding in each
  318. component of a path. A value of 0 will disable the check.</description>
  319. </property>
  320. <property>
  321. <name>dfs.namenode.fs-limits.max-directory-items</name>
  322. <value>1048576</value>
  323. <description>Defines the maximum number of items that a directory may
  324. contain. Cannot set the property to a value less than 1 or more than
  325. 6400000.</description>
  326. </property>
  327. <property>
  328. <name>dfs.namenode.fs-limits.min-block-size</name>
  329. <value>1048576</value>
  330. <description>Minimum block size in bytes, enforced by the Namenode at create
  331. time. This prevents the accidental creation of files with tiny block
  332. sizes (and thus many blocks), which can degrade
  333. performance.</description>
  334. </property>
  335. <property>
  336. <name>dfs.namenode.fs-limits.max-blocks-per-file</name>
  337. <value>10000</value>
  338. <description>Maximum number of blocks per file, enforced by the Namenode on
  339. write. This prevents the creation of extremely large files which can
  340. degrade performance.</description>
  341. </property>
  342. <property>
  343. <name>dfs.namenode.edits.dir</name>
  344. <value>${dfs.namenode.name.dir}</value>
  345. <description>Determines where on the local filesystem the DFS name node
  346. should store the transaction (edits) file. If this is a comma-delimited list
  347. of directories then the transaction file is replicated in all of the
  348. directories, for redundancy. Default value is same as dfs.namenode.name.dir
  349. </description>
  350. </property>
  351. <property>
  352. <name>dfs.namenode.edits.dir.required</name>
  353. <value></value>
  354. <description>This should be a subset of dfs.namenode.edits.dir,
  355. to ensure that the transaction (edits) file
  356. in these places is always up-to-date.
  357. </description>
  358. </property>
  359. <property>
  360. <name>dfs.namenode.shared.edits.dir</name>
  361. <value></value>
  362. <description>A directory on shared storage between the multiple namenodes
  363. in an HA cluster. This directory will be written by the active and read
  364. by the standby in order to keep the namespaces synchronized. This directory
  365. does not need to be listed in dfs.namenode.edits.dir above. It should be
  366. left empty in a non-HA cluster.
  367. </description>
  368. </property>
  369. <property>
  370. <name>dfs.namenode.edits.journal-plugin.qjournal</name>
  371. <value>org.apache.hadoop.hdfs.qjournal.client.QuorumJournalManager</value>
  372. </property>
  373. <property>
  374. <name>dfs.permissions.enabled</name>
  375. <value>true</value>
  376. <description>
  377. If "true", enable permission checking in HDFS.
  378. If "false", permission checking is turned off,
  379. but all other behavior is unchanged.
  380. Switching from one parameter value to the other does not change the mode,
  381. owner or group of files or directories.
  382. </description>
  383. </property>
  384. <property>
  385. <name>dfs.permissions.superusergroup</name>
  386. <value>supergroup</value>
  387. <description>The name of the group of super-users.
  388. The value should be a single group name.
  389. </description>
  390. </property>
  391. <property>
  392. <name>dfs.cluster.administrators</name>
  393. <value></value>
  394. <description>ACL for the admins, this configuration is used to control
  395. who can access the default servlets in the namenode, etc. The value
  396. should be a comma separated list of users and groups. The user list
  397. comes first and is separated by a space followed by the group list,
  398. e.g. "user1,user2 group1,group2". Both users and groups are optional,
  399. so "user1", " group1", "", "user1 group1", "user1,user2 group1,group2"
  400. are all valid (note the leading space in " group1"). '*' grants access
  401. to all users and groups, e.g. '*', '* ' and ' *' are all valid.
  402. </description>
  403. </property>
  404. <property>
  405. <name>dfs.namenode.acls.enabled</name>
  406. <value>false</value>
  407. <description>
  408. Set to true to enable support for HDFS ACLs (Access Control Lists). By
  409. default, ACLs are disabled. When ACLs are disabled, the NameNode rejects
  410. all RPCs related to setting or getting ACLs.
  411. </description>
  412. </property>
  413. <property>
  414. <name>dfs.namenode.posix.acl.inheritance.enabled</name>
  415. <value>true</value>
  416. <description>
  417. Set to true to enable POSIX style ACL inheritance. When it is enabled
  418. and the create request comes from a compatible client, the NameNode
  419. will apply default ACLs from the parent directory to the create mode
  420. and ignore the client umask. If no default ACL found, it will apply the
  421. client umask.
  422. </description>
  423. </property>
  424. <property>
  425. <name>dfs.namenode.lazypersist.file.scrub.interval.sec</name>
  426. <value>300</value>
  427. <description>
  428. The NameNode periodically scans the namespace for LazyPersist files with
  429. missing blocks and unlinks them from the namespace. This configuration key
  430. controls the interval between successive scans. If this value is set to 0,
  431. the file scrubber is disabled.
  432. </description>
  433. </property>
  434. <property>
  435. <name>dfs.block.access.token.enable</name>
  436. <value>false</value>
  437. <description>
  438. If "true", access tokens are used as capabilities for accessing datanodes.
  439. If "false", no access tokens are checked on accessing datanodes.
  440. </description>
  441. </property>
  442. <property>
  443. <name>dfs.block.access.key.update.interval</name>
  444. <value>600</value>
  445. <description>
  446. Interval in minutes at which namenode updates its access keys.
  447. </description>
  448. </property>
  449. <property>
  450. <name>dfs.block.access.token.lifetime</name>
  451. <value>600</value>
  452. <description>The lifetime of access tokens in minutes.</description>
  453. </property>
  454. <property>
  455. <name>dfs.block.access.token.protobuf.enable</name>
  456. <value>false</value>
  457. <description>
  458. If "true", block tokens are written using Protocol Buffers.
  459. If "false", block tokens are written using Legacy format.
  460. </description>
  461. </property>
  462. <property>
  463. <name>dfs.datanode.data.dir</name>
  464. <value>file://${hadoop.tmp.dir}/dfs/data</value>
  465. <description>Determines where on the local filesystem an DFS data node
  466. should store its blocks. If this is a comma-delimited
  467. list of directories, then data will be stored in all named
  468. directories, typically on different devices. The directories should be tagged
  469. with corresponding storage types ([SSD]/[DISK]/[ARCHIVE]/[RAM_DISK]) for HDFS
  470. storage policies. The default storage type will be DISK if the directory does
  471. not have a storage type tagged explicitly. Directories that do not exist will
  472. be created if local filesystem permission allows.
  473. </description>
  474. </property>
  475. <property>
  476. <name>dfs.datanode.data.dir.perm</name>
  477. <value>700</value>
  478. <description>Permissions for the directories on on the local filesystem where
  479. the DFS data node store its blocks. The permissions can either be octal or
  480. symbolic.</description>
  481. </property>
  482. <property>
  483. <name>dfs.replication</name>
  484. <value>3</value>
  485. <description>Default block replication.
  486. The actual number of replications can be specified when the file is created.
  487. The default is used if replication is not specified in create time.
  488. </description>
  489. </property>
  490. <property>
  491. <name>dfs.replication.max</name>
  492. <value>512</value>
  493. <description>Maximal block replication.
  494. </description>
  495. </property>
  496. <property>
  497. <name>dfs.namenode.replication.min</name>
  498. <value>1</value>
  499. <description>Minimal block replication.
  500. </description>
  501. </property>
  502. <property>
  503. <name>dfs.namenode.maintenance.replication.min</name>
  504. <value>1</value>
  505. <description>Minimal live block replication in existence of maintenance mode.
  506. </description>
  507. </property>
  508. <property>
  509. <name>dfs.namenode.safemode.replication.min</name>
  510. <value></value>
  511. <description>
  512. a separate minimum replication factor for calculating safe block count.
  513. This is an expert level setting.
  514. Setting this lower than the dfs.namenode.replication.min
  515. is not recommend and/or dangerous for production setups.
  516. When it's not set it takes value from dfs.namenode.replication.min
  517. </description>
  518. </property>
  519. <property>
  520. <name>dfs.blocksize</name>
  521. <value>134217728</value>
  522. <description>
  523. The default block size for new files, in bytes.
  524. You can use the following suffix (case insensitive):
  525. k(kilo), m(mega), g(giga), t(tera), p(peta), e(exa) to specify the size (such as 128k, 512m, 1g, etc.),
  526. Or provide complete size in bytes (such as 134217728 for 128 MB).
  527. </description>
  528. </property>
  529. <property>
  530. <name>dfs.client.block.write.retries</name>
  531. <value>3</value>
  532. <description>The number of retries for writing blocks to the data nodes,
  533. before we signal failure to the application.
  534. </description>
  535. </property>
  536. <property>
  537. <name>dfs.client.block.write.replace-datanode-on-failure.enable</name>
  538. <value>true</value>
  539. <description>
  540. If there is a datanode/network failure in the write pipeline,
  541. DFSClient will try to remove the failed datanode from the pipeline
  542. and then continue writing with the remaining datanodes. As a result,
  543. the number of datanodes in the pipeline is decreased. The feature is
  544. to add new datanodes to the pipeline.
  545. This is a site-wide property to enable/disable the feature.
  546. When the cluster size is extremely small, e.g. 3 nodes or less, cluster
  547. administrators may want to set the policy to NEVER in the default
  548. configuration file or disable this feature. Otherwise, users may
  549. experience an unusually high rate of pipeline failures since it is
  550. impossible to find new datanodes for replacement.
  551. See also dfs.client.block.write.replace-datanode-on-failure.policy
  552. </description>
  553. </property>
  554. <property>
  555. <name>dfs.client.block.write.replace-datanode-on-failure.policy</name>
  556. <value>DEFAULT</value>
  557. <description>
  558. This property is used only if the value of
  559. dfs.client.block.write.replace-datanode-on-failure.enable is true.
  560. ALWAYS: always add a new datanode when an existing datanode is removed.
  561. NEVER: never add a new datanode.
  562. DEFAULT:
  563. Let r be the replication number.
  564. Let n be the number of existing datanodes.
  565. Add a new datanode only if r is greater than or equal to 3 and either
  566. (1) floor(r/2) is greater than or equal to n; or
  567. (2) r is greater than n and the block is hflushed/appended.
  568. </description>
  569. </property>
  570. <property>
  571. <name>dfs.client.block.write.replace-datanode-on-failure.best-effort</name>
  572. <value>false</value>
  573. <description>
  574. This property is used only if the value of
  575. dfs.client.block.write.replace-datanode-on-failure.enable is true.
  576. Best effort means that the client will try to replace a failed datanode
  577. in write pipeline (provided that the policy is satisfied), however, it
  578. continues the write operation in case that the datanode replacement also
  579. fails.
  580. Suppose the datanode replacement fails.
  581. false: An exception should be thrown so that the write will fail.
  582. true : The write should be resumed with the remaining datandoes.
  583. Note that setting this property to true allows writing to a pipeline
  584. with a smaller number of datanodes. As a result, it increases the
  585. probability of data loss.
  586. </description>
  587. </property>
  588. <property>
  589. <name>dfs.client.block.write.replace-datanode-on-failure.min-replication</name>
  590. <value>0</value>
  591. <description>
  592. The minimum number of replications that are needed to not to fail
  593. the write pipeline if new datanodes can not be found to replace
  594. failed datanodes (could be due to network failure) in the write pipeline.
  595. If the number of the remaining datanodes in the write pipeline is greater
  596. than or equal to this property value, continue writing to the remaining nodes.
  597. Otherwise throw exception.
  598. If this is set to 0, an exception will be thrown, when a replacement
  599. can not be found.
  600. See also dfs.client.block.write.replace-datanode-on-failure.policy
  601. </description>
  602. </property>
  603. <property>
  604. <name>dfs.blockreport.intervalMsec</name>
  605. <value>21600000</value>
  606. <description>Determines block reporting interval in milliseconds.</description>
  607. </property>
  608. <property>
  609. <name>dfs.blockreport.initialDelay</name>
  610. <value>0s</value>
  611. <description>
  612. Delay for first block report in seconds. Support multiple time unit
  613. suffix(case insensitive), as described in dfs.heartbeat.interval.
  614. </description>
  615. </property>
  616. <property>
  617. <name>dfs.blockreport.split.threshold</name>
  618. <value>1000000</value>
  619. <description>If the number of blocks on the DataNode is below this
  620. threshold then it will send block reports for all Storage Directories
  621. in a single message.
  622. If the number of blocks exceeds this threshold then the DataNode will
  623. send block reports for each Storage Directory in separate messages.
  624. Set to zero to always split.
  625. </description>
  626. </property>
  627. <property>
  628. <name>dfs.namenode.max.full.block.report.leases</name>
  629. <value>6</value>
  630. <description>The maximum number of leases for full block reports that the
  631. NameNode will issue at any given time. This prevents the NameNode from
  632. being flooded with full block reports that use up all the RPC handler
  633. threads. This number should never be more than the number of RPC handler
  634. threads or less than 1.
  635. </description>
  636. </property>
  637. <property>
  638. <name>dfs.namenode.full.block.report.lease.length.ms</name>
  639. <value>300000</value>
  640. <description>
  641. The number of milliseconds that the NameNode will wait before invalidating
  642. a full block report lease. This prevents a crashed DataNode from
  643. permanently using up a full block report lease.
  644. </description>
  645. </property>
  646. <property>
  647. <name>dfs.datanode.directoryscan.interval</name>
  648. <value>21600s</value>
  649. <description>Interval in seconds for Datanode to scan data directories and
  650. reconcile the difference between blocks in memory and on the disk.
  651. Support multiple time unit suffix(case insensitive), as described
  652. in dfs.heartbeat.interval.
  653. </description>
  654. </property>
  655. <property>
  656. <name>dfs.datanode.directoryscan.threads</name>
  657. <value>1</value>
  658. <description>How many threads should the threadpool used to compile reports
  659. for volumes in parallel have.
  660. </description>
  661. </property>
  662. <property>
  663. <name>dfs.datanode.directoryscan.throttle.limit.ms.per.sec</name>
  664. <value>1000</value>
  665. <description>The report compilation threads are limited to only running for
  666. a given number of milliseconds per second, as configured by the
  667. property. The limit is taken per thread, not in aggregate, e.g. setting
  668. a limit of 100ms for 4 compiler threads will result in each thread being
  669. limited to 100ms, not 25ms.
  670. Note that the throttle does not interrupt the report compiler threads, so the
  671. actual running time of the threads per second will typically be somewhat
  672. higher than the throttle limit, usually by no more than 20%.
  673. Setting this limit to 1000 disables compiler thread throttling. Only
  674. values between 1 and 1000 are valid. Setting an invalid value will result
  675. in the throttle being disabled and an error message being logged. 1000 is
  676. the default setting.
  677. </description>
  678. </property>
  679. <property>
  680. <name>dfs.heartbeat.interval</name>
  681. <value>3s</value>
  682. <description>
  683. Determines datanode heartbeat interval in seconds.
  684. Can use the following suffix (case insensitive):
  685. ms(millis), s(sec), m(min), h(hour), d(day)
  686. to specify the time (such as 2s, 2m, 1h, etc.).
  687. Or provide complete number in seconds (such as 30 for 30 seconds).
  688. </description>
  689. </property>
  690. <property>
  691. <name>dfs.datanode.lifeline.interval.seconds</name>
  692. <value></value>
  693. <description>
  694. Sets the interval in seconds between sending DataNode Lifeline Protocol
  695. messages from the DataNode to the NameNode. The value must be greater than
  696. the value of dfs.heartbeat.interval. If this property is not defined, then
  697. the default behavior is to calculate the interval as 3x the value of
  698. dfs.heartbeat.interval. Note that normal heartbeat processing may cause the
  699. DataNode to postpone sending lifeline messages if they are not required.
  700. Under normal operations with speedy heartbeat processing, it is possible
  701. that no lifeline messages will need to be sent at all. This property has no
  702. effect if dfs.namenode.lifeline.rpc-address is not defined.
  703. </description>
  704. </property>
  705. <property>
  706. <name>dfs.namenode.handler.count</name>
  707. <value>10</value>
  708. <description>The number of Namenode RPC server threads that listen to
  709. requests from clients.
  710. If dfs.namenode.servicerpc-address is not configured then
  711. Namenode RPC server threads listen to requests from all nodes.
  712. </description>
  713. </property>
  714. <property>
  715. <name>dfs.namenode.service.handler.count</name>
  716. <value>10</value>
  717. <description>The number of Namenode RPC server threads that listen to
  718. requests from DataNodes and from all other non-client nodes.
  719. dfs.namenode.service.handler.count will be valid only if
  720. dfs.namenode.servicerpc-address is configured.
  721. </description>
  722. </property>
  723. <property>
  724. <name>dfs.namenode.lifeline.handler.ratio</name>
  725. <value>0.10</value>
  726. <description>
  727. A ratio applied to the value of dfs.namenode.handler.count, which then
  728. provides the number of RPC server threads the NameNode runs for handling the
  729. lifeline RPC server. For example, if dfs.namenode.handler.count is 100, and
  730. dfs.namenode.lifeline.handler.factor is 0.10, then the NameNode starts
  731. 100 * 0.10 = 10 threads for handling the lifeline RPC server. It is common
  732. to tune the value of dfs.namenode.handler.count as a function of the number
  733. of DataNodes in a cluster. Using this property allows for the lifeline RPC
  734. server handler threads to be tuned automatically without needing to touch a
  735. separate property. Lifeline message processing is lightweight, so it is
  736. expected to require many fewer threads than the main NameNode RPC server.
  737. This property is not used if dfs.namenode.lifeline.handler.count is defined,
  738. which sets an absolute thread count. This property has no effect if
  739. dfs.namenode.lifeline.rpc-address is not defined.
  740. </description>
  741. </property>
  742. <property>
  743. <name>dfs.namenode.lifeline.handler.count</name>
  744. <value></value>
  745. <description>
  746. Sets an absolute number of RPC server threads the NameNode runs for handling
  747. the DataNode Lifeline Protocol and HA health check requests from ZKFC. If
  748. this property is defined, then it overrides the behavior of
  749. dfs.namenode.lifeline.handler.ratio. By default, it is not defined. This
  750. property has no effect if dfs.namenode.lifeline.rpc-address is not defined.
  751. </description>
  752. </property>
  753. <property>
  754. <name>dfs.namenode.safemode.threshold-pct</name>
  755. <value>0.999f</value>
  756. <description>
  757. Specifies the percentage of blocks that should satisfy
  758. the minimal replication requirement defined by dfs.namenode.replication.min.
  759. Values less than or equal to 0 mean not to wait for any particular
  760. percentage of blocks before exiting safemode.
  761. Values greater than 1 will make safe mode permanent.
  762. </description>
  763. </property>
  764. <property>
  765. <name>dfs.namenode.safemode.min.datanodes</name>
  766. <value>0</value>
  767. <description>
  768. Specifies the number of datanodes that must be considered alive
  769. before the name node exits safemode.
  770. Values less than or equal to 0 mean not to take the number of live
  771. datanodes into account when deciding whether to remain in safe mode
  772. during startup.
  773. Values greater than the number of datanodes in the cluster
  774. will make safe mode permanent.
  775. </description>
  776. </property>
  777. <property>
  778. <name>dfs.namenode.safemode.extension</name>
  779. <value>30000</value>
  780. <description>
  781. Determines extension of safe mode in milliseconds after the threshold level
  782. is reached. Support multiple time unit suffix (case insensitive), as
  783. described in dfs.heartbeat.interval.
  784. </description>
  785. </property>
  786. <property>
  787. <name>dfs.namenode.resource.check.interval</name>
  788. <value>5000</value>
  789. <description>
  790. The interval in milliseconds at which the NameNode resource checker runs.
  791. The checker calculates the number of the NameNode storage volumes whose
  792. available spaces are more than dfs.namenode.resource.du.reserved, and
  793. enters safemode if the number becomes lower than the minimum value
  794. specified by dfs.namenode.resource.checked.volumes.minimum.
  795. </description>
  796. </property>
  797. <property>
  798. <name>dfs.namenode.resource.du.reserved</name>
  799. <value>104857600</value>
  800. <description>
  801. The amount of space to reserve/require for a NameNode storage directory
  802. in bytes. The default is 100MB.
  803. </description>
  804. </property>
  805. <property>
  806. <name>dfs.namenode.resource.checked.volumes</name>
  807. <value></value>
  808. <description>
  809. A list of local directories for the NameNode resource checker to check in
  810. addition to the local edits directories.
  811. </description>
  812. </property>
  813. <property>
  814. <name>dfs.namenode.resource.checked.volumes.minimum</name>
  815. <value>1</value>
  816. <description>
  817. The minimum number of redundant NameNode storage volumes required.
  818. </description>
  819. </property>
  820. <property>
  821. <name>dfs.datanode.balance.bandwidthPerSec</name>
  822. <value>10m</value>
  823. <description>
  824. Specifies the maximum amount of bandwidth that each datanode
  825. can utilize for the balancing purpose in term of
  826. the number of bytes per second. You can use the following
  827. suffix (case insensitive):
  828. k(kilo), m(mega), g(giga), t(tera), p(peta), e(exa)to specify the size
  829. (such as 128k, 512m, 1g, etc.).
  830. Or provide complete size in bytes (such as 134217728 for 128 MB).
  831. </description>
  832. </property>
  833. <property>
  834. <name>dfs.hosts</name>
  835. <value></value>
  836. <description>Names a file that contains a list of hosts that are
  837. permitted to connect to the namenode. The full pathname of the file
  838. must be specified. If the value is empty, all hosts are
  839. permitted.</description>
  840. </property>
  841. <property>
  842. <name>dfs.hosts.exclude</name>
  843. <value></value>
  844. <description>Names a file that contains a list of hosts that are
  845. not permitted to connect to the namenode. The full pathname of the
  846. file must be specified. If the value is empty, no hosts are
  847. excluded.</description>
  848. </property>
  849. <property>
  850. <name>dfs.namenode.max.objects</name>
  851. <value>0</value>
  852. <description>The maximum number of files, directories and blocks
  853. dfs supports. A value of zero indicates no limit to the number
  854. of objects that dfs supports.
  855. </description>
  856. </property>
  857. <property>
  858. <name>dfs.namenode.datanode.registration.ip-hostname-check</name>
  859. <value>true</value>
  860. <description>
  861. If true (the default), then the namenode requires that a connecting
  862. datanode's address must be resolved to a hostname. If necessary, a reverse
  863. DNS lookup is performed. All attempts to register a datanode from an
  864. unresolvable address are rejected.
  865. It is recommended that this setting be left on to prevent accidental
  866. registration of datanodes listed by hostname in the excludes file during a
  867. DNS outage. Only set this to false in environments where there is no
  868. infrastructure to support reverse DNS lookup.
  869. </description>
  870. </property>
  871. <property>
  872. <name>dfs.namenode.decommission.interval</name>
  873. <value>30s</value>
  874. <description>Namenode periodicity in seconds to check if
  875. decommission or maintenance is complete. Support multiple time unit
  876. suffix(case insensitive), as described in dfs.heartbeat.interval.
  877. </description>
  878. </property>
  879. <property>
  880. <name>dfs.namenode.decommission.blocks.per.interval</name>
  881. <value>500000</value>
  882. <description>The approximate number of blocks to process per decommission
  883. or maintenance interval, as defined in dfs.namenode.decommission.interval.
  884. </description>
  885. </property>
  886. <property>
  887. <name>dfs.namenode.decommission.max.concurrent.tracked.nodes</name>
  888. <value>100</value>
  889. <description>
  890. The maximum number of decommission-in-progress or
  891. entering-maintenance datanodes nodes that will be tracked at one time by
  892. the namenode. Tracking these datanode consumes additional NN memory
  893. proportional to the number of blocks on the datnode. Having a conservative
  894. limit reduces the potential impact of decommissioning or maintenance of
  895. a large number of nodes at once.
  896. A value of 0 means no limit will be enforced.
  897. </description>
  898. </property>
  899. <property>
  900. <name>dfs.namenode.redundancy.interval.seconds</name>
  901. <value>3s</value>
  902. <description>The periodicity in seconds with which the namenode computes
  903. low redundancy work for datanodes. Support multiple time unit suffix(case insensitive),
  904. as described in dfs.heartbeat.interval.
  905. </description>
  906. </property>
  907. <property>
  908. <name>dfs.namenode.accesstime.precision</name>
  909. <value>3600000</value>
  910. <description>The access time for HDFS file is precise upto this value.
  911. The default value is 1 hour. Setting a value of 0 disables
  912. access times for HDFS.
  913. </description>
  914. </property>
  915. <property>
  916. <name>dfs.datanode.plugins</name>
  917. <value></value>
  918. <description>Comma-separated list of datanode plug-ins to be activated.
  919. </description>
  920. </property>
  921. <property>
  922. <name>dfs.namenode.plugins</name>
  923. <value></value>
  924. <description>Comma-separated list of namenode plug-ins to be activated.
  925. </description>
  926. </property>
  927. <property>
  928. <name>dfs.namenode.block-placement-policy.default.prefer-local-node</name>
  929. <value>true</value>
  930. <description>Controls how the default block placement policy places
  931. the first replica of a block. When true, it will prefer the node where
  932. the client is running. When false, it will prefer a node in the same rack
  933. as the client. Setting to false avoids situations where entire copies of
  934. large files end up on a single node, thus creating hotspots.
  935. </description>
  936. </property>
  937. <property>
  938. <name>dfs.stream-buffer-size</name>
  939. <value>4096</value>
  940. <description>The size of buffer to stream files.
  941. The size of this buffer should probably be a multiple of hardware
  942. page size (4096 on Intel x86), and it determines how much data is
  943. buffered during read and write operations.</description>
  944. </property>
  945. <property>
  946. <name>dfs.bytes-per-checksum</name>
  947. <value>512</value>
  948. <description>The number of bytes per checksum. Must not be larger than
  949. dfs.stream-buffer-size</description>
  950. </property>
  951. <property>
  952. <name>dfs.client-write-packet-size</name>
  953. <value>65536</value>
  954. <description>Packet size for clients to write</description>
  955. </property>
  956. <property>
  957. <name>dfs.client.write.exclude.nodes.cache.expiry.interval.millis</name>
  958. <value>600000</value>
  959. <description>The maximum period to keep a DN in the excluded nodes list
  960. at a client. After this period, in milliseconds, the previously excluded node(s) will
  961. be removed automatically from the cache and will be considered good for block allocations
  962. again. Useful to lower or raise in situations where you keep a file open for very long
  963. periods (such as a Write-Ahead-Log (WAL) file) to make the writer tolerant to cluster maintenance
  964. restarts. Defaults to 10 minutes.</description>
  965. </property>
  966. <property>
  967. <name>dfs.namenode.checkpoint.dir</name>
  968. <value>file://${hadoop.tmp.dir}/dfs/namesecondary</value>
  969. <description>Determines where on the local filesystem the DFS secondary
  970. name node should store the temporary images to merge.
  971. If this is a comma-delimited list of directories then the image is
  972. replicated in all of the directories for redundancy.
  973. </description>
  974. </property>
  975. <property>
  976. <name>dfs.namenode.checkpoint.edits.dir</name>
  977. <value>${dfs.namenode.checkpoint.dir}</value>
  978. <description>Determines where on the local filesystem the DFS secondary
  979. name node should store the temporary edits to merge.
  980. If this is a comma-delimited list of directories then the edits is
  981. replicated in all of the directories for redundancy.
  982. Default value is same as dfs.namenode.checkpoint.dir
  983. </description>
  984. </property>
  985. <property>
  986. <name>dfs.namenode.checkpoint.period</name>
  987. <value>3600s</value>
  988. <description>
  989. The number of seconds between two periodic checkpoints.
  990. Support multiple time unit suffix(case insensitive), as described
  991. in dfs.heartbeat.interval.
  992. </description>
  993. </property>
  994. <property>
  995. <name>dfs.namenode.checkpoint.txns</name>
  996. <value>1000000</value>
  997. <description>The Secondary NameNode or CheckpointNode will create a checkpoint
  998. of the namespace every 'dfs.namenode.checkpoint.txns' transactions, regardless
  999. of whether 'dfs.namenode.checkpoint.period' has expired.
  1000. </description>
  1001. </property>
  1002. <property>
  1003. <name>dfs.namenode.checkpoint.check.period</name>
  1004. <value>60s</value>
  1005. <description>The SecondaryNameNode and CheckpointNode will poll the NameNode
  1006. every 'dfs.namenode.checkpoint.check.period' seconds to query the number
  1007. of uncheckpointed transactions. Support multiple time unit suffix(case insensitive),
  1008. as described in dfs.heartbeat.interval.
  1009. </description>
  1010. </property>
  1011. <property>
  1012. <name>dfs.namenode.checkpoint.max-retries</name>
  1013. <value>3</value>
  1014. <description>The SecondaryNameNode retries failed checkpointing. If the
  1015. failure occurs while loading fsimage or replaying edits, the number of
  1016. retries is limited by this variable.
  1017. </description>
  1018. </property>
  1019. <property>
  1020. <name>dfs.namenode.checkpoint.check.quiet-multiplier</name>
  1021. <value>1.5</value>
  1022. <description>
  1023. Used to calculate the amount of time between retries when in the 'quiet' period
  1024. for creating checkpoints (active namenode already has an up-to-date image from another
  1025. checkpointer), so we wait a multiplier of the dfs.namenode.checkpoint.check.period before
  1026. retrying the checkpoint because another node likely is already managing the checkpoints,
  1027. allowing us to save bandwidth to transfer checkpoints that don't need to be used.
  1028. </description>
  1029. </property>
  1030. <property>
  1031. <name>dfs.namenode.num.checkpoints.retained</name>
  1032. <value>2</value>
  1033. <description>The number of image checkpoint files (fsimage_*) that will be retained by
  1034. the NameNode and Secondary NameNode in their storage directories. All edit
  1035. logs (stored on edits_* files) necessary to recover an up-to-date namespace from the oldest retained
  1036. checkpoint will also be retained.
  1037. </description>
  1038. </property>
  1039. <property>
  1040. <name>dfs.namenode.num.extra.edits.retained</name>
  1041. <value>1000000</value>
  1042. <description>The number of extra transactions which should be retained
  1043. beyond what is minimally necessary for a NN restart.
  1044. It does not translate directly to file's age, or the number of files kept,
  1045. but to the number of transactions (here "edits" means transactions).
  1046. One edit file may contain several transactions (edits).
  1047. During checkpoint, NameNode will identify the total number of edits to retain as extra by
  1048. checking the latest checkpoint transaction value, subtracted by the value of this property.
  1049. Then, it scans edits files to identify the older ones that don't include the computed range of
  1050. retained transactions that are to be kept around, and purges them subsequently.
  1051. The retainment can be useful for audit purposes or for an HA setup where a remote Standby Node may have
  1052. been offline for some time and need to have a longer backlog of retained
  1053. edits in order to start again.
  1054. Typically each edit is on the order of a few hundred bytes, so the default
  1055. of 1 million edits should be on the order of hundreds of MBs or low GBs.
  1056. NOTE: Fewer extra edits may be retained than value specified for this setting
  1057. if doing so would mean that more segments would be retained than the number
  1058. configured by dfs.namenode.max.extra.edits.segments.retained.
  1059. </description>
  1060. </property>
  1061. <property>
  1062. <name>dfs.namenode.max.extra.edits.segments.retained</name>
  1063. <value>10000</value>
  1064. <description>The maximum number of extra edit log segments which should be retained
  1065. beyond what is minimally necessary for a NN restart. When used in conjunction with
  1066. dfs.namenode.num.extra.edits.retained, this configuration property serves to cap
  1067. the number of extra edits files to a reasonable value.
  1068. </description>
  1069. </property>
  1070. <property>
  1071. <name>dfs.namenode.delegation.key.update-interval</name>
  1072. <value>86400000</value>
  1073. <description>The update interval for master key for delegation tokens
  1074. in the namenode in milliseconds.
  1075. </description>
  1076. </property>
  1077. <property>
  1078. <name>dfs.namenode.delegation.token.max-lifetime</name>
  1079. <value>604800000</value>
  1080. <description>The maximum lifetime in milliseconds for which a delegation
  1081. token is valid.
  1082. </description>
  1083. </property>
  1084. <property>
  1085. <name>dfs.namenode.delegation.token.renew-interval</name>
  1086. <value>86400000</value>
  1087. <description>The renewal interval for delegation token in milliseconds.
  1088. </description>
  1089. </property>
  1090. <property>
  1091. <name>dfs.datanode.failed.volumes.tolerated</name>
  1092. <value>0</value>
  1093. <description>The number of volumes that are allowed to
  1094. fail before a datanode stops offering service. By default
  1095. any volume failure will cause a datanode to shutdown.
  1096. </description>
  1097. </property>
  1098. <property>
  1099. <name>dfs.image.compress</name>
  1100. <value>false</value>
  1101. <description>Should the dfs image be compressed?
  1102. </description>
  1103. </property>
  1104. <property>
  1105. <name>dfs.image.compression.codec</name>
  1106. <value>org.apache.hadoop.io.compress.DefaultCodec</value>
  1107. <description>If the dfs image is compressed, how should they be compressed?
  1108. This has to be a codec defined in io.compression.codecs.
  1109. </description>
  1110. </property>
  1111. <property>
  1112. <name>dfs.image.transfer.timeout</name>
  1113. <value>60000</value>
  1114. <description>
  1115. Socket timeout for image transfer in milliseconds. This timeout and the related
  1116. dfs.image.transfer.bandwidthPerSec parameter should be configured such
  1117. that normal image transfer can complete successfully.
  1118. This timeout prevents client hangs when the sender fails during
  1119. image transfer. This is socket timeout during image transfer.
  1120. </description>
  1121. </property>
  1122. <property>
  1123. <name>dfs.image.transfer.bandwidthPerSec</name>
  1124. <value>0</value>
  1125. <description>
  1126. Maximum bandwidth used for regular image transfers (instead of
  1127. bootstrapping the standby namenode), in bytes per second.
  1128. This can help keep normal namenode operations responsive during
  1129. checkpointing. The maximum bandwidth and timeout in
  1130. dfs.image.transfer.timeout should be set such that normal image
  1131. transfers can complete successfully.
  1132. A default value of 0 indicates that throttling is disabled.
  1133. The maximum bandwidth used for bootstrapping standby namenode is
  1134. configured with dfs.image.transfer-bootstrap-standby.bandwidthPerSec.
  1135. </description>
  1136. </property>
  1137. <property>
  1138. <name>dfs.image.transfer-bootstrap-standby.bandwidthPerSec</name>
  1139. <value>0</value>
  1140. <description>
  1141. Maximum bandwidth used for transferring image to bootstrap standby
  1142. namenode, in bytes per second.
  1143. A default value of 0 indicates that throttling is disabled. This default
  1144. value should be used in most cases, to ensure timely HA operations.
  1145. The maximum bandwidth used for regular image transfers is configured
  1146. with dfs.image.transfer.bandwidthPerSec.
  1147. </description>
  1148. </property>
  1149. <property>
  1150. <name>dfs.image.transfer.chunksize</name>
  1151. <value>65536</value>
  1152. <description>
  1153. Chunksize in bytes to upload the checkpoint.
  1154. Chunked streaming is used to avoid internal buffering of contents
  1155. of image file of huge size.
  1156. </description>
  1157. </property>
  1158. <property>
  1159. <name>dfs.edit.log.transfer.timeout</name>
  1160. <value>30000</value>
  1161. <description>
  1162. Socket timeout for edit log transfer in milliseconds. This timeout
  1163. should be configured such that normal edit log transfer for journal
  1164. node syncing can complete successfully.
  1165. </description>
  1166. </property>
  1167. <property>
  1168. <name>dfs.edit.log.transfer.bandwidthPerSec</name>
  1169. <value>0</value>
  1170. <description>
  1171. Maximum bandwidth used for transferring edit log to between journal nodes
  1172. for syncing, in bytes per second.
  1173. A default value of 0 indicates that throttling is disabled.
  1174. </description>
  1175. </property>
  1176. <property>
  1177. <name>dfs.namenode.support.allow.format</name>
  1178. <value>true</value>
  1179. <description>Does HDFS namenode allow itself to be formatted?
  1180. You may consider setting this to false for any production
  1181. cluster, to avoid any possibility of formatting a running DFS.
  1182. </description>
  1183. </property>
  1184. <property>
  1185. <name>dfs.datanode.max.transfer.threads</name>
  1186. <value>4096</value>
  1187. <description>
  1188. Specifies the maximum number of threads to use for transferring data
  1189. in and out of the DN.
  1190. </description>
  1191. </property>
  1192. <property>
  1193. <name>dfs.datanode.scan.period.hours</name>
  1194. <value>504</value>
  1195. <description>
  1196. If this is positive, the DataNode will not scan any
  1197. individual block more than once in the specified scan period.
  1198. If this is negative, the block scanner is disabled.
  1199. If this is set to zero, then the default value of 504 hours
  1200. or 3 weeks is used. Prior versions of HDFS incorrectly documented
  1201. that setting this key to zero will disable the block scanner.
  1202. </description>
  1203. </property>
  1204. <property>
  1205. <name>dfs.block.scanner.volume.bytes.per.second</name>
  1206. <value>1048576</value>
  1207. <description>
  1208. If this is 0, the DataNode's block scanner will be disabled. If this
  1209. is positive, this is the number of bytes per second that the DataNode's
  1210. block scanner will try to scan from each volume.
  1211. </description>
  1212. </property>
  1213. <property>
  1214. <name>dfs.datanode.readahead.bytes</name>
  1215. <value>4194304</value>
  1216. <description>
  1217. While reading block files, if the Hadoop native libraries are available,
  1218. the datanode can use the posix_fadvise system call to explicitly
  1219. page data into the operating system buffer cache ahead of the current
  1220. reader's position. This can improve performance especially when
  1221. disks are highly contended.
  1222. This configuration specifies the number of bytes ahead of the current
  1223. read position which the datanode will attempt to read ahead. This
  1224. feature may be disabled by configuring this property to 0.
  1225. If the native libraries are not available, this configuration has no
  1226. effect.
  1227. </description>
  1228. </property>
  1229. <property>
  1230. <name>dfs.datanode.drop.cache.behind.reads</name>
  1231. <value>false</value>
  1232. <description>
  1233. In some workloads, the data read from HDFS is known to be significantly
  1234. large enough that it is unlikely to be useful to cache it in the
  1235. operating system buffer cache. In this case, the DataNode may be
  1236. configured to automatically purge all data from the buffer cache
  1237. after it is delivered to the client. This behavior is automatically
  1238. disabled for workloads which read only short sections of a block
  1239. (e.g HBase random-IO workloads).
  1240. This may improve performance for some workloads by freeing buffer
  1241. cache space usage for more cacheable data.
  1242. If the Hadoop native libraries are not available, this configuration
  1243. has no effect.
  1244. </description>
  1245. </property>
  1246. <property>
  1247. <name>dfs.datanode.drop.cache.behind.writes</name>
  1248. <value>false</value>
  1249. <description>
  1250. In some workloads, the data written to HDFS is known to be significantly
  1251. large enough that it is unlikely to be useful to cache it in the
  1252. operating system buffer cache. In this case, the DataNode may be
  1253. configured to automatically purge all data from the buffer cache
  1254. after it is written to disk.
  1255. This may improve performance for some workloads by freeing buffer
  1256. cache space usage for more cacheable data.
  1257. If the Hadoop native libraries are not available, this configuration
  1258. has no effect.
  1259. </description>
  1260. </property>
  1261. <property>
  1262. <name>dfs.datanode.sync.behind.writes</name>
  1263. <value>false</value>
  1264. <description>
  1265. If this configuration is enabled, the datanode will instruct the
  1266. operating system to enqueue all written data to the disk immediately
  1267. after it is written. This differs from the usual OS policy which
  1268. may wait for up to 30 seconds before triggering writeback.
  1269. This may improve performance for some workloads by smoothing the
  1270. IO profile for data written to disk.
  1271. If the Hadoop native libraries are not available, this configuration
  1272. has no effect.
  1273. </description>
  1274. </property>
  1275. <property>
  1276. <name>dfs.client.failover.max.attempts</name>
  1277. <value>15</value>
  1278. <description>
  1279. Expert only. The number of client failover attempts that should be
  1280. made before the failover is considered failed.
  1281. </description>
  1282. </property>
  1283. <property>
  1284. <name>dfs.client.failover.sleep.base.millis</name>
  1285. <value>500</value>
  1286. <description>
  1287. Expert only. The time to wait, in milliseconds, between failover
  1288. attempts increases exponentially as a function of the number of
  1289. attempts made so far, with a random factor of +/- 50%. This option
  1290. specifies the base value used in the failover calculation. The
  1291. first failover will retry immediately. The 2nd failover attempt
  1292. will delay at least dfs.client.failover.sleep.base.millis
  1293. milliseconds. And so on.
  1294. </description>
  1295. </property>
  1296. <property>
  1297. <name>dfs.client.failover.sleep.max.millis</name>
  1298. <value>15000</value>
  1299. <description>
  1300. Expert only. The time to wait, in milliseconds, between failover
  1301. attempts increases exponentially as a function of the number of
  1302. attempts made so far, with a random factor of +/- 50%. This option
  1303. specifies the maximum value to wait between failovers.
  1304. Specifically, the time between two failover attempts will not
  1305. exceed +/- 50% of dfs.client.failover.sleep.max.millis
  1306. milliseconds.
  1307. </description>
  1308. </property>
  1309. <property>
  1310. <name>dfs.client.failover.connection.retries</name>
  1311. <value>0</value>
  1312. <description>
  1313. Expert only. Indicates the number of retries a failover IPC client
  1314. will make to establish a server connection.
  1315. </description>
  1316. </property>
  1317. <property>
  1318. <name>dfs.client.failover.connection.retries.on.timeouts</name>
  1319. <value>0</value>
  1320. <description>
  1321. Expert only. The number of retry attempts a failover IPC client
  1322. will make on socket timeout when establishing a server connection.
  1323. </description>
  1324. </property>
  1325. <property>
  1326. <name>dfs.client.datanode-restart.timeout</name>
  1327. <value>30s</value>
  1328. <description>
  1329. Expert only. The time to wait, in seconds, from reception of an
  1330. datanode shutdown notification for quick restart, until declaring
  1331. the datanode dead and invoking the normal recovery mechanisms.
  1332. The notification is sent by a datanode when it is being shutdown
  1333. using the shutdownDatanode admin command with the upgrade option.
  1334. Support multiple time unit suffix(case insensitive), as described
  1335. in dfs.heartbeat.interval.
  1336. </description>
  1337. </property>
  1338. <property>
  1339. <name>dfs.nameservices</name>
  1340. <value></value>
  1341. <description>
  1342. Comma-separated list of nameservices.
  1343. </description>
  1344. </property>
  1345. <property>
  1346. <name>dfs.nameservice.id</name>
  1347. <value></value>
  1348. <description>
  1349. The ID of this nameservice. If the nameservice ID is not
  1350. configured or more than one nameservice is configured for
  1351. dfs.nameservices it is determined automatically by
  1352. matching the local node's address with the configured address.
  1353. </description>
  1354. </property>
  1355. <property>
  1356. <name>dfs.internal.nameservices</name>
  1357. <value></value>
  1358. <description>
  1359. Comma-separated list of nameservices that belong to this cluster.
  1360. Datanode will report to all the nameservices in this list. By default
  1361. this is set to the value of dfs.nameservices.
  1362. </description>
  1363. </property>
  1364. <property>
  1365. <name>dfs.ha.namenodes.EXAMPLENAMESERVICE</name>
  1366. <value></value>
  1367. <description>
  1368. The prefix for a given nameservice, contains a comma-separated
  1369. list of namenodes for a given nameservice (eg EXAMPLENAMESERVICE).
  1370. Unique identifiers for each NameNode in the nameservice, delimited by
  1371. commas. This will be used by DataNodes to determine all the NameNodes
  1372. in the cluster. For example, if you used “mycluster” as the nameservice
  1373. ID previously, and you wanted to use “nn1” and “nn2” as the individual
  1374. IDs of the NameNodes, you would configure a property
  1375. dfs.ha.namenodes.mycluster, and its value "nn1,nn2".
  1376. </description>
  1377. </property>
  1378. <property>
  1379. <name>dfs.ha.namenode.id</name>
  1380. <value></value>
  1381. <description>
  1382. The ID of this namenode. If the namenode ID is not configured it
  1383. is determined automatically by matching the local node's address
  1384. with the configured address.
  1385. </description>
  1386. </property>
  1387. <property>
  1388. <name>dfs.ha.log-roll.period</name>
  1389. <value>120s</value>
  1390. <description>
  1391. How often, in seconds, the StandbyNode should ask the active to
  1392. roll edit logs. Since the StandbyNode only reads from finalized
  1393. log segments, the StandbyNode will only be as up-to-date as how
  1394. often the logs are rolled. Note that failover triggers a log roll
  1395. so the StandbyNode will be up to date before it becomes active.
  1396. Support multiple time unit suffix(case insensitive), as described
  1397. in dfs.heartbeat.interval.
  1398. </description>
  1399. </property>
  1400. <property>
  1401. <name>dfs.ha.tail-edits.period</name>
  1402. <value>60s</value>
  1403. <description>
  1404. How often, in seconds, the StandbyNode should check for new
  1405. finalized log segments in the shared edits log.
  1406. Support multiple time unit suffix(case insensitive), as described
  1407. in dfs.heartbeat.interval.
  1408. </description>
  1409. </property>
  1410. <property>
  1411. <name>dfs.ha.tail-edits.namenode-retries</name>
  1412. <value>3</value>
  1413. <description>
  1414. Number of retries to use when contacting the namenode when tailing the log.
  1415. </description>
  1416. </property>
  1417. <property>
  1418. <name>dfs.ha.tail-edits.rolledits.timeout</name>
  1419. <value>60</value>
  1420. <description>The timeout in seconds of calling rollEdits RPC on Active NN.
  1421. </description>
  1422. </property>
  1423. <property>
  1424. <name>dfs.ha.automatic-failover.enabled</name>
  1425. <value>false</value>
  1426. <description>
  1427. Whether automatic failover is enabled. See the HDFS High
  1428. Availability documentation for details on automatic HA
  1429. configuration.
  1430. </description>
  1431. </property>
  1432. <property>
  1433. <name>dfs.client.use.datanode.hostname</name>
  1434. <value>false</value>
  1435. <description>Whether clients should use datanode hostnames when
  1436. connecting to datanodes.
  1437. </description>
  1438. </property>
  1439. <property>
  1440. <name>dfs.datanode.use.datanode.hostname</name>
  1441. <value>false</value>
  1442. <description>Whether datanodes should use datanode hostnames when
  1443. connecting to other datanodes for data transfer.
  1444. </description>
  1445. </property>
  1446. <property>
  1447. <name>dfs.client.local.interfaces</name>
  1448. <value></value>
  1449. <description>A comma separated list of network interface names to use
  1450. for data transfer between the client and datanodes. When creating
  1451. a connection to read from or write to a datanode, the client
  1452. chooses one of the specified interfaces at random and binds its
  1453. socket to the IP of that interface. Individual names may be
  1454. specified as either an interface name (eg "eth0"), a subinterface
  1455. name (eg "eth0:0"), or an IP address (which may be specified using
  1456. CIDR notation to match a range of IPs).
  1457. </description>
  1458. </property>
  1459. <property>
  1460. <name>dfs.datanode.shared.file.descriptor.paths</name>
  1461. <value>/dev/shm,/tmp</value>
  1462. <description>
  1463. A comma-separated list of paths to use when creating file descriptors that
  1464. will be shared between the DataNode and the DFSClient. Typically we use
  1465. /dev/shm, so that the file descriptors will not be written to disk.
  1466. Systems that don't have /dev/shm will fall back to /tmp by default.
  1467. </description>
  1468. </property>
  1469. <property>
  1470. <name>dfs.short.circuit.shared.memory.watcher.interrupt.check.ms</name>
  1471. <value>60000</value>
  1472. <description>
  1473. The length of time in milliseconds that the short-circuit shared memory
  1474. watcher will go between checking for java interruptions sent from other
  1475. threads. This is provided mainly for unit tests.
  1476. </description>
  1477. </property>
  1478. <property>
  1479. <name>dfs.namenode.kerberos.principal</name>
  1480. <value></value>
  1481. <description>
  1482. The NameNode service principal. This is typically set to
  1483. nn/_HOST@REALM.TLD. Each NameNode will substitute _HOST with its
  1484. own fully qualified hostname at startup. The _HOST placeholder
  1485. allows using the same configuration setting on both NameNodes
  1486. in an HA setup.
  1487. </description>
  1488. </property>
  1489. <property>
  1490. <name>dfs.namenode.keytab.file</name>
  1491. <value></value>
  1492. <description>
  1493. The keytab file used by each NameNode daemon to login as its
  1494. service principal. The principal name is configured with
  1495. dfs.namenode.kerberos.principal.
  1496. </description>
  1497. </property>
  1498. <property>
  1499. <name>dfs.datanode.kerberos.principal</name>
  1500. <value></value>
  1501. <description>
  1502. The DataNode service principal. This is typically set to
  1503. dn/_HOST@REALM.TLD. Each DataNode will substitute _HOST with its
  1504. own fully qualified hostname at startup. The _HOST placeholder
  1505. allows using the same configuration setting on all DataNodes.
  1506. </description>
  1507. </property>
  1508. <property>
  1509. <name>dfs.datanode.keytab.file</name>
  1510. <value></value>
  1511. <description>
  1512. The keytab file used by each DataNode daemon to login as its
  1513. service principal. The principal name is configured with
  1514. dfs.datanode.kerberos.principal.
  1515. </description>
  1516. </property>
  1517. <property>
  1518. <name>dfs.journalnode.kerberos.principal</name>
  1519. <value></value>
  1520. <description>
  1521. The JournalNode service principal. This is typically set to
  1522. jn/_HOST@REALM.TLD. Each JournalNode will substitute _HOST with its
  1523. own fully qualified hostname at startup. The _HOST placeholder
  1524. allows using the same configuration setting on all JournalNodes.
  1525. </description>
  1526. </property>
  1527. <property>
  1528. <name>dfs.journalnode.keytab.file</name>
  1529. <value></value>
  1530. <description>
  1531. The keytab file used by each JournalNode daemon to login as its
  1532. service principal. The principal name is configured with
  1533. dfs.journalnode.kerberos.principal.
  1534. </description>
  1535. </property>
  1536. <property>
  1537. <name>dfs.namenode.kerberos.internal.spnego.principal</name>
  1538. <value>${dfs.web.authentication.kerberos.principal}</value>
  1539. <description>
  1540. The server principal used by the NameNode for web UI SPNEGO
  1541. authentication when Kerberos security is enabled. This is
  1542. typically set to HTTP/_HOST@REALM.TLD The SPNEGO server principal
  1543. begins with the prefix HTTP/ by convention.
  1544. If the value is '*', the web server will attempt to login with
  1545. every principal specified in the keytab file
  1546. dfs.web.authentication.kerberos.keytab.
  1547. </description>
  1548. </property>
  1549. <property>
  1550. <name>dfs.journalnode.kerberos.internal.spnego.principal</name>
  1551. <value></value>
  1552. <description>
  1553. The server principal used by the JournalNode HTTP Server for
  1554. SPNEGO authentication when Kerberos security is enabled. This is
  1555. typically set to HTTP/_HOST@REALM.TLD. The SPNEGO server principal
  1556. begins with the prefix HTTP/ by convention.
  1557. If the value is '*', the web server will attempt to login with
  1558. every principal specified in the keytab file
  1559. dfs.web.authentication.kerberos.keytab.
  1560. For most deployments this can be set to ${dfs.web.authentication.kerberos.principal}
  1561. i.e use the value of dfs.web.authentication.kerberos.principal.
  1562. </description>
  1563. </property>
  1564. <property>
  1565. <name>dfs.secondary.namenode.kerberos.internal.spnego.principal</name>
  1566. <value>${dfs.web.authentication.kerberos.principal}</value>
  1567. <description>
  1568. The server principal used by the Secondary NameNode for web UI SPNEGO
  1569. authentication when Kerberos security is enabled. Like all other
  1570. Secondary NameNode settings, it is ignored in an HA setup.
  1571. If the value is '*', the web server will attempt to login with
  1572. every principal specified in the keytab file
  1573. dfs.web.authentication.kerberos.keytab.
  1574. </description>
  1575. </property>
  1576. <property>
  1577. <name>dfs.web.authentication.kerberos.principal</name>
  1578. <value></value>
  1579. <description>
  1580. The server principal used by the NameNode for WebHDFS SPNEGO
  1581. authentication.
  1582. Required when WebHDFS and security are enabled. In most secure clusters this
  1583. setting is also used to specify the values for
  1584. dfs.namenode.kerberos.internal.spnego.principal and
  1585. dfs.journalnode.kerberos.internal.spnego.principal.
  1586. </description>
  1587. </property>
  1588. <property>
  1589. <name>dfs.web.authentication.kerberos.keytab</name>
  1590. <value></value>
  1591. <description>
  1592. The keytab file for the principal corresponding to
  1593. dfs.web.authentication.kerberos.principal.
  1594. </description>
  1595. </property>
  1596. <property>
  1597. <name>dfs.namenode.kerberos.principal.pattern</name>
  1598. <value>*</value>
  1599. <description>
  1600. A client-side RegEx that can be configured to control
  1601. allowed realms to authenticate with (useful in cross-realm env.)
  1602. </description>
  1603. </property>
  1604. <property>
  1605. <name>dfs.namenode.avoid.read.stale.datanode</name>
  1606. <value>false</value>
  1607. <description>
  1608. Indicate whether or not to avoid reading from &quot;stale&quot; datanodes whose
  1609. heartbeat messages have not been received by the namenode
  1610. for more than a specified time interval. Stale datanodes will be
  1611. moved to the end of the node list returned for reading. See
  1612. dfs.namenode.avoid.write.stale.datanode for a similar setting for writes.
  1613. </description>
  1614. </property>
  1615. <property>
  1616. <name>dfs.namenode.avoid.write.stale.datanode</name>
  1617. <value>false</value>
  1618. <description>
  1619. Indicate whether or not to avoid writing to &quot;stale&quot; datanodes whose
  1620. heartbeat messages have not been received by the namenode
  1621. for more than a specified time interval. Writes will avoid using
  1622. stale datanodes unless more than a configured ratio
  1623. (dfs.namenode.write.stale.datanode.ratio) of datanodes are marked as
  1624. stale. See dfs.namenode.avoid.read.stale.datanode for a similar setting
  1625. for reads.
  1626. </description>
  1627. </property>
  1628. <property>
  1629. <name>dfs.namenode.stale.datanode.interval</name>
  1630. <value>30000</value>
  1631. <description>
  1632. Default time interval in milliseconds for marking a datanode as "stale",
  1633. i.e., if the namenode has not received heartbeat msg from a datanode for
  1634. more than this time interval, the datanode will be marked and treated
  1635. as "stale" by default. The stale interval cannot be too small since
  1636. otherwise this may cause too frequent change of stale states.
  1637. We thus set a minimum stale interval value (the default value is 3 times
  1638. of heartbeat interval) and guarantee that the stale interval cannot be less
  1639. than the minimum value. A stale data node is avoided during lease/block
  1640. recovery. It can be conditionally avoided for reads (see
  1641. dfs.namenode.avoid.read.stale.datanode) and for writes (see
  1642. dfs.namenode.avoid.write.stale.datanode).
  1643. </description>
  1644. </property>
  1645. <property>
  1646. <name>dfs.namenode.write.stale.datanode.ratio</name>
  1647. <value>0.5f</value>
  1648. <description>
  1649. When the ratio of number stale datanodes to total datanodes marked
  1650. is greater than this ratio, stop avoiding writing to stale nodes so
  1651. as to prevent causing hotspots.
  1652. </description>
  1653. </property>
  1654. <property>
  1655. <name>dfs.namenode.invalidate.work.pct.per.iteration</name>
  1656. <value>0.32f</value>
  1657. <description>
  1658. *Note*: Advanced property. Change with caution.
  1659. This determines the percentage amount of block
  1660. invalidations (deletes) to do over a single DN heartbeat
  1661. deletion command. The final deletion count is determined by applying this
  1662. percentage to the number of live nodes in the system.
  1663. The resultant number is the number of blocks from the deletion list
  1664. chosen for proper invalidation over a single heartbeat of a single DN.
  1665. Value should be a positive, non-zero percentage in float notation (X.Yf),
  1666. with 1.0f meaning 100%.
  1667. </description>
  1668. </property>
  1669. <property>
  1670. <name>dfs.namenode.replication.work.multiplier.per.iteration</name>
  1671. <value>2</value>
  1672. <description>
  1673. *Note*: Advanced property. Change with caution.
  1674. This determines the total amount of block transfers to begin in
  1675. parallel at a DN, for replication, when such a command list is being
  1676. sent over a DN heartbeat by the NN. The actual number is obtained by
  1677. multiplying this multiplier with the total number of live nodes in the
  1678. cluster. The result number is the number of blocks to begin transfers
  1679. immediately for, per DN heartbeat. This number can be any positive,
  1680. non-zero integer.
  1681. </description>
  1682. </property>
  1683. <property>
  1684. <name>nfs.server.port</name>
  1685. <value>2049</value>
  1686. <description>
  1687. Specify the port number used by Hadoop NFS.
  1688. </description>
  1689. </property>
  1690. <property>
  1691. <name>nfs.mountd.port</name>
  1692. <value>4242</value>
  1693. <description>
  1694. Specify the port number used by Hadoop mount daemon.
  1695. </description>
  1696. </property>
  1697. <property>
  1698. <name>nfs.dump.dir</name>
  1699. <value>/tmp/.hdfs-nfs</value>
  1700. <description>
  1701. This directory is used to temporarily save out-of-order writes before
  1702. writing to HDFS. For each file, the out-of-order writes are dumped after
  1703. they are accumulated to exceed certain threshold (e.g., 1MB) in memory.
  1704. One needs to make sure the directory has enough space.
  1705. </description>
  1706. </property>
  1707. <property>
  1708. <name>nfs.rtmax</name>
  1709. <value>1048576</value>
  1710. <description>This is the maximum size in bytes of a READ request
  1711. supported by the NFS gateway. If you change this, make sure you
  1712. also update the nfs mount's rsize(add rsize= # of bytes to the
  1713. mount directive).
  1714. </description>
  1715. </property>
  1716. <property>
  1717. <name>nfs.wtmax</name>
  1718. <value>1048576</value>
  1719. <description>This is the maximum size in bytes of a WRITE request
  1720. supported by the NFS gateway. If you change this, make sure you
  1721. also update the nfs mount's wsize(add wsize= # of bytes to the
  1722. mount directive).
  1723. </description>
  1724. </property>
  1725. <property>
  1726. <name>nfs.keytab.file</name>
  1727. <value></value>
  1728. <description>
  1729. *Note*: Advanced property. Change with caution.
  1730. This is the path to the keytab file for the hdfs-nfs gateway.
  1731. This is required when the cluster is kerberized.
  1732. </description>
  1733. </property>
  1734. <property>
  1735. <name>nfs.kerberos.principal</name>
  1736. <value></value>
  1737. <description>
  1738. *Note*: Advanced property. Change with caution.
  1739. This is the name of the kerberos principal. This is required when
  1740. the cluster is kerberized.It must be of this format:
  1741. nfs-gateway-user/nfs-gateway-host@kerberos-realm
  1742. </description>
  1743. </property>
  1744. <property>
  1745. <name>nfs.allow.insecure.ports</name>
  1746. <value>true</value>
  1747. <description>
  1748. When set to false, client connections originating from unprivileged ports
  1749. (those above 1023) will be rejected. This is to ensure that clients
  1750. connecting to this NFS Gateway must have had root privilege on the machine
  1751. where they're connecting from.
  1752. </description>
  1753. </property>
  1754. <property>
  1755. <name>hadoop.fuse.connection.timeout</name>
  1756. <value>300</value>
  1757. <description>
  1758. The minimum number of seconds that we'll cache libhdfs connection objects
  1759. in fuse_dfs. Lower values will result in lower memory consumption; higher
  1760. values may speed up access by avoiding the overhead of creating new
  1761. connection objects.
  1762. </description>
  1763. </property>
  1764. <property>
  1765. <name>hadoop.fuse.timer.period</name>
  1766. <value>5</value>
  1767. <description>
  1768. The number of seconds between cache expiry checks in fuse_dfs. Lower values
  1769. will result in fuse_dfs noticing changes to Kerberos ticket caches more
  1770. quickly.
  1771. </description>
  1772. </property>
  1773. <property>
  1774. <name>dfs.namenode.metrics.logger.period.seconds</name>
  1775. <value>600</value>
  1776. <description>
  1777. This setting controls how frequently the NameNode logs its metrics. The
  1778. logging configuration must also define one or more appenders for
  1779. NameNodeMetricsLog for the metrics to be logged.
  1780. NameNode metrics logging is disabled if this value is set to zero or
  1781. less than zero.
  1782. </description>
  1783. </property>
  1784. <property>
  1785. <name>dfs.datanode.metrics.logger.period.seconds</name>
  1786. <value>600</value>
  1787. <description>
  1788. This setting controls how frequently the DataNode logs its metrics. The
  1789. logging configuration must also define one or more appenders for
  1790. DataNodeMetricsLog for the metrics to be logged.
  1791. DataNode metrics logging is disabled if this value is set to zero or
  1792. less than zero.
  1793. </description>
  1794. </property>
  1795. <property>
  1796. <name>dfs.metrics.percentiles.intervals</name>
  1797. <value></value>
  1798. <description>
  1799. Comma-delimited set of integers denoting the desired rollover intervals
  1800. (in seconds) for percentile latency metrics on the Namenode and Datanode.
  1801. By default, percentile latency metrics are disabled.
  1802. </description>
  1803. </property>
  1804. <property>
  1805. <name>dfs.datanode.peer.stats.enabled</name>
  1806. <value>false</value>
  1807. <description>
  1808. A switch to turn on/off tracking DataNode peer statistics.
  1809. </description>
  1810. </property>
  1811. <property>
  1812. <name>dfs.datanode.outliers.report.interval</name>
  1813. <value>30m</value>
  1814. <description>
  1815. This setting controls how frequently DataNodes will report their peer
  1816. latencies to the NameNode via heartbeats. This setting supports
  1817. multiple time unit suffixes as described in dfs.heartbeat.interval.
  1818. If no suffix is specified then milliseconds is assumed.
  1819. It is ignored if dfs.datanode.peer.stats.enabled is false.
  1820. </description>
  1821. </property>
  1822. <property>
  1823. <name>dfs.datanode.fileio.profiling.sampling.percentage</name>
  1824. <value>0</value>
  1825. <description>
  1826. This setting controls the percentage of file I/O events which will be
  1827. profiled for DataNode disk statistics. The default value of 0 disables
  1828. disk statistics. Set to an integer value between 1 and 100 to enable disk
  1829. statistics.
  1830. </description>
  1831. </property>
  1832. <property>
  1833. <name>hadoop.user.group.metrics.percentiles.intervals</name>
  1834. <value></value>
  1835. <description>
  1836. A comma-separated list of the granularity in seconds for the metrics
  1837. which describe the 50/75/90/95/99th percentile latency for group resolution
  1838. in milliseconds.
  1839. By default, percentile latency metrics are disabled.
  1840. </description>
  1841. </property>
  1842. <property>
  1843. <name>dfs.encrypt.data.transfer</name>
  1844. <value>false</value>
  1845. <description>
  1846. Whether or not actual block data that is read/written from/to HDFS should
  1847. be encrypted on the wire. This only needs to be set on the NN and DNs,
  1848. clients will deduce this automatically. It is possible to override this setting
  1849. per connection by specifying custom logic via dfs.trustedchannel.resolver.class.
  1850. </description>
  1851. </property>
  1852. <property>
  1853. <name>dfs.encrypt.data.transfer.algorithm</name>
  1854. <value></value>
  1855. <description>
  1856. This value may be set to either "3des" or "rc4". If nothing is set, then
  1857. the configured JCE default on the system is used (usually 3DES.) It is
  1858. widely believed that 3DES is more cryptographically secure, but RC4 is
  1859. substantially faster.
  1860. Note that if AES is supported by both the client and server then this
  1861. encryption algorithm will only be used to initially transfer keys for AES.
  1862. (See dfs.encrypt.data.transfer.cipher.suites.)
  1863. </description>
  1864. </property>
  1865. <property>
  1866. <name>dfs.encrypt.data.transfer.cipher.suites</name>
  1867. <value></value>
  1868. <description>
  1869. This value may be either undefined or AES/CTR/NoPadding. If defined, then
  1870. dfs.encrypt.data.transfer uses the specified cipher suite for data
  1871. encryption. If not defined, then only the algorithm specified in
  1872. dfs.encrypt.data.transfer.algorithm is used. By default, the property is
  1873. not defined.
  1874. </description>
  1875. </property>
  1876. <property>
  1877. <name>dfs.encrypt.data.transfer.cipher.key.bitlength</name>
  1878. <value>128</value>
  1879. <description>
  1880. The key bitlength negotiated by dfsclient and datanode for encryption.
  1881. This value may be set to either 128, 192 or 256.
  1882. </description>
  1883. </property>
  1884. <property>
  1885. <name>dfs.trustedchannel.resolver.class</name>
  1886. <value></value>
  1887. <description>
  1888. TrustedChannelResolver is used to determine whether a channel
  1889. is trusted for plain data transfer. The TrustedChannelResolver is
  1890. invoked on both client and server side. If the resolver indicates
  1891. that the channel is trusted, then the data transfer will not be
  1892. encrypted even if dfs.encrypt.data.transfer is set to true. The
  1893. default implementation returns false indicating that the channel
  1894. is not trusted.
  1895. </description>
  1896. </property>
  1897. <property>
  1898. <name>dfs.data.transfer.protection</name>
  1899. <value></value>
  1900. <description>
  1901. A comma-separated list of SASL protection values used for secured
  1902. connections to the DataNode when reading or writing block data. Possible
  1903. values are authentication, integrity and privacy. authentication means
  1904. authentication only and no integrity or privacy; integrity implies
  1905. authentication and integrity are enabled; and privacy implies all of
  1906. authentication, integrity and privacy are enabled. If
  1907. dfs.encrypt.data.transfer is set to true, then it supersedes the setting for
  1908. dfs.data.transfer.protection and enforces that all connections must use a
  1909. specialized encrypted SASL handshake. This property is ignored for
  1910. connections to a DataNode listening on a privileged port. In this case, it
  1911. is assumed that the use of a privileged port establishes sufficient trust.
  1912. </description>
  1913. </property>
  1914. <property>
  1915. <name>dfs.data.transfer.saslproperties.resolver.class</name>
  1916. <value></value>
  1917. <description>
  1918. SaslPropertiesResolver used to resolve the QOP used for a connection to the
  1919. DataNode when reading or writing block data. If not specified, the value of
  1920. hadoop.security.saslproperties.resolver.class is used as the default value.
  1921. </description>
  1922. </property>
  1923. <property>
  1924. <name>dfs.journalnode.rpc-address</name>
  1925. <value>0.0.0.0:8485</value>
  1926. <description>
  1927. The JournalNode RPC server address and port.
  1928. </description>
  1929. </property>
  1930. <property>
  1931. <name>dfs.journalnode.http-address</name>
  1932. <value>0.0.0.0:8480</value>
  1933. <description>
  1934. The address and port the JournalNode HTTP server listens on.
  1935. If the port is 0 then the server will start on a free port.
  1936. </description>
  1937. </property>
  1938. <property>
  1939. <name>dfs.journalnode.https-address</name>
  1940. <value>0.0.0.0:8481</value>
  1941. <description>
  1942. The address and port the JournalNode HTTPS server listens on.
  1943. If the port is 0 then the server will start on a free port.
  1944. </description>
  1945. </property>
  1946. <property>
  1947. <name>dfs.namenode.audit.loggers</name>
  1948. <value>default</value>
  1949. <description>
  1950. List of classes implementing audit loggers that will receive audit events.
  1951. These should be implementations of org.apache.hadoop.hdfs.server.namenode.AuditLogger.
  1952. The special value "default" can be used to reference the default audit
  1953. logger, which uses the configured log system. Installing custom audit loggers
  1954. may affect the performance and stability of the NameNode. Refer to the custom
  1955. logger's documentation for more details.
  1956. </description>
  1957. </property>
  1958. <property>
  1959. <name>dfs.datanode.available-space-volume-choosing-policy.balanced-space-threshold</name>
  1960. <value>10737418240</value> <!-- 10 GB -->
  1961. <description>
  1962. Only used when the dfs.datanode.fsdataset.volume.choosing.policy is set to
  1963. org.apache.hadoop.hdfs.server.datanode.fsdataset.AvailableSpaceVolumeChoosingPolicy.
  1964. This setting controls how much DN volumes are allowed to differ in terms of
  1965. bytes of free disk space before they are considered imbalanced. If the free
  1966. space of all the volumes are within this range of each other, the volumes
  1967. will be considered balanced and block assignments will be done on a pure
  1968. round robin basis.
  1969. </description>
  1970. </property>
  1971. <property>
  1972. <name>dfs.datanode.available-space-volume-choosing-policy.balanced-space-preference-fraction</name>
  1973. <value>0.75f</value>
  1974. <description>
  1975. Only used when the dfs.datanode.fsdataset.volume.choosing.policy is set to
  1976. org.apache.hadoop.hdfs.server.datanode.fsdataset.AvailableSpaceVolumeChoosingPolicy.
  1977. This setting controls what percentage of new block allocations will be sent
  1978. to volumes with more available disk space than others. This setting should
  1979. be in the range 0.0 - 1.0, though in practice 0.5 - 1.0, since there should
  1980. be no reason to prefer that volumes with less available disk space receive
  1981. more block allocations.
  1982. </description>
  1983. </property>
  1984. <property>
  1985. <name>dfs.namenode.edits.noeditlogchannelflush</name>
  1986. <value>false</value>
  1987. <description>
  1988. Specifies whether to flush edit log file channel. When set, expensive
  1989. FileChannel#force calls are skipped and synchronous disk writes are
  1990. enabled instead by opening the edit log file with RandomAccessFile("rws")
  1991. flags. This can significantly improve the performance of edit log writes
  1992. on the Windows platform.
  1993. Note that the behavior of the "rws" flags is platform and hardware specific
  1994. and might not provide the same level of guarantees as FileChannel#force.
  1995. For example, the write will skip the disk-cache on SAS and SCSI devices
  1996. while it might not on SATA devices. This is an expert level setting,
  1997. change with caution.
  1998. </description>
  1999. </property>
  2000. <property>
  2001. <name>dfs.client.cache.drop.behind.writes</name>
  2002. <value></value>
  2003. <description>
  2004. Just like dfs.datanode.drop.cache.behind.writes, this setting causes the
  2005. page cache to be dropped behind HDFS writes, potentially freeing up more
  2006. memory for other uses. Unlike dfs.datanode.drop.cache.behind.writes, this
  2007. is a client-side setting rather than a setting for the entire datanode.
  2008. If present, this setting will override the DataNode default.
  2009. If the native libraries are not available to the DataNode, this
  2010. configuration has no effect.
  2011. </description>
  2012. </property>
  2013. <property>
  2014. <name>dfs.client.cache.drop.behind.reads</name>
  2015. <value></value>
  2016. <description>
  2017. Just like dfs.datanode.drop.cache.behind.reads, this setting causes the
  2018. page cache to be dropped behind HDFS reads, potentially freeing up more
  2019. memory for other uses. Unlike dfs.datanode.drop.cache.behind.reads, this
  2020. is a client-side setting rather than a setting for the entire datanode. If
  2021. present, this setting will override the DataNode default.
  2022. If the native libraries are not available to the DataNode, this
  2023. configuration has no effect.
  2024. </description>
  2025. </property>
  2026. <property>
  2027. <name>dfs.client.cache.readahead</name>
  2028. <value></value>
  2029. <description>
  2030. When using remote reads, this setting causes the datanode to
  2031. read ahead in the block file using posix_fadvise, potentially decreasing
  2032. I/O wait times. Unlike dfs.datanode.readahead.bytes, this is a client-side
  2033. setting rather than a setting for the entire datanode. If present, this
  2034. setting will override the DataNode default.
  2035. When using local reads, this setting determines how much readahead we do in
  2036. BlockReaderLocal.
  2037. If the native libraries are not available to the DataNode, this
  2038. configuration has no effect.
  2039. </description>
  2040. </property>
  2041. <property>
  2042. <name>dfs.client.server-defaults.validity.period.ms</name>
  2043. <value>3600000</value>
  2044. <description>
  2045. The amount of milliseconds after which cached server defaults are updated.
  2046. By default this parameter is set to 1 hour.
  2047. </description>
  2048. </property>
  2049. <property>
  2050. <name>dfs.namenode.enable.retrycache</name>
  2051. <value>true</value>
  2052. <description>
  2053. This enables the retry cache on the namenode. Namenode tracks for
  2054. non-idempotent requests the corresponding response. If a client retries the
  2055. request, the response from the retry cache is sent. Such operations
  2056. are tagged with annotation @AtMostOnce in namenode protocols. It is
  2057. recommended that this flag be set to true. Setting it to false, will result
  2058. in clients getting failure responses to retried request. This flag must
  2059. be enabled in HA setup for transparent fail-overs.
  2060. The entries in the cache have expiration time configurable
  2061. using dfs.namenode.retrycache.expirytime.millis.
  2062. </description>
  2063. </property>
  2064. <property>
  2065. <name>dfs.namenode.retrycache.expirytime.millis</name>
  2066. <value>600000</value>
  2067. <description>
  2068. The time for which retry cache entries are retained.
  2069. </description>
  2070. </property>
  2071. <property>
  2072. <name>dfs.namenode.retrycache.heap.percent</name>
  2073. <value>0.03f</value>
  2074. <description>
  2075. This parameter configures the heap size allocated for retry cache
  2076. (excluding the response cached). This corresponds to approximately
  2077. 4096 entries for every 64MB of namenode process java heap size.
  2078. Assuming retry cache entry expiration time (configured using
  2079. dfs.namenode.retrycache.expirytime.millis) of 10 minutes, this
  2080. enables retry cache to support 7 operations per second sustained
  2081. for 10 minutes. As the heap size is increased, the operation rate
  2082. linearly increases.
  2083. </description>
  2084. </property>
  2085. <property>
  2086. <name>dfs.client.mmap.enabled</name>
  2087. <value>true</value>
  2088. <description>
  2089. If this is set to false, the client won't attempt to perform memory-mapped reads.
  2090. </description>
  2091. </property>
  2092. <property>
  2093. <name>dfs.client.mmap.cache.size</name>
  2094. <value>256</value>
  2095. <description>
  2096. When zero-copy reads are used, the DFSClient keeps a cache of recently used
  2097. memory mapped regions. This parameter controls the maximum number of
  2098. entries that we will keep in that cache.
  2099. The larger this number is, the more file descriptors we will potentially
  2100. use for memory-mapped files. mmaped files also use virtual address space.
  2101. You may need to increase your ulimit virtual address space limits before
  2102. increasing the client mmap cache size.
  2103. Note that you can still do zero-copy reads when this size is set to 0.
  2104. </description>
  2105. </property>
  2106. <property>
  2107. <name>dfs.client.mmap.cache.timeout.ms</name>
  2108. <value>3600000</value>
  2109. <description>
  2110. The minimum length of time that we will keep an mmap entry in the cache
  2111. between uses. If an entry is in the cache longer than this, and nobody
  2112. uses it, it will be removed by a background thread.
  2113. </description>
  2114. </property>
  2115. <property>
  2116. <name>dfs.client.mmap.retry.timeout.ms</name>
  2117. <value>300000</value>
  2118. <description>
  2119. The minimum amount of time that we will wait before retrying a failed mmap
  2120. operation.
  2121. </description>
  2122. </property>
  2123. <property>
  2124. <name>dfs.client.short.circuit.replica.stale.threshold.ms</name>
  2125. <value>1800000</value>
  2126. <description>
  2127. The maximum amount of time that we will consider a short-circuit replica to
  2128. be valid, if there is no communication from the DataNode. After this time
  2129. has elapsed, we will re-fetch the short-circuit replica even if it is in
  2130. the cache.
  2131. </description>
  2132. </property>
  2133. <property>
  2134. <name>dfs.namenode.path.based.cache.block.map.allocation.percent</name>
  2135. <value>0.25</value>
  2136. <description>
  2137. The percentage of the Java heap which we will allocate to the cached blocks
  2138. map. The cached blocks map is a hash map which uses chained hashing.
  2139. Smaller maps may be accessed more slowly if the number of cached blocks is
  2140. large; larger maps will consume more memory.
  2141. </description>
  2142. </property>
  2143. <property>
  2144. <name>dfs.datanode.max.locked.memory</name>
  2145. <value>0</value>
  2146. <description>
  2147. The amount of memory in bytes to use for caching of block replicas in
  2148. memory on the datanode. The datanode's maximum locked memory soft ulimit
  2149. (RLIMIT_MEMLOCK) must be set to at least this value, else the datanode
  2150. will abort on startup.
  2151. By default, this parameter is set to 0, which disables in-memory caching.
  2152. If the native libraries are not available to the DataNode, this
  2153. configuration has no effect.
  2154. </description>
  2155. </property>
  2156. <property>
  2157. <name>dfs.namenode.list.cache.directives.num.responses</name>
  2158. <value>100</value>
  2159. <description>
  2160. This value controls the number of cache directives that the NameNode will
  2161. send over the wire in response to a listDirectives RPC.
  2162. </description>
  2163. </property>
  2164. <property>
  2165. <name>dfs.namenode.list.cache.pools.num.responses</name>
  2166. <value>100</value>
  2167. <description>
  2168. This value controls the number of cache pools that the NameNode will
  2169. send over the wire in response to a listPools RPC.
  2170. </description>
  2171. </property>
  2172. <property>
  2173. <name>dfs.namenode.path.based.cache.refresh.interval.ms</name>
  2174. <value>30000</value>
  2175. <description>
  2176. The amount of milliseconds between subsequent path cache rescans. Path
  2177. cache rescans are when we calculate which blocks should be cached, and on
  2178. what datanodes.
  2179. By default, this parameter is set to 30 seconds.
  2180. </description>
  2181. </property>
  2182. <property>
  2183. <name>dfs.namenode.path.based.cache.retry.interval.ms</name>
  2184. <value>30000</value>
  2185. <description>
  2186. When the NameNode needs to uncache something that is cached, or cache
  2187. something that is not cached, it must direct the DataNodes to do so by
  2188. sending a DNA_CACHE or DNA_UNCACHE command in response to a DataNode
  2189. heartbeat. This parameter controls how frequently the NameNode will
  2190. resend these commands.
  2191. </description>
  2192. </property>
  2193. <property>
  2194. <name>dfs.datanode.fsdatasetcache.max.threads.per.volume</name>
  2195. <value>4</value>
  2196. <description>
  2197. The maximum number of threads per volume to use for caching new data
  2198. on the datanode. These threads consume both I/O and CPU. This can affect
  2199. normal datanode operations.
  2200. </description>
  2201. </property>
  2202. <property>
  2203. <name>dfs.cachereport.intervalMsec</name>
  2204. <value>10000</value>
  2205. <description>
  2206. Determines cache reporting interval in milliseconds. After this amount of
  2207. time, the DataNode sends a full report of its cache state to the NameNode.
  2208. The NameNode uses the cache report to update its map of cached blocks to
  2209. DataNode locations.
  2210. This configuration has no effect if in-memory caching has been disabled by
  2211. setting dfs.datanode.max.locked.memory to 0 (which is the default).
  2212. If the native libraries are not available to the DataNode, this
  2213. configuration has no effect.
  2214. </description>
  2215. </property>
  2216. <property>
  2217. <name>dfs.namenode.edit.log.autoroll.multiplier.threshold</name>
  2218. <value>2.0</value>
  2219. <description>
  2220. Determines when an active namenode will roll its own edit log.
  2221. The actual threshold (in number of edits) is determined by multiplying
  2222. this value by dfs.namenode.checkpoint.txns.
  2223. This prevents extremely large edit files from accumulating on the active
  2224. namenode, which can cause timeouts during namenode startup and pose an
  2225. administrative hassle. This behavior is intended as a failsafe for when
  2226. the standby or secondary namenode fail to roll the edit log by the normal
  2227. checkpoint threshold.
  2228. </description>
  2229. </property>
  2230. <property>
  2231. <name>dfs.namenode.edit.log.autoroll.check.interval.ms</name>
  2232. <value>300000</value>
  2233. <description>
  2234. How often an active namenode will check if it needs to roll its edit log,
  2235. in milliseconds.
  2236. </description>
  2237. </property>
  2238. <property>
  2239. <name>dfs.webhdfs.user.provider.user.pattern</name>
  2240. <value>^[A-Za-z_][A-Za-z0-9._-]*[$]?$</value>
  2241. <description>
  2242. Valid pattern for user and group names for webhdfs, it must be a valid java regex.
  2243. </description>
  2244. </property>
  2245. <property>
  2246. <name>dfs.webhdfs.acl.provider.permission.pattern</name>
  2247. <value>^(default:)?(user|group|mask|other):[[A-Za-z_][A-Za-z0-9._-]]*:([rwx-]{3})?(,(default:)?(user|group|mask|other):[[A-Za-z_][A-Za-z0-9._-]]*:([rwx-]{3})?)*$</value>
  2248. <description>
  2249. Valid pattern for user and group names in webhdfs acl operations, it must be a valid java regex.
  2250. </description>
  2251. </property>
  2252. <property>
  2253. <name>dfs.webhdfs.socket.connect-timeout</name>
  2254. <value>60s</value>
  2255. <description>
  2256. Socket timeout for connecting to WebHDFS servers. This prevents a
  2257. WebHDFS client from hanging if the server hostname is
  2258. misconfigured, or the server does not response before the timeout
  2259. expires. Value is followed by a unit specifier: ns, us, ms, s, m,
  2260. h, d for nanoseconds, microseconds, milliseconds, seconds,
  2261. minutes, hours, days respectively. Values should provide units,
  2262. but milliseconds are assumed.
  2263. </description>
  2264. </property>
  2265. <property>
  2266. <name>dfs.webhdfs.socket.read-timeout</name>
  2267. <value>60s</value>
  2268. <description>
  2269. Socket timeout for reading data from WebHDFS servers. This
  2270. prevents a WebHDFS client from hanging if the server stops sending
  2271. data. Value is followed by a unit specifier: ns, us, ms, s, m, h,
  2272. d for nanoseconds, microseconds, milliseconds, seconds, minutes,
  2273. hours, days respectively. Values should provide units,
  2274. but milliseconds are assumed.
  2275. </description>
  2276. </property>
  2277. <property>
  2278. <name>dfs.client.context</name>
  2279. <value>default</value>
  2280. <description>
  2281. The name of the DFSClient context that we should use. Clients that share
  2282. a context share a socket cache and short-circuit cache, among other things.
  2283. You should only change this if you don't want to share with another set of
  2284. threads.
  2285. </description>
  2286. </property>
  2287. <property>
  2288. <name>dfs.client.read.shortcircuit</name>
  2289. <value>false</value>
  2290. <description>
  2291. This configuration parameter turns on short-circuit local reads.
  2292. </description>
  2293. </property>
  2294. <property>
  2295. <name>dfs.client.socket.send.buffer.size</name>
  2296. <value>0</value>
  2297. <description>
  2298. Socket send buffer size for a write pipeline in DFSClient side.
  2299. This may affect TCP connection throughput.
  2300. If it is set to zero or negative value,
  2301. no buffer size will be set explicitly,
  2302. thus enable tcp auto-tuning on some system.
  2303. The default value is 0.
  2304. </description>
  2305. </property>
  2306. <property>
  2307. <name>dfs.domain.socket.path</name>
  2308. <value></value>
  2309. <description>
  2310. Optional. This is a path to a UNIX domain socket that will be used for
  2311. communication between the DataNode and local HDFS clients.
  2312. If the string "_PORT" is present in this path, it will be replaced by the
  2313. TCP port of the DataNode.
  2314. </description>
  2315. </property>
  2316. <property>
  2317. <name>dfs.client.read.shortcircuit.skip.checksum</name>
  2318. <value>false</value>
  2319. <description>
  2320. If this configuration parameter is set,
  2321. short-circuit local reads will skip checksums.
  2322. This is normally not recommended,
  2323. but it may be useful for special setups.
  2324. You might consider using this
  2325. if you are doing your own checksumming outside of HDFS.
  2326. </description>
  2327. </property>
  2328. <property>
  2329. <name>dfs.client.read.shortcircuit.streams.cache.size</name>
  2330. <value>256</value>
  2331. <description>
  2332. The DFSClient maintains a cache of recently opened file descriptors.
  2333. This parameter controls the maximum number of file descriptors in the cache.
  2334. Setting this higher will use more file descriptors,
  2335. but potentially provide better performance on workloads
  2336. involving lots of seeks.
  2337. </description>
  2338. </property>
  2339. <property>
  2340. <name>dfs.client.read.shortcircuit.streams.cache.expiry.ms</name>
  2341. <value>300000</value>
  2342. <description>
  2343. This controls the minimum amount of time
  2344. file descriptors need to sit in the client cache context
  2345. before they can be closed for being inactive for too long.
  2346. </description>
  2347. </property>
  2348. <property>
  2349. <name>dfs.datanode.shared.file.descriptor.paths</name>
  2350. <value>/dev/shm,/tmp</value>
  2351. <description>
  2352. Comma separated paths to the directory on which
  2353. shared memory segments are created.
  2354. The client and the DataNode exchange information via
  2355. this shared memory segment.
  2356. It tries paths in order until creation of shared memory segment succeeds.
  2357. </description>
  2358. </property>
  2359. <property>
  2360. <name>dfs.namenode.audit.log.debug.cmdlist</name>
  2361. <value></value>
  2362. <description>
  2363. A comma separated list of NameNode commands that are written to the HDFS
  2364. namenode audit log only if the audit log level is debug.
  2365. </description>
  2366. </property>
  2367. <property>
  2368. <name>dfs.client.use.legacy.blockreader.local</name>
  2369. <value>false</value>
  2370. <description>
  2371. Legacy short-circuit reader implementation based on HDFS-2246 is used
  2372. if this configuration parameter is true.
  2373. This is for the platforms other than Linux
  2374. where the new implementation based on HDFS-347 is not available.
  2375. </description>
  2376. </property>
  2377. <property>
  2378. <name>dfs.block.local-path-access.user</name>
  2379. <value></value>
  2380. <description>
  2381. Comma separated list of the users allowed to open block files
  2382. on legacy short-circuit local read.
  2383. </description>
  2384. </property>
  2385. <property>
  2386. <name>dfs.client.domain.socket.data.traffic</name>
  2387. <value>false</value>
  2388. <description>
  2389. This control whether we will try to pass normal data traffic
  2390. over UNIX domain socket rather than over TCP socket
  2391. on node-local data transfer.
  2392. This is currently experimental and turned off by default.
  2393. </description>
  2394. </property>
  2395. <property>
  2396. <name>dfs.namenode.reject-unresolved-dn-topology-mapping</name>
  2397. <value>false</value>
  2398. <description>
  2399. If the value is set to true, then namenode will reject datanode
  2400. registration if the topology mapping for a datanode is not resolved and
  2401. NULL is returned (script defined by net.topology.script.file.name fails
  2402. to execute). Otherwise, datanode will be registered and the default rack
  2403. will be assigned as the topology path. Topology paths are important for
  2404. data resiliency, since they define fault domains. Thus it may be unwanted
  2405. behavior to allow datanode registration with the default rack if the
  2406. resolving topology failed.
  2407. </description>
  2408. </property>
  2409. <property>
  2410. <name>dfs.namenode.xattrs.enabled</name>
  2411. <value>true</value>
  2412. <description>
  2413. Whether support for extended attributes is enabled on the NameNode.
  2414. </description>
  2415. </property>
  2416. <property>
  2417. <name>dfs.namenode.fs-limits.max-xattrs-per-inode</name>
  2418. <value>32</value>
  2419. <description>
  2420. Maximum number of extended attributes per inode.
  2421. </description>
  2422. </property>
  2423. <property>
  2424. <name>dfs.namenode.fs-limits.max-xattr-size</name>
  2425. <value>16384</value>
  2426. <description>
  2427. The maximum combined size of the name and value of an extended attribute
  2428. in bytes. It should be larger than 0, and less than or equal to maximum
  2429. size hard limit which is 32768.
  2430. </description>
  2431. </property>
  2432. <property>
  2433. <name>dfs.client.slow.io.warning.threshold.ms</name>
  2434. <value>30000</value>
  2435. <description>The threshold in milliseconds at which we will log a slow
  2436. io warning in a dfsclient. By default, this parameter is set to 30000
  2437. milliseconds (30 seconds).
  2438. </description>
  2439. </property>
  2440. <property>
  2441. <name>dfs.datanode.slow.io.warning.threshold.ms</name>
  2442. <value>300</value>
  2443. <description>The threshold in milliseconds at which we will log a slow
  2444. io warning in a datanode. By default, this parameter is set to 300
  2445. milliseconds.
  2446. </description>
  2447. </property>
  2448. <property>
  2449. <name>dfs.namenode.lease-recheck-interval-ms</name>
  2450. <value>2000</value>
  2451. <description>During the release of lease a lock is hold that make any
  2452. operations on the namenode stuck. In order to not block them during
  2453. a too long duration we stop releasing lease after this max lock limit.
  2454. </description>
  2455. </property>
  2456. <property>
  2457. <name>dfs.namenode.max-lock-hold-to-release-lease-ms</name>
  2458. <value>25</value>
  2459. <description>During the release of lease a lock is hold that make any
  2460. operations on the namenode stuck. In order to not block them during
  2461. a too long duration we stop releasing lease after this max lock limit.
  2462. </description>
  2463. </property>
  2464. <property>
  2465. <name>dfs.namenode.write-lock-reporting-threshold-ms</name>
  2466. <value>5000</value>
  2467. <description>When a write lock is held on the namenode for a long time,
  2468. this will be logged as the lock is released. This sets how long the
  2469. lock must be held for logging to occur.
  2470. </description>
  2471. </property>
  2472. <property>
  2473. <name>dfs.namenode.read-lock-reporting-threshold-ms</name>
  2474. <value>5000</value>
  2475. <description>When a read lock is held on the namenode for a long time,
  2476. this will be logged as the lock is released. This sets how long the
  2477. lock must be held for logging to occur.
  2478. </description>
  2479. </property>
  2480. <property>
  2481. <name>dfs.namenode.lock.detailed-metrics.enabled</name>
  2482. <value>false</value>
  2483. <description>If true, the namenode will keep track of how long various
  2484. operations hold the Namesystem lock for and emit this as metrics. These
  2485. metrics have names of the form FSN(Read|Write)LockNanosOperationName,
  2486. where OperationName denotes the name of the operation that initiated the
  2487. lock hold (this will be OTHER for certain uncategorized operations) and
  2488. they export the hold time values in nanoseconds.
  2489. </description>
  2490. </property>
  2491. <property>
  2492. <name>dfs.namenode.fslock.fair</name>
  2493. <value>true</value>
  2494. <description>If this is true, the FS Namesystem lock will be used in Fair mode,
  2495. which will help to prevent writer threads from being starved, but can provide
  2496. lower lock throughput. See java.util.concurrent.locks.ReentrantReadWriteLock
  2497. for more information on fair/non-fair locks.
  2498. </description>
  2499. </property>
  2500. <property>
  2501. <name>dfs.namenode.startup.delay.block.deletion.sec</name>
  2502. <value>0</value>
  2503. <description>The delay in seconds at which we will pause the blocks deletion
  2504. after Namenode startup. By default it's disabled.
  2505. In the case a directory has large number of directories and files are
  2506. deleted, suggested delay is one hour to give the administrator enough time
  2507. to notice large number of pending deletion blocks and take corrective
  2508. action.
  2509. </description>
  2510. </property>
  2511. <property>
  2512. <name>dfs.datanode.block.id.layout.upgrade.threads</name>
  2513. <value>12</value>
  2514. <description>The number of threads to use when creating hard links from
  2515. current to previous blocks during upgrade of a DataNode to block ID-based
  2516. block layout (see HDFS-6482 for details on the layout).</description>
  2517. </property>
  2518. <property>
  2519. <name>dfs.namenode.list.encryption.zones.num.responses</name>
  2520. <value>100</value>
  2521. <description>When listing encryption zones, the maximum number of zones
  2522. that will be returned in a batch. Fetching the list incrementally in
  2523. batches improves namenode performance.
  2524. </description>
  2525. </property>
  2526. <property>
  2527. <name>dfs.namenode.list.reencryption.status.num.responses</name>
  2528. <value>100</value>
  2529. <description>When listing re-encryption status, the maximum number of zones
  2530. that will be returned in a batch. Fetching the list incrementally in
  2531. batches improves namenode performance.
  2532. </description>
  2533. </property>
  2534. <property>
  2535. <name>dfs.namenode.list.openfiles.num.responses</name>
  2536. <value>1000</value>
  2537. <description>
  2538. When listing open files, the maximum number of open files that will be
  2539. returned in a single batch. Fetching the list incrementally in batches
  2540. improves namenode performance.
  2541. </description>
  2542. </property>
  2543. <property>
  2544. <name>dfs.namenode.edekcacheloader.interval.ms</name>
  2545. <value>1000</value>
  2546. <description>When KeyProvider is configured, the interval time of warming
  2547. up edek cache on NN starts up / becomes active. All edeks will be loaded
  2548. from KMS into provider cache. The edek cache loader will try to warm up the
  2549. cache until succeed or NN leaves active state.
  2550. </description>
  2551. </property>
  2552. <property>
  2553. <name>dfs.namenode.edekcacheloader.initial.delay.ms</name>
  2554. <value>3000</value>
  2555. <description>When KeyProvider is configured, the time delayed until the first
  2556. attempt to warm up edek cache on NN start up / become active.
  2557. </description>
  2558. </property>
  2559. <property>
  2560. <name>dfs.namenode.reencrypt.sleep.interval</name>
  2561. <value>1m</value>
  2562. <description>Interval the re-encrypt EDEK thread sleeps in the main loop. The
  2563. interval accepts units. If none given, millisecond is assumed.
  2564. </description>
  2565. </property>
  2566. <property>
  2567. <name>dfs.namenode.reencrypt.batch.size</name>
  2568. <value>1000</value>
  2569. <description>How many EDEKs should the re-encrypt thread process in one batch.
  2570. </description>
  2571. </property>
  2572. <property>
  2573. <name>dfs.namenode.reencrypt.throttle.limit.handler.ratio</name>
  2574. <value>1.0</value>
  2575. <description>Throttling ratio for the re-encryption, indicating what fraction
  2576. of time should the re-encrypt handler thread work under NN read lock.
  2577. Larger than 1.0 values are interpreted as 1.0. Negative value or 0 are
  2578. invalid values and will fail NN startup.
  2579. </description>
  2580. </property>
  2581. <property>
  2582. <name>dfs.namenode.reencrypt.throttle.limit.updater.ratio</name>
  2583. <value>1.0</value>
  2584. <description>Throttling ratio for the re-encryption, indicating what fraction
  2585. of time should the re-encrypt updater thread work under NN write lock.
  2586. Larger than 1.0 values are interpreted as 1.0. Negative value or 0 are
  2587. invalid values and will fail NN startup.
  2588. </description>
  2589. </property>
  2590. <property>
  2591. <name>dfs.namenode.reencrypt.edek.threads</name>
  2592. <value>10</value>
  2593. <description>Maximum number of re-encrypt threads to contact the KMS
  2594. and re-encrypt the edeks.
  2595. </description>
  2596. </property>
  2597. <property>
  2598. <name>dfs.namenode.inotify.max.events.per.rpc</name>
  2599. <value>1000</value>
  2600. <description>Maximum number of events that will be sent to an inotify client
  2601. in a single RPC response. The default value attempts to amortize away
  2602. the overhead for this RPC while avoiding huge memory requirements for the
  2603. client and NameNode (1000 events should consume no more than 1 MB.)
  2604. </description>
  2605. </property>
  2606. <property>
  2607. <name>dfs.user.home.dir.prefix</name>
  2608. <value>/user</value>
  2609. <description>The directory to prepend to user name to get the user's
  2610. home direcotry.
  2611. </description>
  2612. </property>
  2613. <property>
  2614. <name>dfs.datanode.cache.revocation.timeout.ms</name>
  2615. <value>900000</value>
  2616. <description>When the DFSClient reads from a block file which the DataNode is
  2617. caching, the DFSClient can skip verifying checksums. The DataNode will
  2618. keep the block file in cache until the client is done. If the client takes
  2619. an unusually long time, though, the DataNode may need to evict the block
  2620. file from the cache anyway. This value controls how long the DataNode will
  2621. wait for the client to release a replica that it is reading without
  2622. checksums.
  2623. </description>
  2624. </property>
  2625. <property>
  2626. <name>dfs.datanode.cache.revocation.polling.ms</name>
  2627. <value>500</value>
  2628. <description>How often the DataNode should poll to see if the clients have
  2629. stopped using a replica that the DataNode wants to uncache.
  2630. </description>
  2631. </property>
  2632. <property>
  2633. <name>dfs.storage.policy.enabled</name>
  2634. <value>true</value>
  2635. <description>
  2636. Allow users to change the storage policy on files and directories.
  2637. </description>
  2638. </property>
  2639. <property>
  2640. <name>dfs.namenode.legacy-oiv-image.dir</name>
  2641. <value></value>
  2642. <description>Determines where to save the namespace in the old fsimage format
  2643. during checkpointing by standby NameNode or SecondaryNameNode. Users can
  2644. dump the contents of the old format fsimage by oiv_legacy command. If
  2645. the value is not specified, old format fsimage will not be saved in
  2646. checkpoint.
  2647. </description>
  2648. </property>
  2649. <property>
  2650. <name>dfs.namenode.top.enabled</name>
  2651. <value>true</value>
  2652. <description>Enable nntop: reporting top users on namenode
  2653. </description>
  2654. </property>
  2655. <property>
  2656. <name>dfs.namenode.top.window.num.buckets</name>
  2657. <value>10</value>
  2658. <description>Number of buckets in the rolling window implementation of nntop
  2659. </description>
  2660. </property>
  2661. <property>
  2662. <name>dfs.namenode.top.num.users</name>
  2663. <value>10</value>
  2664. <description>Number of top users returned by the top tool
  2665. </description>
  2666. </property>
  2667. <property>
  2668. <name>dfs.namenode.top.windows.minutes</name>
  2669. <value>1,5,25</value>
  2670. <description>comma separated list of nntop reporting periods in minutes
  2671. </description>
  2672. </property>
  2673. <property>
  2674. <name>dfs.webhdfs.ugi.expire.after.access</name>
  2675. <value>600000</value>
  2676. <description>How long in milliseconds after the last access
  2677. the cached UGI will expire. With 0, never expire.
  2678. </description>
  2679. </property>
  2680. <property>
  2681. <name>dfs.namenode.blocks.per.postponedblocks.rescan</name>
  2682. <value>10000</value>
  2683. <description>Number of blocks to rescan for each iteration of
  2684. postponedMisreplicatedBlocks.
  2685. </description>
  2686. </property>
  2687. <property>
  2688. <name>dfs.datanode.block-pinning.enabled</name>
  2689. <value>false</value>
  2690. <description>Whether pin blocks on favored DataNode.</description>
  2691. </property>
  2692. <property>
  2693. <name>dfs.client.block.write.locateFollowingBlock.initial.delay.ms</name>
  2694. <value>400</value>
  2695. <description>The initial delay (unit is ms) for locateFollowingBlock,
  2696. the delay time will increase exponentially(double) for each retry.
  2697. </description>
  2698. </property>
  2699. <property>
  2700. <name>dfs.ha.zkfc.nn.http.timeout.ms</name>
  2701. <value>20000</value>
  2702. <description>
  2703. The HTTP connection and read timeout value (unit is ms ) when DFS ZKFC
  2704. tries to get local NN thread dump after local NN becomes
  2705. SERVICE_NOT_RESPONDING or SERVICE_UNHEALTHY.
  2706. If it is set to zero, DFS ZKFC won't get local NN thread dump.
  2707. </description>
  2708. </property>
  2709. <property>
  2710. <name>dfs.ha.tail-edits.in-progress</name>
  2711. <value>false</value>
  2712. <description>
  2713. Whether enable standby namenode to tail in-progress edit logs.
  2714. Clients might want to turn it on when they want Standby NN to have
  2715. more up-to-date data.
  2716. </description>
  2717. </property>
  2718. <property>
  2719. <name>dfs.namenode.ec.system.default.policy</name>
  2720. <value>RS-6-3-1024k</value>
  2721. <description>The default erasure coding policy name will be used
  2722. on the path if no policy name is passed.
  2723. </description>
  2724. </property>
  2725. <property>
  2726. <name>dfs.namenode.ec.policies.max.cellsize</name>
  2727. <value>4194304</value>
  2728. <description>The maximum cell size of erasure coding policy. Default is 4MB.
  2729. </description>
  2730. </property>
  2731. <property>
  2732. <name>dfs.datanode.ec.reconstruction.stripedread.timeout.millis</name>
  2733. <value>5000</value>
  2734. <description>Datanode striped read timeout in milliseconds.
  2735. </description>
  2736. </property>
  2737. <property>
  2738. <name>dfs.datanode.ec.reconstruction.stripedread.buffer.size</name>
  2739. <value>65536</value>
  2740. <description>Datanode striped read buffer size.
  2741. </description>
  2742. </property>
  2743. <property>
  2744. <name>dfs.datanode.ec.reconstruction.threads</name>
  2745. <value>8</value>
  2746. <description>
  2747. Number of threads used by the Datanode for background
  2748. reconstruction work.
  2749. </description>
  2750. </property>
  2751. <property>
  2752. <name>dfs.datanode.ec.reconstruction.xmits.weight</name>
  2753. <value>0.5</value>
  2754. <description>
  2755. Datanode uses xmits weight to calculate the relative cost of EC recovery
  2756. tasks comparing to replicated block recovery, of which xmits is always 1.
  2757. Namenode then uses xmits reported from datanode to throttle recovery tasks
  2758. for EC and replicated blocks.
  2759. The xmits of an erasure coding recovery task is calculated as the maximum
  2760. value between the number of read streams and the number of write streams.
  2761. </description>
  2762. </property>
  2763. <property>
  2764. <name>dfs.namenode.quota.init-threads</name>
  2765. <value>4</value>
  2766. <description>
  2767. The number of concurrent threads to be used in quota initialization. The
  2768. speed of quota initialization also affects the namenode fail-over latency.
  2769. If the size of name space is big, try increasing this.
  2770. </description>
  2771. </property>
  2772. <property>
  2773. <name>dfs.datanode.transfer.socket.send.buffer.size</name>
  2774. <value>0</value>
  2775. <description>
  2776. Socket send buffer size for DataXceiver (mirroring packets to downstream
  2777. in pipeline). This may affect TCP connection throughput.
  2778. If it is set to zero or negative value, no buffer size will be set
  2779. explicitly, thus enable tcp auto-tuning on some system.
  2780. The default value is 0.
  2781. </description>
  2782. </property>
  2783. <property>
  2784. <name>dfs.datanode.transfer.socket.recv.buffer.size</name>
  2785. <value>0</value>
  2786. <description>
  2787. Socket receive buffer size for DataXceiver (receiving packets from client
  2788. during block writing). This may affect TCP connection throughput.
  2789. If it is set to zero or negative value, no buffer size will be set
  2790. explicitly, thus enable tcp auto-tuning on some system.
  2791. The default value is 0.
  2792. </description>
  2793. </property>
  2794. <property>
  2795. <name>dfs.namenode.upgrade.domain.factor</name>
  2796. <value>${dfs.replication}</value>
  2797. <description>
  2798. This is valid only when block placement policy is set to
  2799. BlockPlacementPolicyWithUpgradeDomain. It defines the number of
  2800. unique upgrade domains any block's replicas should have.
  2801. When the number of replicas is less or equal to this value, the policy
  2802. ensures each replica has an unique upgrade domain. When the number of
  2803. replicas is greater than this value, the policy ensures the number of
  2804. unique domains is at least this value.
  2805. </description>
  2806. </property>
  2807. <property>
  2808. <name>dfs.ha.zkfc.port</name>
  2809. <value>8019</value>
  2810. <description>
  2811. RPC port for Zookeeper Failover Controller.
  2812. </description>
  2813. </property>
  2814. <property>
  2815. <name>dfs.datanode.bp-ready.timeout</name>
  2816. <value>20s</value>
  2817. <description>
  2818. The maximum wait time for datanode to be ready before failing the
  2819. received request. Setting this to 0 fails requests right away if the
  2820. datanode is not yet registered with the namenode. This wait time
  2821. reduces initial request failures after datanode restart.
  2822. Support multiple time unit suffix(case insensitive), as described
  2823. in dfs.heartbeat.interval.
  2824. </description>
  2825. </property>
  2826. <property>
  2827. <name>dfs.datanode.cached-dfsused.check.interval.ms</name>
  2828. <value>600000</value>
  2829. <description>
  2830. The interval check time of loading DU_CACHE_FILE in each volume.
  2831. When the cluster doing the rolling upgrade operations, it will
  2832. usually lead dfsUsed cache file of each volume expired and redo the
  2833. du operations in datanode and that makes datanode start slowly. Adjust
  2834. this property can make cache file be available for the time as you want.
  2835. </description>
  2836. </property>
  2837. <property>
  2838. <name>dfs.webhdfs.rest-csrf.enabled</name>
  2839. <value>false</value>
  2840. <description>
  2841. If true, then enables WebHDFS protection against cross-site request forgery
  2842. (CSRF). The WebHDFS client also uses this property to determine whether or
  2843. not it needs to send the custom CSRF prevention header in its HTTP requests.
  2844. </description>
  2845. </property>
  2846. <property>
  2847. <name>dfs.webhdfs.rest-csrf.custom-header</name>
  2848. <value>X-XSRF-HEADER</value>
  2849. <description>
  2850. The name of a custom header that HTTP requests must send when protection
  2851. against cross-site request forgery (CSRF) is enabled for WebHDFS by setting
  2852. dfs.webhdfs.rest-csrf.enabled to true. The WebHDFS client also uses this
  2853. property to determine whether or not it needs to send the custom CSRF
  2854. prevention header in its HTTP requests.
  2855. </description>
  2856. </property>
  2857. <property>
  2858. <name>dfs.webhdfs.rest-csrf.methods-to-ignore</name>
  2859. <value>GET,OPTIONS,HEAD,TRACE</value>
  2860. <description>
  2861. A comma-separated list of HTTP methods that do not require HTTP requests to
  2862. include a custom header when protection against cross-site request forgery
  2863. (CSRF) is enabled for WebHDFS by setting dfs.webhdfs.rest-csrf.enabled to
  2864. true. The WebHDFS client also uses this property to determine whether or
  2865. not it needs to send the custom CSRF prevention header in its HTTP requests.
  2866. </description>
  2867. </property>
  2868. <property>
  2869. <name>dfs.webhdfs.rest-csrf.browser-useragents-regex</name>
  2870. <value>^Mozilla.*,^Opera.*</value>
  2871. <description>
  2872. A comma-separated list of regular expressions used to match against an HTTP
  2873. request's User-Agent header when protection against cross-site request
  2874. forgery (CSRF) is enabled for WebHDFS by setting
  2875. dfs.webhdfs.reset-csrf.enabled to true. If the incoming User-Agent matches
  2876. any of these regular expressions, then the request is considered to be sent
  2877. by a browser, and therefore CSRF prevention is enforced. If the request's
  2878. User-Agent does not match any of these regular expressions, then the request
  2879. is considered to be sent by something other than a browser, such as scripted
  2880. automation. In this case, CSRF is not a potential attack vector, so
  2881. the prevention is not enforced. This helps achieve backwards-compatibility
  2882. with existing automation that has not been updated to send the CSRF
  2883. prevention header.
  2884. </description>
  2885. </property>
  2886. <property>
  2887. <name>dfs.xframe.enabled</name>
  2888. <value>true</value>
  2889. <description>
  2890. If true, then enables protection against clickjacking by returning
  2891. X_FRAME_OPTIONS header value set to SAMEORIGIN.
  2892. Clickjacking protection prevents an attacker from using transparent or
  2893. opaque layers to trick a user into clicking on a button
  2894. or link on another page.
  2895. </description>
  2896. </property>
  2897. <property>
  2898. <name>dfs.xframe.value</name>
  2899. <value>SAMEORIGIN</value>
  2900. <description>
  2901. This configration value allows user to specify the value for the
  2902. X-FRAME-OPTIONS. The possible values for this field are
  2903. DENY, SAMEORIGIN and ALLOW-FROM. Any other value will throw an
  2904. exception when namenode and datanodes are starting up.
  2905. </description>
  2906. </property>
  2907. <property>
  2908. <name>dfs.balancer.keytab.enabled</name>
  2909. <value>false</value>
  2910. <description>
  2911. Set to true to enable login using a keytab for Kerberized Hadoop.
  2912. </description>
  2913. </property>
  2914. <property>
  2915. <name>dfs.balancer.address</name>
  2916. <value>0.0.0.0:0</value>
  2917. <description>
  2918. The hostname used for a keytab based Kerberos login. Keytab based login
  2919. can be enabled with dfs.balancer.keytab.enabled.
  2920. </description>
  2921. </property>
  2922. <property>
  2923. <name>dfs.balancer.keytab.file</name>
  2924. <value></value>
  2925. <description>
  2926. The keytab file used by the Balancer to login as its
  2927. service principal. The principal name is configured with
  2928. dfs.balancer.kerberos.principal. Keytab based login can be
  2929. enabled with dfs.balancer.keytab.enabled.
  2930. </description>
  2931. </property>
  2932. <property>
  2933. <name>dfs.balancer.kerberos.principal</name>
  2934. <value></value>
  2935. <description>
  2936. The Balancer principal. This is typically set to
  2937. balancer/_HOST@REALM.TLD. The Balancer will substitute _HOST with its
  2938. own fully qualified hostname at startup. The _HOST placeholder
  2939. allows using the same configuration setting on different servers.
  2940. Keytab based login can be enabled with dfs.balancer.keytab.enabled.
  2941. </description>
  2942. </property>
  2943. <property>
  2944. <name>dfs.http.client.retry.policy.enabled</name>
  2945. <value>false</value>
  2946. <description>
  2947. If "true", enable the retry policy of WebHDFS client.
  2948. If "false", retry policy is turned off.
  2949. Enabling the retry policy can be quite useful while using WebHDFS to
  2950. copy large files between clusters that could timeout, or
  2951. copy files between HA clusters that could failover during the copy.
  2952. </description>
  2953. </property>
  2954. <property>
  2955. <name>dfs.http.client.retry.policy.spec</name>
  2956. <value>10000,6,60000,10</value>
  2957. <description>
  2958. Specify a policy of multiple linear random retry for WebHDFS client,
  2959. e.g. given pairs of number of retries and sleep time (n0, t0), (n1, t1),
  2960. ..., the first n0 retries sleep t0 milliseconds on average,
  2961. the following n1 retries sleep t1 milliseconds on average, and so on.
  2962. </description>
  2963. </property>
  2964. <property>
  2965. <name>dfs.http.client.failover.max.attempts</name>
  2966. <value>15</value>
  2967. <description>
  2968. Specify the max number of failover attempts for WebHDFS client
  2969. in case of network exception.
  2970. </description>
  2971. </property>
  2972. <property>
  2973. <name>dfs.http.client.retry.max.attempts</name>
  2974. <value>10</value>
  2975. <description>
  2976. Specify the max number of retry attempts for WebHDFS client,
  2977. if the difference between retried attempts and failovered attempts is
  2978. larger than the max number of retry attempts, there will be no more
  2979. retries.
  2980. </description>
  2981. </property>
  2982. <property>
  2983. <name>dfs.http.client.failover.sleep.base.millis</name>
  2984. <value>500</value>
  2985. <description>
  2986. Specify the base amount of time in milliseconds upon which the
  2987. exponentially increased sleep time between retries or failovers
  2988. is calculated for WebHDFS client.
  2989. </description>
  2990. </property>
  2991. <property>
  2992. <name>dfs.http.client.failover.sleep.max.millis</name>
  2993. <value>15000</value>
  2994. <description>
  2995. Specify the upper bound of sleep time in milliseconds between
  2996. retries or failovers for WebHDFS client.
  2997. </description>
  2998. </property>
  2999. <property>
  3000. <name>dfs.namenode.hosts.provider.classname</name>
  3001. <value>org.apache.hadoop.hdfs.server.blockmanagement.HostFileManager</value>
  3002. <description>
  3003. The class that provides access for host files.
  3004. org.apache.hadoop.hdfs.server.blockmanagement.HostFileManager is used
  3005. by default which loads files specified by dfs.hosts and dfs.hosts.exclude.
  3006. If org.apache.hadoop.hdfs.server.blockmanagement.CombinedHostFileManager is
  3007. used, it will load the JSON file defined in dfs.hosts.
  3008. To change class name, nn restart is required. "dfsadmin -refreshNodes" only
  3009. refreshes the configuration files used by the class.
  3010. </description>
  3011. </property>
  3012. <property>
  3013. <name>datanode.https.port</name>
  3014. <value>50475</value>
  3015. <description>
  3016. HTTPS port for DataNode.
  3017. </description>
  3018. </property>
  3019. <property>
  3020. <name>dfs.balancer.dispatcherThreads</name>
  3021. <value>200</value>
  3022. <description>
  3023. Size of the thread pool for the HDFS balancer block mover.
  3024. dispatchExecutor
  3025. </description>
  3026. </property>
  3027. <property>
  3028. <name>dfs.balancer.movedWinWidth</name>
  3029. <value>5400000</value>
  3030. <description>
  3031. Window of time in ms for the HDFS balancer tracking blocks and its
  3032. locations.
  3033. </description>
  3034. </property>
  3035. <property>
  3036. <name>dfs.balancer.moverThreads</name>
  3037. <value>1000</value>
  3038. <description>
  3039. Thread pool size for executing block moves.
  3040. moverThreadAllocator
  3041. </description>
  3042. </property>
  3043. <property>
  3044. <name>dfs.balancer.max-size-to-move</name>
  3045. <value>10737418240</value>
  3046. <description>
  3047. Maximum number of bytes that can be moved by the balancer in a single
  3048. thread.
  3049. </description>
  3050. </property>
  3051. <property>
  3052. <name>dfs.balancer.getBlocks.min-block-size</name>
  3053. <value>10485760</value>
  3054. <description>
  3055. Minimum block threshold size in bytes to ignore when fetching a source's
  3056. block list.
  3057. </description>
  3058. </property>
  3059. <property>
  3060. <name>dfs.balancer.getBlocks.size</name>
  3061. <value>2147483648</value>
  3062. <description>
  3063. Total size in bytes of Datanode blocks to get when fetching a source's
  3064. block list.
  3065. </description>
  3066. </property>
  3067. <property>
  3068. <name>dfs.balancer.block-move.timeout</name>
  3069. <value>0</value>
  3070. <description>
  3071. Maximum amount of time in milliseconds for a block to move. If this is set
  3072. greater than 0, Balancer will stop waiting for a block move completion
  3073. after this time. In typical clusters, a 3 to 5 minute timeout is reasonable.
  3074. If timeout happens to a large proportion of block moves, this needs to be
  3075. increased. It could also be that too much work is dispatched and many nodes
  3076. are constantly exceeding the bandwidth limit as a result. In that case,
  3077. other balancer parameters might need to be adjusted.
  3078. It is disabled (0) by default.
  3079. </description>
  3080. </property>
  3081. <property>
  3082. <name>dfs.balancer.max-no-move-interval</name>
  3083. <value>60000</value>
  3084. <description>
  3085. If this specified amount of time has elapsed and no block has been moved
  3086. out of a source DataNode, on more effort will be made to move blocks out of
  3087. this DataNode in the current Balancer iteration.
  3088. </description>
  3089. </property>
  3090. <property>
  3091. <name>dfs.block.invalidate.limit</name>
  3092. <value>1000</value>
  3093. <description>
  3094. The maximum number of invalidate blocks sent by namenode to a datanode
  3095. per heartbeat deletion command. This property works with
  3096. "dfs.namenode.invalidate.work.pct.per.iteration" to throttle block
  3097. deletions.
  3098. </description>
  3099. </property>
  3100. <property>
  3101. <name>dfs.block.misreplication.processing.limit</name>
  3102. <value>10000</value>
  3103. <description>
  3104. Maximum number of blocks to process for initializing replication queues.
  3105. </description>
  3106. </property>
  3107. <property>
  3108. <name>dfs.block.placement.ec.classname</name>
  3109. <value>org.apache.hadoop.hdfs.server.blockmanagement.BlockPlacementPolicyRackFaultTolerant</value>
  3110. <description>
  3111. Placement policy class for striped files.
  3112. Defaults to BlockPlacementPolicyRackFaultTolerant.class
  3113. </description>
  3114. </property>
  3115. <property>
  3116. <name>dfs.block.replicator.classname</name>
  3117. <value>org.apache.hadoop.hdfs.server.blockmanagement.BlockPlacementPolicyDefault</value>
  3118. <description>
  3119. Class representing block placement policy for non-striped files.
  3120. There are four block placement policies currently being supported:
  3121. BlockPlacementPolicyDefault, BlockPlacementPolicyWithNodeGroup,
  3122. BlockPlacementPolicyRackFaultTolerant and BlockPlacementPolicyWithUpgradeDomain.
  3123. BlockPlacementPolicyDefault chooses the desired number of targets
  3124. for placing block replicas in a default way. BlockPlacementPolicyWithNodeGroup
  3125. places block replicas on environment with node-group layer. BlockPlacementPolicyRackFaultTolerant
  3126. places the replicas to more racks.
  3127. BlockPlacementPolicyWithUpgradeDomain places block replicas that honors upgrade domain policy.
  3128. The details of placing replicas are documented in the javadoc of the corresponding policy classes.
  3129. The default policy is BlockPlacementPolicyDefault, and the corresponding class is
  3130. org.apache.hadoop.hdfs.server.blockmanagement.BlockPlacementPolicyDefault.
  3131. </description>
  3132. </property>
  3133. <property>
  3134. <name>dfs.blockreport.incremental.intervalMsec</name>
  3135. <value>0</value>
  3136. <description>
  3137. If set to a positive integer, the value in ms to wait between sending
  3138. incremental block reports from the Datanode to the Namenode.
  3139. </description>
  3140. </property>
  3141. <property>
  3142. <name>dfs.checksum.type</name>
  3143. <value>CRC32C</value>
  3144. <description>
  3145. Checksum type
  3146. </description>
  3147. </property>
  3148. <property>
  3149. <name>dfs.client.block.write.locateFollowingBlock.retries</name>
  3150. <value>5</value>
  3151. <description>
  3152. Number of retries to use when finding the next block during HDFS writes.
  3153. </description>
  3154. </property>
  3155. <property>
  3156. <name>dfs.client.failover.proxy.provider</name>
  3157. <value></value>
  3158. <description>
  3159. The prefix (plus a required nameservice ID) for the class name of the
  3160. configured Failover proxy provider for the host. For more detailed
  3161. information, please consult the "Configuration Details" section of
  3162. the HDFS High Availability documentation.
  3163. </description>
  3164. </property>
  3165. <property>
  3166. <name>dfs.client.key.provider.cache.expiry</name>
  3167. <value>864000000</value>
  3168. <description>
  3169. DFS client security key cache expiration in milliseconds.
  3170. </description>
  3171. </property>
  3172. <property>
  3173. <name>dfs.client.max.block.acquire.failures</name>
  3174. <value>3</value>
  3175. <description>
  3176. Maximum failures allowed when trying to get block information from a specific datanode.
  3177. </description>
  3178. </property>
  3179. <property>
  3180. <name>dfs.client.read.prefetch.size</name>
  3181. <value></value>
  3182. <description>
  3183. The number of bytes for the DFSClient will fetch from the Namenode
  3184. during a read operation. Defaults to 10 * ${dfs.blocksize}.
  3185. </description>
  3186. </property>
  3187. <property>
  3188. <name>dfs.client.read.short.circuit.replica.stale.threshold.ms</name>
  3189. <value>1800000</value>
  3190. <description>
  3191. Threshold in milliseconds for read entries during short-circuit local reads.
  3192. </description>
  3193. </property>
  3194. <property>
  3195. <name>dfs.client.read.shortcircuit.buffer.size</name>
  3196. <value>1048576</value>
  3197. <description>
  3198. Buffer size in bytes for short-circuit local reads.
  3199. </description>
  3200. </property>
  3201. <property>
  3202. <name>dfs.client.read.striped.threadpool.size</name>
  3203. <value>18</value>
  3204. <description>
  3205. The maximum number of threads used for parallel reading
  3206. in striped layout.
  3207. </description>
  3208. </property>
  3209. <property>
  3210. <name>dfs.client.replica.accessor.builder.classes</name>
  3211. <value></value>
  3212. <description>
  3213. Comma-separated classes for building ReplicaAccessor. If the classes
  3214. are specified, client will use external BlockReader that uses the
  3215. ReplicaAccessor built by the builder.
  3216. </description>
  3217. </property>
  3218. <property>
  3219. <name>dfs.client.retry.interval-ms.get-last-block-length</name>
  3220. <value>4000</value>
  3221. <description>
  3222. Retry interval in milliseconds to wait between retries in getting
  3223. block lengths from the datanodes.
  3224. </description>
  3225. </property>
  3226. <property>
  3227. <name>dfs.client.retry.max.attempts</name>
  3228. <value>10</value>
  3229. <description>
  3230. Max retry attempts for DFSClient talking to namenodes.
  3231. </description>
  3232. </property>
  3233. <property>
  3234. <name>dfs.client.retry.policy.enabled</name>
  3235. <value>false</value>
  3236. <description>
  3237. If true, turns on DFSClient retry policy.
  3238. </description>
  3239. </property>
  3240. <property>
  3241. <name>dfs.client.retry.policy.spec</name>
  3242. <value>10000,6,60000,10</value>
  3243. <description>
  3244. Set to pairs of timeouts and retries for DFSClient.
  3245. </description>
  3246. </property>
  3247. <property>
  3248. <name>dfs.client.retry.times.get-last-block-length</name>
  3249. <value>3</value>
  3250. <description>
  3251. Number of retries for calls to fetchLocatedBlocksAndGetLastBlockLength().
  3252. </description>
  3253. </property>
  3254. <property>
  3255. <name>dfs.client.retry.window.base</name>
  3256. <value>3000</value>
  3257. <description>
  3258. Base time window in ms for DFSClient retries. For each retry attempt,
  3259. this value is extended linearly (e.g. 3000 ms for first attempt and
  3260. first retry, 6000 ms for second retry, 9000 ms for third retry, etc.).
  3261. </description>
  3262. </property>
  3263. <property>
  3264. <name>dfs.client.socket-timeout</name>
  3265. <value>60000</value>
  3266. <description>
  3267. Default timeout value in milliseconds for all sockets.
  3268. </description>
  3269. </property>
  3270. <property>
  3271. <name>dfs.client.socketcache.capacity</name>
  3272. <value>16</value>
  3273. <description>
  3274. Socket cache capacity (in entries) for short-circuit reads.
  3275. </description>
  3276. </property>
  3277. <property>
  3278. <name>dfs.client.socketcache.expiryMsec</name>
  3279. <value>3000</value>
  3280. <description>
  3281. Socket cache expiration for short-circuit reads in msec.
  3282. </description>
  3283. </property>
  3284. <property>
  3285. <name>dfs.client.test.drop.namenode.response.number</name>
  3286. <value>0</value>
  3287. <description>
  3288. The number of Namenode responses dropped by DFSClient for each RPC call. Used
  3289. for testing the NN retry cache.
  3290. </description>
  3291. </property>
  3292. <property>
  3293. <name>dfs.client.hedged.read.threadpool.size</name>
  3294. <value>0</value>
  3295. <description>
  3296. Support 'hedged' reads in DFSClient. To enable this feature, set the parameter
  3297. to a positive number. The threadpool size is how many threads to dedicate
  3298. to the running of these 'hedged', concurrent reads in your client.
  3299. </description>
  3300. </property>
  3301. <property>
  3302. <name>dfs.client.hedged.read.threshold.millis</name>
  3303. <value>500</value>
  3304. <description>
  3305. Configure 'hedged' reads in DFSClient. This is the number of milliseconds
  3306. to wait before starting up a 'hedged' read.
  3307. </description>
  3308. </property>
  3309. <property>
  3310. <name>dfs.client.write.byte-array-manager.count-limit</name>
  3311. <value>2048</value>
  3312. <description>
  3313. The maximum number of arrays allowed for each array length.
  3314. </description>
  3315. </property>
  3316. <property>
  3317. <name>dfs.client.write.byte-array-manager.count-reset-time-period-ms</name>
  3318. <value>10000</value>
  3319. <description>
  3320. The time period in milliseconds that the allocation count for each array length is
  3321. reset to zero if there is no increment.
  3322. </description>
  3323. </property>
  3324. <property>
  3325. <name>dfs.client.write.byte-array-manager.count-threshold</name>
  3326. <value>128</value>
  3327. <description>
  3328. The count threshold for each array length so that a manager is created only after the
  3329. allocation count exceeds the threshold. In other words, the particular array length
  3330. is not managed until the allocation count exceeds the threshold.
  3331. </description>
  3332. </property>
  3333. <property>
  3334. <name>dfs.client.write.byte-array-manager.enabled</name>
  3335. <value>false</value>
  3336. <description>
  3337. If true, enables byte array manager used by DFSOutputStream.
  3338. </description>
  3339. </property>
  3340. <property>
  3341. <name>dfs.client.write.max-packets-in-flight</name>
  3342. <value>80</value>
  3343. <description>
  3344. The maximum number of DFSPackets allowed in flight.
  3345. </description>
  3346. </property>
  3347. <property>
  3348. <name>dfs.content-summary.limit</name>
  3349. <value>5000</value>
  3350. <description>
  3351. The maximum content summary counts allowed in one locking period. 0 or a negative number
  3352. means no limit (i.e. no yielding).
  3353. </description>
  3354. </property>
  3355. <property>
  3356. <name>dfs.content-summary.sleep-microsec</name>
  3357. <value>500</value>
  3358. <description>
  3359. The length of time in microseconds to put the thread to sleep, between reaquiring the locks
  3360. in content summary computation.
  3361. </description>
  3362. </property>
  3363. <property>
  3364. <name>dfs.data.transfer.client.tcpnodelay</name>
  3365. <value>true</value>
  3366. <description>
  3367. If true, set TCP_NODELAY to sockets for transferring data from DFS client.
  3368. </description>
  3369. </property>
  3370. <property>
  3371. <name>dfs.data.transfer.server.tcpnodelay</name>
  3372. <value>true</value>
  3373. <description>
  3374. If true, set TCP_NODELAY to sockets for transferring data between Datanodes.
  3375. </description>
  3376. </property>
  3377. <property>
  3378. <name>dfs.datanode.balance.max.concurrent.moves</name>
  3379. <value>50</value>
  3380. <description>
  3381. Maximum number of threads for Datanode balancer pending moves. This
  3382. value is reconfigurable via the "dfsadmin -reconfig" command.
  3383. </description>
  3384. </property>
  3385. <property>
  3386. <name>dfs.datanode.fsdataset.factory</name>
  3387. <value></value>
  3388. <description>
  3389. The class name for the underlying storage that stores replicas for a
  3390. Datanode. Defaults to
  3391. org.apache.hadoop.hdfs.server.datanode.fsdataset.impl.FsDatasetFactory.
  3392. </description>
  3393. </property>
  3394. <property>
  3395. <name>dfs.datanode.fsdataset.volume.choosing.policy</name>
  3396. <value></value>
  3397. <description>
  3398. The class name of the policy for choosing volumes in the list of
  3399. directories. Defaults to
  3400. org.apache.hadoop.hdfs.server.datanode.fsdataset.RoundRobinVolumeChoosingPolicy.
  3401. If you would like to take into account available disk space, set the
  3402. value to
  3403. "org.apache.hadoop.hdfs.server.datanode.fsdataset.AvailableSpaceVolumeChoosingPolicy".
  3404. </description>
  3405. </property>
  3406. <property>
  3407. <name>dfs.datanode.hostname</name>
  3408. <value></value>
  3409. <description>
  3410. Optional. The hostname for the Datanode containing this
  3411. configuration file. Will be different for each machine.
  3412. Defaults to current hostname.
  3413. </description>
  3414. </property>
  3415. <property>
  3416. <name>dfs.datanode.lazywriter.interval.sec</name>
  3417. <value>60</value>
  3418. <description>
  3419. Interval in seconds for Datanodes for lazy persist writes.
  3420. </description>
  3421. </property>
  3422. <property>
  3423. <name>dfs.datanode.network.counts.cache.max.size</name>
  3424. <value>2147483647</value>
  3425. <description>
  3426. The maximum number of entries the datanode per-host network error
  3427. count cache may contain.
  3428. </description>
  3429. </property>
  3430. <property>
  3431. <name>dfs.datanode.oob.timeout-ms</name>
  3432. <value>1500,0,0,0</value>
  3433. <description>
  3434. Timeout value when sending OOB response for each OOB type, which are
  3435. OOB_RESTART, OOB_RESERVED1, OOB_RESERVED2, and OOB_RESERVED3,
  3436. respectively. Currently, only OOB_RESTART is used.
  3437. </description>
  3438. </property>
  3439. <property>
  3440. <name>dfs.datanode.parallel.volumes.load.threads.num</name>
  3441. <value></value>
  3442. <description>
  3443. Maximum number of threads to use for upgrading data directories.
  3444. The default value is the number of storage directories in the
  3445. DataNode.
  3446. </description>
  3447. </property>
  3448. <property>
  3449. <name>dfs.datanode.ram.disk.replica.tracker</name>
  3450. <value></value>
  3451. <description>
  3452. Name of the class implementing the RamDiskReplicaTracker interface.
  3453. Defaults to
  3454. org.apache.hadoop.hdfs.server.datanode.fsdataset.impl.RamDiskReplicaLruTracker.
  3455. </description>
  3456. </property>
  3457. <property>
  3458. <name>dfs.datanode.restart.replica.expiration</name>
  3459. <value>50</value>
  3460. <description>
  3461. During shutdown for restart, the amount of time in seconds budgeted for
  3462. datanode restart.
  3463. </description>
  3464. </property>
  3465. <property>
  3466. <name>dfs.datanode.socket.reuse.keepalive</name>
  3467. <value>4000</value>
  3468. <description>
  3469. The window of time in ms before the DataXceiver closes a socket for a
  3470. single request. If a second request occurs within that window, the
  3471. socket can be reused.
  3472. </description>
  3473. </property>
  3474. <property>
  3475. <name>dfs.datanode.socket.write.timeout</name>
  3476. <value>480000</value>
  3477. <description>
  3478. Timeout in ms for clients socket writes to DataNodes.
  3479. </description>
  3480. </property>
  3481. <property>
  3482. <name>dfs.datanode.sync.behind.writes.in.background</name>
  3483. <value>false</value>
  3484. <description>
  3485. If set to true, then sync_file_range() system call will occur
  3486. asynchronously. This property is only valid when the property
  3487. dfs.datanode.sync.behind.writes is true.
  3488. </description>
  3489. </property>
  3490. <property>
  3491. <name>dfs.datanode.transferTo.allowed</name>
  3492. <value>true</value>
  3493. <description>
  3494. If false, break block transfers on 32-bit machines greater than
  3495. or equal to 2GB into smaller chunks.
  3496. </description>
  3497. </property>
  3498. <property>
  3499. <name>dfs.ha.fencing.methods</name>
  3500. <value></value>
  3501. <description>
  3502. A list of scripts or Java classes which will be used to fence
  3503. the Active NameNode during a failover. See the HDFS High
  3504. Availability documentation for details on automatic HA
  3505. configuration.
  3506. </description>
  3507. </property>
  3508. <property>
  3509. <name>dfs.ha.standby.checkpoints</name>
  3510. <value>true</value>
  3511. <description>
  3512. If true, a NameNode in Standby state periodically takes a checkpoint
  3513. of the namespace, saves it to its local storage and then upload to
  3514. the remote NameNode.
  3515. </description>
  3516. </property>
  3517. <property>
  3518. <name>dfs.ha.zkfc.port</name>
  3519. <value>8019</value>
  3520. <description>
  3521. The port number that the zookeeper failover controller RPC
  3522. server binds to.
  3523. </description>
  3524. </property>
  3525. <property>
  3526. <name>dfs.journalnode.edits.dir</name>
  3527. <value>/tmp/hadoop/dfs/journalnode/</value>
  3528. <description>
  3529. The directory where the journal edit files are stored.
  3530. </description>
  3531. </property>
  3532. <property>
  3533. <name>dfs.journalnode.enable.sync</name>
  3534. <value>true</value>
  3535. <description>
  3536. If true, the journal nodes wil sync with each other. The journal nodes
  3537. will periodically gossip with other journal nodes to compare edit log
  3538. manifests and if they detect any missing log segment, they will download
  3539. it from the other journal nodes.
  3540. </description>
  3541. </property>
  3542. <property>
  3543. <name>dfs.journalnode.sync.interval</name>
  3544. <value>120000</value>
  3545. <description>
  3546. Time interval, in milliseconds, between two Journal Node syncs.
  3547. This configuration takes effect only if the journalnode sync is enabled
  3548. by setting the configuration parameter dfs.journalnode.enable.sync to true.
  3549. </description>
  3550. </property>
  3551. <property>
  3552. <name>dfs.journalnode.kerberos.internal.spnego.principal</name>
  3553. <value></value>
  3554. <description>
  3555. Kerberos SPNEGO principal name used by the journal node.
  3556. </description>
  3557. </property>
  3558. <property>
  3559. <name>dfs.journalnode.kerberos.principal</name>
  3560. <value></value>
  3561. <description>
  3562. Kerberos principal name for the journal node.
  3563. </description>
  3564. </property>
  3565. <property>
  3566. <name>dfs.journalnode.keytab.file</name>
  3567. <value></value>
  3568. <description>
  3569. Kerberos keytab file for the journal node.
  3570. </description>
  3571. </property>
  3572. <property>
  3573. <name>dfs.ls.limit</name>
  3574. <value>1000</value>
  3575. <description>
  3576. Limit the number of files printed by ls. If less or equal to
  3577. zero, at most DFS_LIST_LIMIT_DEFAULT (= 1000) will be printed.
  3578. </description>
  3579. </property>
  3580. <property>
  3581. <name>dfs.mover.movedWinWidth</name>
  3582. <value>5400000</value>
  3583. <description>
  3584. The minimum time interval, in milliseconds, that a block can be
  3585. moved to another location again.
  3586. </description>
  3587. </property>
  3588. <property>
  3589. <name>dfs.mover.moverThreads</name>
  3590. <value>1000</value>
  3591. <description>
  3592. Configure the balancer's mover thread pool size.
  3593. </description>
  3594. </property>
  3595. <property>
  3596. <name>dfs.mover.retry.max.attempts</name>
  3597. <value>10</value>
  3598. <description>
  3599. The maximum number of retries before the mover consider the
  3600. move failed.
  3601. </description>
  3602. </property>
  3603. <property>
  3604. <name>dfs.mover.keytab.enabled</name>
  3605. <value>false</value>
  3606. <description>
  3607. Set to true to enable login using a keytab for Kerberized Hadoop.
  3608. </description>
  3609. </property>
  3610. <property>
  3611. <name>dfs.mover.address</name>
  3612. <value>0.0.0.0:0</value>
  3613. <description>
  3614. The hostname used for a keytab based Kerberos login. Keytab based login
  3615. can be enabled with dfs.mover.keytab.enabled.
  3616. </description>
  3617. </property>
  3618. <property>
  3619. <name>dfs.mover.keytab.file</name>
  3620. <value></value>
  3621. <description>
  3622. The keytab file used by the Mover to login as its
  3623. service principal. The principal name is configured with
  3624. dfs.mover.kerberos.principal. Keytab based login can be
  3625. enabled with dfs.mover.keytab.enabled.
  3626. </description>
  3627. </property>
  3628. <property>
  3629. <name>dfs.mover.kerberos.principal</name>
  3630. <value></value>
  3631. <description>
  3632. The Mover principal. This is typically set to
  3633. mover/_HOST@REALM.TLD. The Mover will substitute _HOST with its
  3634. own fully qualified hostname at startup. The _HOST placeholder
  3635. allows using the same configuration setting on different servers.
  3636. Keytab based login can be enabled with dfs.mover.keytab.enabled.
  3637. </description>
  3638. </property>
  3639. <property>
  3640. <name>dfs.mover.max-no-move-interval</name>
  3641. <value>60000</value>
  3642. <description>
  3643. If this specified amount of time has elapsed and no block has been moved
  3644. out of a source DataNode, on more effort will be made to move blocks out of
  3645. this DataNode in the current Mover iteration.
  3646. </description>
  3647. </property>
  3648. <property>
  3649. <name>dfs.namenode.audit.log.async</name>
  3650. <value>false</value>
  3651. <description>
  3652. If true, enables asynchronous audit log.
  3653. </description>
  3654. </property>
  3655. <property>
  3656. <name>dfs.namenode.audit.log.token.tracking.id</name>
  3657. <value>false</value>
  3658. <description>
  3659. If true, adds a tracking ID for all audit log events.
  3660. </description>
  3661. </property>
  3662. <property>
  3663. <name>dfs.namenode.available-space-block-placement-policy.balanced-space-preference-fraction</name>
  3664. <value>0.6</value>
  3665. <description>
  3666. Only used when the dfs.block.replicator.classname is set to
  3667. org.apache.hadoop.hdfs.server.blockmanagement.AvailableSpaceBlockPlacementPolicy.
  3668. Special value between 0 and 1, noninclusive. Increases chance of
  3669. placing blocks on Datanodes with less disk space used.
  3670. </description>
  3671. </property>
  3672. <property>
  3673. <name>dfs.namenode.backup.dnrpc-address</name>
  3674. <value></value>
  3675. <description>
  3676. Service RPC address for the backup Namenode.
  3677. </description>
  3678. </property>
  3679. <property>
  3680. <name>dfs.namenode.delegation.token.always-use</name>
  3681. <value>false</value>
  3682. <description>
  3683. For testing. Setting to true always allows the DT secret manager
  3684. to be used, even if security is disabled.
  3685. </description>
  3686. </property>
  3687. <property>
  3688. <name>dfs.namenode.edits.asynclogging</name>
  3689. <value>true</value>
  3690. <description>
  3691. If set to true, enables asynchronous edit logs in the Namenode. If set
  3692. to false, the Namenode uses the traditional synchronous edit logs.
  3693. </description>
  3694. </property>
  3695. <property>
  3696. <name>dfs.namenode.edits.dir.minimum</name>
  3697. <value>1</value>
  3698. <description>
  3699. dfs.namenode.edits.dir includes both required directories
  3700. (specified by dfs.namenode.edits.dir.required) and optional directories.
  3701. The number of usable optional directories must be greater than or equal
  3702. to this property. If the number of usable optional directories falls
  3703. below dfs.namenode.edits.dir.minimum, HDFS will issue an error.
  3704. This property defaults to 1.
  3705. </description>
  3706. </property>
  3707. <property>
  3708. <name>dfs.namenode.edits.journal-plugin</name>
  3709. <value></value>
  3710. <description>
  3711. When FSEditLog is creating JournalManagers from dfs.namenode.edits.dir,
  3712. and it encounters a URI with a schema different to "file" it loads the
  3713. name of the implementing class from
  3714. "dfs.namenode.edits.journal-plugin.[schema]". This class must implement
  3715. JournalManager and have a constructor which takes (Configuration, URI).
  3716. </description>
  3717. </property>
  3718. <property>
  3719. <name>dfs.namenode.file.close.num-committed-allowed</name>
  3720. <value>0</value>
  3721. <description>
  3722. Normally a file can only be closed with all its blocks are committed.
  3723. When this value is set to a positive integer N, a file can be closed
  3724. when N blocks are committed and the rest complete.
  3725. </description>
  3726. </property>
  3727. <property>
  3728. <name>dfs.namenode.inode.attributes.provider.class</name>
  3729. <value></value>
  3730. <description>
  3731. Name of class to use for delegating HDFS authorization.
  3732. </description>
  3733. </property>
  3734. <property>
  3735. <name>dfs.namenode.inode.attributes.provider.bypass.users</name>
  3736. <value></value>
  3737. <description>
  3738. A list of user principals (in secure cluster) or user names (in insecure
  3739. cluster) for whom the external attributes provider will be bypassed for all
  3740. operations. This means file attributes stored in HDFS instead of the
  3741. external provider will be used for permission checking and be returned when
  3742. requested.
  3743. </description>
  3744. </property>
  3745. <property>
  3746. <name>dfs.namenode.max-num-blocks-to-log</name>
  3747. <value>1000</value>
  3748. <description>
  3749. Puts a limit on the number of blocks printed to the log by the Namenode
  3750. after a block report.
  3751. </description>
  3752. </property>
  3753. <property>
  3754. <name>dfs.namenode.max.op.size</name>
  3755. <value>52428800</value>
  3756. <description>
  3757. Maximum opcode size in bytes.
  3758. </description>
  3759. </property>
  3760. <property>
  3761. <name>dfs.namenode.missing.checkpoint.periods.before.shutdown</name>
  3762. <value>3</value>
  3763. <description>
  3764. The number of checkpoint period windows (as defined by the property
  3765. dfs.namenode.checkpoint.period) allowed by the Namenode to perform
  3766. saving the namespace before shutdown.
  3767. </description>
  3768. </property>
  3769. <property>
  3770. <name>dfs.namenode.name.cache.threshold</name>
  3771. <value>10</value>
  3772. <description>
  3773. Frequently accessed files that are accessed more times than this
  3774. threshold are cached in the FSDirectory nameCache.
  3775. </description>
  3776. </property>
  3777. <property>
  3778. <name>dfs.namenode.replication.max-streams</name>
  3779. <value>2</value>
  3780. <description>
  3781. Hard limit for the number of highest-priority replication streams.
  3782. </description>
  3783. </property>
  3784. <property>
  3785. <name>dfs.namenode.replication.max-streams-hard-limit</name>
  3786. <value>4</value>
  3787. <description>
  3788. Hard limit for all replication streams.
  3789. </description>
  3790. </property>
  3791. <property>
  3792. <name>dfs.namenode.reconstruction.pending.timeout-sec</name>
  3793. <value>300</value>
  3794. <description>
  3795. Timeout in seconds for block reconstruction. If this value is 0 or less,
  3796. then it will default to 5 minutes.
  3797. </description>
  3798. </property>
  3799. <property>
  3800. <name>dfs.namenode.stale.datanode.minimum.interval</name>
  3801. <value>3</value>
  3802. <description>
  3803. Minimum number of missed heartbeats intervals for a datanode to
  3804. be marked stale by the Namenode. The actual interval is calculated as
  3805. (dfs.namenode.stale.datanode.minimum.interval * dfs.heartbeat.interval)
  3806. in seconds. If this value is greater than the property
  3807. dfs.namenode.stale.datanode.interval, then the calculated value above
  3808. is used.
  3809. </description>
  3810. </property>
  3811. <property>
  3812. <name>dfs.namenode.storageinfo.defragment.timeout.ms</name>
  3813. <value>4</value>
  3814. <description>
  3815. Timeout value in ms for the StorageInfo compaction run.
  3816. </description>
  3817. </property>
  3818. <property>
  3819. <name>dfs.namenode.storageinfo.defragment.interval.ms</name>
  3820. <value>600000</value>
  3821. <description>
  3822. The thread for checking the StorageInfo for defragmentation will
  3823. run periodically. The time between runs is determined by this
  3824. property.
  3825. </description>
  3826. </property>
  3827. <property>
  3828. <name>dfs.namenode.storageinfo.defragment.ratio</name>
  3829. <value>0.75</value>
  3830. <description>
  3831. The defragmentation threshold for the StorageInfo.
  3832. </description>
  3833. </property>
  3834. <property>
  3835. <name>dfs.namenode.snapshot.capture.openfiles</name>
  3836. <value>false</value>
  3837. <description>
  3838. If true, snapshots taken will have an immutable shared copy of
  3839. the open files that have valid leases. Even after the open files
  3840. grow or shrink in size, snapshot will always have the previous
  3841. point-in-time version of the open files, just like all other
  3842. closed files. Default is false.
  3843. Note: The file length captured for open files in snapshot is
  3844. whats recorded in NameNode at the time of snapshot and it may
  3845. be shorter than what the client has written till then. In order
  3846. to capture the latest length, the client can call hflush/hsync
  3847. with the flag SyncFlag.UPDATE_LENGTH on the open files handles.
  3848. </description>
  3849. </property>
  3850. <property>
  3851. <name>dfs.namenode.snapshot.skip.capture.accesstime-only-change</name>
  3852. <value>false</value>
  3853. <description>
  3854. If accessTime of a file/directory changed but there is no other
  3855. modification made to the file/directory, the changed accesstime will
  3856. not be captured in next snapshot. However, if there is other modification
  3857. made to the file/directory, the latest access time will be captured
  3858. together with the modification in next snapshot.
  3859. </description>
  3860. </property>
  3861. <property>
  3862. <name>dfs.namenode.snapshotdiff.allow.snap-root-descendant</name>
  3863. <value>true</value>
  3864. <description>
  3865. If enabled, snapshotDiff command can be run for any descendant directory
  3866. under a snapshot root directory and the diff calculation will be scoped
  3867. to the given descendant directory. Otherwise, snapshot diff command can
  3868. only be run for a snapshot root directory.
  3869. </description>
  3870. </property>
  3871. <property>
  3872. <name>dfs.namenode.snapshotdiff.listing.limit</name>
  3873. <value>1000</value>
  3874. <description>
  3875. Limit the number of entries generated by getSnapshotDiffReportListing within
  3876. one rpc call to the namenode.If less or equal to zero, at most
  3877. DFS_NAMENODE_SNAPSHOT_DIFF_LISTING_LIMIT_DEFAULT (= 1000) will be sent
  3878. across to the client within one rpc call.
  3879. </description>
  3880. </property>
  3881. <property>
  3882. <name>dfs.pipeline.ecn</name>
  3883. <value>false</value>
  3884. <description>
  3885. If true, allows ECN (explicit congestion notification) from the
  3886. Datanode.
  3887. </description>
  3888. </property>
  3889. <property>
  3890. <name>dfs.qjournal.accept-recovery.timeout.ms</name>
  3891. <value>120000</value>
  3892. <description>
  3893. Quorum timeout in milliseconds during accept phase of
  3894. recovery/synchronization for a specific segment.
  3895. </description>
  3896. </property>
  3897. <property>
  3898. <name>dfs.qjournal.finalize-segment.timeout.ms</name>
  3899. <value>120000</value>
  3900. <description>
  3901. Quorum timeout in milliseconds during finalizing for a specific
  3902. segment.
  3903. </description>
  3904. </property>
  3905. <property>
  3906. <name>dfs.qjournal.get-journal-state.timeout.ms</name>
  3907. <value>120000</value>
  3908. <description>
  3909. Timeout in milliseconds when calling getJournalState().
  3910. JournalNodes.
  3911. </description>
  3912. </property>
  3913. <property>
  3914. <name>dfs.qjournal.new-epoch.timeout.ms</name>
  3915. <value>120000</value>
  3916. <description>
  3917. Timeout in milliseconds when getting an epoch number for write
  3918. access to JournalNodes.
  3919. </description>
  3920. </property>
  3921. <property>
  3922. <name>dfs.qjournal.prepare-recovery.timeout.ms</name>
  3923. <value>120000</value>
  3924. <description>
  3925. Quorum timeout in milliseconds during preparation phase of
  3926. recovery/synchronization for a specific segment.
  3927. </description>
  3928. </property>
  3929. <property>
  3930. <name>dfs.qjournal.queued-edits.limit.mb</name>
  3931. <value>10</value>
  3932. <description>
  3933. Queue size in MB for quorum journal edits.
  3934. </description>
  3935. </property>
  3936. <property>
  3937. <name>dfs.qjournal.select-input-streams.timeout.ms</name>
  3938. <value>20000</value>
  3939. <description>
  3940. Timeout in milliseconds for accepting streams from JournalManagers.
  3941. </description>
  3942. </property>
  3943. <property>
  3944. <name>dfs.qjournal.start-segment.timeout.ms</name>
  3945. <value>20000</value>
  3946. <description>
  3947. Quorum timeout in milliseconds for starting a log segment.
  3948. </description>
  3949. </property>
  3950. <property>
  3951. <name>dfs.qjournal.write-txns.timeout.ms</name>
  3952. <value>20000</value>
  3953. <description>
  3954. Write timeout in milliseconds when writing to a quorum of remote
  3955. journals.
  3956. </description>
  3957. </property>
  3958. <property>
  3959. <name>dfs.quota.by.storage.type.enabled</name>
  3960. <value>true</value>
  3961. <description>
  3962. If true, enables quotas based on storage type.
  3963. </description>
  3964. </property>
  3965. <property>
  3966. <name>dfs.secondary.namenode.kerberos.principal</name>
  3967. <value></value>
  3968. <description>
  3969. Kerberos principal name for the Secondary NameNode.
  3970. </description>
  3971. </property>
  3972. <property>
  3973. <name>dfs.secondary.namenode.keytab.file</name>
  3974. <value></value>
  3975. <description>
  3976. Kerberos keytab file for the Secondary NameNode.
  3977. </description>
  3978. </property>
  3979. <property>
  3980. <name>dfs.web.authentication.filter</name>
  3981. <value>org.apache.hadoop.hdfs.web.AuthFilter</value>
  3982. <description>
  3983. Authentication filter class used for WebHDFS.
  3984. </description>
  3985. </property>
  3986. <property>
  3987. <name>dfs.web.authentication.simple.anonymous.allowed</name>
  3988. <value></value>
  3989. <description>
  3990. If true, allow anonymous user to access WebHDFS. Set to
  3991. false to disable anonymous authentication.
  3992. </description>
  3993. </property>
  3994. <property>
  3995. <name>dfs.web.ugi</name>
  3996. <value></value>
  3997. <description>
  3998. dfs.web.ugi is deprecated. Use hadoop.http.staticuser.user instead.
  3999. </description>
  4000. </property>
  4001. <property>
  4002. <name>dfs.webhdfs.netty.high.watermark</name>
  4003. <value>65535</value>
  4004. <description>
  4005. High watermark configuration to Netty for Datanode WebHdfs.
  4006. </description>
  4007. </property>
  4008. <property>
  4009. <name>dfs.webhdfs.netty.low.watermark</name>
  4010. <value>32768</value>
  4011. <description>
  4012. Low watermark configuration to Netty for Datanode WebHdfs.
  4013. </description>
  4014. </property>
  4015. <property>
  4016. <name>dfs.webhdfs.oauth2.access.token.provider</name>
  4017. <value></value>
  4018. <description>
  4019. Access token provider class for WebHDFS using OAuth2.
  4020. Defaults to org.apache.hadoop.hdfs.web.oauth2.ConfCredentialBasedAccessTokenProvider.
  4021. </description>
  4022. </property>
  4023. <property>
  4024. <name>dfs.webhdfs.oauth2.client.id</name>
  4025. <value></value>
  4026. <description>
  4027. Client id used to obtain access token with either credential or
  4028. refresh token.
  4029. </description>
  4030. </property>
  4031. <property>
  4032. <name>dfs.webhdfs.oauth2.enabled</name>
  4033. <value>false</value>
  4034. <description>
  4035. If true, enables OAuth2 in WebHDFS
  4036. </description>
  4037. </property>
  4038. <property>
  4039. <name>dfs.webhdfs.oauth2.refresh.url</name>
  4040. <value></value>
  4041. <description>
  4042. URL against which to post for obtaining bearer token with
  4043. either credential or refresh token.
  4044. </description>
  4045. </property>
  4046. <property>
  4047. <name>ssl.server.keystore.keypassword</name>
  4048. <value></value>
  4049. <description>
  4050. Keystore key password for HTTPS SSL configuration
  4051. </description>
  4052. </property>
  4053. <property>
  4054. <name>ssl.server.keystore.location</name>
  4055. <value></value>
  4056. <description>
  4057. Keystore location for HTTPS SSL configuration
  4058. </description>
  4059. </property>
  4060. <property>
  4061. <name>ssl.server.keystore.password</name>
  4062. <value></value>
  4063. <description>
  4064. Keystore password for HTTPS SSL configuration
  4065. </description>
  4066. </property>
  4067. <property>
  4068. <name>ssl.server.truststore.location</name>
  4069. <value></value>
  4070. <description>
  4071. Truststore location for HTTPS SSL configuration
  4072. </description>
  4073. </property>
  4074. <property>
  4075. <name>ssl.server.truststore.password</name>
  4076. <value></value>
  4077. <description>
  4078. Truststore password for HTTPS SSL configuration
  4079. </description>
  4080. </property>
  4081. <!--Disk baalncer properties-->
  4082. <property>
  4083. <name>dfs.disk.balancer.max.disk.throughputInMBperSec</name>
  4084. <value>10</value>
  4085. <description>Maximum disk bandwidth used by diskbalancer
  4086. during read from a source disk. The unit is MB/sec.
  4087. </description>
  4088. </property>
  4089. <property>
  4090. <name>dfs.disk.balancer.block.tolerance.percent</name>
  4091. <value>10</value>
  4092. <description>
  4093. When a disk balancer copy operation is proceeding, the datanode is still
  4094. active. So it might not be possible to move the exactly specified
  4095. amount of data. So tolerance allows us to define a percentage which
  4096. defines a good enough move.
  4097. </description>
  4098. </property>
  4099. <property>
  4100. <name>dfs.disk.balancer.max.disk.errors</name>
  4101. <value>5</value>
  4102. <description>
  4103. During a block move from a source to destination disk, we might
  4104. encounter various errors. This defines how many errors we can tolerate
  4105. before we declare a move between 2 disks (or a step) has failed.
  4106. </description>
  4107. </property>
  4108. <property>
  4109. <name>dfs.disk.balancer.enabled</name>
  4110. <value>false</value>
  4111. <description>
  4112. This enables the diskbalancer feature on a cluster. By default, disk
  4113. balancer is disabled.
  4114. </description>
  4115. </property>
  4116. <property>
  4117. <name>dfs.disk.balancer.plan.threshold.percent</name>
  4118. <value>10</value>
  4119. <description>
  4120. The percentage threshold value for volume Data Density in a plan.
  4121. If the absolute value of volume Data Density which is out of
  4122. threshold value in a node, it means that the volumes corresponding to
  4123. the disks should do the balancing in the plan. The default value is 10.
  4124. </description>
  4125. </property>
  4126. <property>
  4127. <name>dfs.namenode.provided.enabled</name>
  4128. <value>false</value>
  4129. <description>
  4130. Enables the Namenode to handle provided storages.
  4131. </description>
  4132. </property>
  4133. <property>
  4134. <name>dfs.provided.storage.id</name>
  4135. <value>DS-PROVIDED</value>
  4136. <description>
  4137. The storage ID used for provided stores.
  4138. </description>
  4139. </property>
  4140. <property>
  4141. <name>dfs.provided.aliasmap.class</name>
  4142. <value>org.apache.hadoop.hdfs.server.common.blockaliasmap.impl.TextFileRegionAliasMap</value>
  4143. <description>
  4144. The class that is used to specify the input format of the blocks on
  4145. provided storages. The default is
  4146. org.apache.hadoop.hdfs.server.common.blockaliasmap.impl.TextFileRegionAliasMap which uses
  4147. file regions to describe blocks. The file regions are specified as a
  4148. delimited text file. Each file region is a 6-tuple containing the
  4149. block id, remote file path, offset into file, length of block, the
  4150. block pool id containing the block, and the generation stamp of the
  4151. block.
  4152. </description>
  4153. </property>
  4154. <property>
  4155. <name>dfs.provided.aliasmap.inmemory.batch-size</name>
  4156. <value>500</value>
  4157. <description>
  4158. The batch size when iterating over the database backing the aliasmap
  4159. </description>
  4160. </property>
  4161. <property>
  4162. <name>dfs.provided.aliasmap.inmemory.dnrpc-address</name>
  4163. <value>0.0.0.0:50200</value>
  4164. <description>
  4165. The address where the aliasmap server will be running
  4166. </description>
  4167. </property>
  4168. <property>
  4169. <name>dfs.provided.aliasmap.inmemory.leveldb.dir</name>
  4170. <value>/tmp</value>
  4171. <description>
  4172. The directory where the leveldb files will be kept
  4173. </description>
  4174. </property>
  4175. <property>
  4176. <name>dfs.provided.aliasmap.inmemory.enabled</name>
  4177. <value>false</value>
  4178. <description>
  4179. Don't use the aliasmap by default. Some tests will fail
  4180. because they try to start the namenode twice with the
  4181. same parameters if you turn it on.
  4182. </description>
  4183. </property>
  4184. <property>
  4185. <name>dfs.provided.aliasmap.text.delimiter</name>
  4186. <value>,</value>
  4187. <description>
  4188. The delimiter used when the provided block map is specified as
  4189. a text file.
  4190. </description>
  4191. </property>
  4192. <property>
  4193. <name>dfs.provided.aliasmap.text.read.file</name>
  4194. <value></value>
  4195. <description>
  4196. The path specifying the provided block map as a text file, specified as
  4197. a URI.
  4198. </description>
  4199. </property>
  4200. <property>
  4201. <name>dfs.provided.aliasmap.text.codec</name>
  4202. <value></value>
  4203. <description>
  4204. The codec used to de-compress the provided block map.
  4205. </description>
  4206. </property>
  4207. <property>
  4208. <name>dfs.provided.aliasmap.text.write.dir</name>
  4209. <value></value>
  4210. <description>
  4211. The path to which the provided block map should be written as a text
  4212. file, specified as a URI.
  4213. </description>
  4214. </property>
  4215. <property>
  4216. <name>dfs.provided.aliasmap.leveldb.path</name>
  4217. <value></value>
  4218. <description>
  4219. The read/write path for the leveldb-based alias map
  4220. (org.apache.hadoop.hdfs.server.common.blockaliasmap.impl.LevelDBFileRegionAliasMap).
  4221. The path has to be explicitly configured when this alias map is used.
  4222. </description>
  4223. </property>
  4224. <property>
  4225. <name>dfs.provided.aliasmap.load.retries</name>
  4226. <value>0</value>
  4227. <description>
  4228. The number of retries on the Datanode to load the provided aliasmap;
  4229. defaults to 0.
  4230. </description>
  4231. </property>
  4232. <property>
  4233. <name>dfs.lock.suppress.warning.interval</name>
  4234. <value>10s</value>
  4235. <description>Instrumentation reporting long critical sections will suppress
  4236. consecutive warnings within this interval.</description>
  4237. </property>
  4238. <property>
  4239. <name>httpfs.buffer.size</name>
  4240. <value>4096</value>
  4241. <description>
  4242. The size buffer to be used when creating or opening httpfs filesystem IO stream.
  4243. </description>
  4244. </property>
  4245. <property>
  4246. <name>dfs.webhdfs.use.ipc.callq</name>
  4247. <value>true</value>
  4248. <description>Enables routing of webhdfs calls through rpc
  4249. call queue</description>
  4250. </property>
  4251. <property>
  4252. <name>dfs.datanode.disk.check.min.gap</name>
  4253. <value>15m</value>
  4254. <description>
  4255. The minimum gap between two successive checks of the same DataNode
  4256. volume. This setting supports multiple time unit suffixes as described
  4257. in dfs.heartbeat.interval. If no suffix is specified then milliseconds
  4258. is assumed.
  4259. </description>
  4260. </property>
  4261. <property>
  4262. <name>dfs.datanode.disk.check.timeout</name>
  4263. <value>10m</value>
  4264. <description>
  4265. Maximum allowed time for a disk check to complete during DataNode
  4266. startup. If the check does not complete within this time interval
  4267. then the disk is declared as failed. This setting supports
  4268. multiple time unit suffixes as described in dfs.heartbeat.interval.
  4269. If no suffix is specified then milliseconds is assumed.
  4270. </description>
  4271. </property>
  4272. <property>
  4273. <name>dfs.use.dfs.network.topology</name>
  4274. <value>true</value>
  4275. <description>
  4276. Enables DFSNetworkTopology to choose nodes for placing replicas.
  4277. </description>
  4278. </property>
  4279. <property>
  4280. <name>dfs.qjm.operations.timeout</name>
  4281. <value>60s</value>
  4282. <description>
  4283. Common key to set timeout for related operations in
  4284. QuorumJournalManager. This setting supports multiple time unit suffixes
  4285. as described in dfs.heartbeat.interval.
  4286. If no suffix is specified then milliseconds is assumed.
  4287. </description>
  4288. </property>
  4289. <property>
  4290. <name>dfs.reformat.disabled</name>
  4291. <value>false</value>
  4292. <description>
  4293. Disable reformat of NameNode. If it's value is set to "true"
  4294. and metadata directories already exist then attempt to format NameNode
  4295. will throw NameNodeFormatException.
  4296. </description>
  4297. </property>
  4298. <property>
  4299. <name>dfs.federation.router.default.nameserviceId</name>
  4300. <value></value>
  4301. <description>
  4302. Nameservice identifier of the default subcluster to monitor.
  4303. </description>
  4304. </property>
  4305. <property>
  4306. <name>dfs.federation.router.rpc.enable</name>
  4307. <value>true</value>
  4308. <description>
  4309. If true, the RPC service to handle client requests in the router is
  4310. enabled.
  4311. </description>
  4312. </property>
  4313. <property>
  4314. <name>dfs.federation.router.rpc-address</name>
  4315. <value>0.0.0.0:8888</value>
  4316. <description>
  4317. RPC address that handles all clients requests.
  4318. The value of this property will take the form of router-host1:rpc-port.
  4319. </description>
  4320. </property>
  4321. <property>
  4322. <name>dfs.federation.router.rpc-bind-host</name>
  4323. <value></value>
  4324. <description>
  4325. The actual address the RPC server will bind to. If this optional address is
  4326. set, it overrides only the hostname portion of
  4327. dfs.federation.router.rpc-address. This is useful for making the name node
  4328. listen on all interfaces by setting it to 0.0.0.0.
  4329. </description>
  4330. </property>
  4331. <property>
  4332. <name>dfs.federation.router.handler.count</name>
  4333. <value>10</value>
  4334. <description>
  4335. The number of server threads for the router to handle RPC requests from
  4336. clients.
  4337. </description>
  4338. </property>
  4339. <property>
  4340. <name>dfs.federation.router.handler.queue.size</name>
  4341. <value>100</value>
  4342. <description>
  4343. The size of the queue for the number of handlers to handle RPC client requests.
  4344. </description>
  4345. </property>
  4346. <property>
  4347. <name>dfs.federation.router.reader.count</name>
  4348. <value>1</value>
  4349. <description>
  4350. The number of readers for the router to handle RPC client requests.
  4351. </description>
  4352. </property>
  4353. <property>
  4354. <name>dfs.federation.router.reader.queue.size</name>
  4355. <value>100</value>
  4356. <description>
  4357. The size of the queue for the number of readers for the router to handle RPC client requests.
  4358. </description>
  4359. </property>
  4360. <property>
  4361. <name>dfs.federation.router.connection.pool-size</name>
  4362. <value>1</value>
  4363. <description>
  4364. Size of the pool of connections from the router to namenodes.
  4365. </description>
  4366. </property>
  4367. <property>
  4368. <name>dfs.federation.router.connection.clean.ms</name>
  4369. <value>10000</value>
  4370. <description>
  4371. Time interval, in milliseconds, to check if the connection pool should
  4372. remove unused connections.
  4373. </description>
  4374. </property>
  4375. <property>
  4376. <name>dfs.federation.router.connection.pool.clean.ms</name>
  4377. <value>60000</value>
  4378. <description>
  4379. Time interval, in milliseconds, to check if the connection manager should
  4380. remove unused connection pools.
  4381. </description>
  4382. </property>
  4383. <property>
  4384. <name>dfs.federation.router.metrics.enable</name>
  4385. <value>true</value>
  4386. <description>
  4387. If the metrics in the router are enabled.
  4388. </description>
  4389. </property>
  4390. <property>
  4391. <name>dfs.federation.router.metrics.class</name>
  4392. <value>org.apache.hadoop.hdfs.server.federation.metrics.FederationRPCPerformanceMonitor</value>
  4393. <description>
  4394. Class to monitor the RPC system in the router. It must implement the
  4395. RouterRpcMonitor interface.
  4396. </description>
  4397. </property>
  4398. <property>
  4399. <name>dfs.federation.router.admin.enable</name>
  4400. <value>true</value>
  4401. <description>
  4402. If true, the RPC admin service to handle client requests in the router is
  4403. enabled.
  4404. </description>
  4405. </property>
  4406. <property>
  4407. <name>dfs.federation.router.admin-address</name>
  4408. <value>0.0.0.0:8111</value>
  4409. <description>
  4410. RPC address that handles the admin requests.
  4411. The value of this property will take the form of router-host1:rpc-port.
  4412. </description>
  4413. </property>
  4414. <property>
  4415. <name>dfs.federation.router.admin-bind-host</name>
  4416. <value></value>
  4417. <description>
  4418. The actual address the RPC admin server will bind to. If this optional
  4419. address is set, it overrides only the hostname portion of
  4420. dfs.federation.router.admin-address. This is useful for making the name
  4421. node listen on all interfaces by setting it to 0.0.0.0.
  4422. </description>
  4423. </property>
  4424. <property>
  4425. <name>dfs.federation.router.admin.handler.count</name>
  4426. <value>1</value>
  4427. <description>
  4428. The number of server threads for the router to handle RPC requests from
  4429. admin.
  4430. </description>
  4431. </property>
  4432. <property>
  4433. <name>dfs.federation.router.http-address</name>
  4434. <value>0.0.0.0:50071</value>
  4435. <description>
  4436. HTTP address that handles the web requests to the Router.
  4437. The value of this property will take the form of router-host1:http-port.
  4438. </description>
  4439. </property>
  4440. <property>
  4441. <name>dfs.federation.router.http-bind-host</name>
  4442. <value></value>
  4443. <description>
  4444. The actual address the HTTP server will bind to. If this optional
  4445. address is set, it overrides only the hostname portion of
  4446. dfs.federation.router.http-address. This is useful for making the name
  4447. node listen on all interfaces by setting it to 0.0.0.0.
  4448. </description>
  4449. </property>
  4450. <property>
  4451. <name>dfs.federation.router.https-address</name>
  4452. <value>0.0.0.0:50072</value>
  4453. <description>
  4454. HTTPS address that handles the web requests to the Router.
  4455. The value of this property will take the form of router-host1:https-port.
  4456. </description>
  4457. </property>
  4458. <property>
  4459. <name>dfs.federation.router.https-bind-host</name>
  4460. <value></value>
  4461. <description>
  4462. The actual address the HTTPS server will bind to. If this optional
  4463. address is set, it overrides only the hostname portion of
  4464. dfs.federation.router.https-address. This is useful for making the name
  4465. node listen on all interfaces by setting it to 0.0.0.0.
  4466. </description>
  4467. </property>
  4468. <property>
  4469. <name>dfs.federation.router.http.enable</name>
  4470. <value>true</value>
  4471. <description>
  4472. If the HTTP service to handle client requests in the router is enabled.
  4473. </description>
  4474. </property>
  4475. <property>
  4476. <name>dfs.federation.router.metrics.enable</name>
  4477. <value>true</value>
  4478. <description>
  4479. If the metrics service in the router is enabled.
  4480. </description>
  4481. </property>
  4482. <property>
  4483. <name>dfs.federation.router.file.resolver.client.class</name>
  4484. <value>org.apache.hadoop.hdfs.server.federation.resolver.MountTableResolver</value>
  4485. <description>
  4486. Class to resolve files to subclusters.
  4487. </description>
  4488. </property>
  4489. <property>
  4490. <name>dfs.federation.router.namenode.resolver.client.class</name>
  4491. <value>org.apache.hadoop.hdfs.server.federation.resolver.MembershipNamenodeResolver</value>
  4492. <description>
  4493. Class to resolve the namenode for a subcluster.
  4494. </description>
  4495. </property>
  4496. <property>
  4497. <name>dfs.federation.router.store.enable</name>
  4498. <value>true</value>
  4499. <description>
  4500. If true, the Router connects to the State Store.
  4501. </description>
  4502. </property>
  4503. <property>
  4504. <name>dfs.federation.router.store.serializer</name>
  4505. <value>org.apache.hadoop.hdfs.server.federation.store.driver.impl.StateStoreSerializerPBImpl</value>
  4506. <description>
  4507. Class to serialize State Store records.
  4508. </description>
  4509. </property>
  4510. <property>
  4511. <name>dfs.federation.router.store.driver.class</name>
  4512. <value>org.apache.hadoop.hdfs.server.federation.store.driver.impl.StateStoreFileImpl</value>
  4513. <description>
  4514. Class to implement the State Store. By default it uses the local disk.
  4515. </description>
  4516. </property>
  4517. <property>
  4518. <name>dfs.federation.router.store.connection.test</name>
  4519. <value>60000</value>
  4520. <description>
  4521. How often to check for the connection to the State Store in milliseconds.
  4522. </description>
  4523. </property>
  4524. <property>
  4525. <name>dfs.federation.router.cache.ttl</name>
  4526. <value>1m</value>
  4527. <description>
  4528. How often to refresh the State Store caches in milliseconds. This setting
  4529. supports multiple time unit suffixes as described in
  4530. dfs.heartbeat.interval. If no suffix is specified then milliseconds is
  4531. assumed.
  4532. </description>
  4533. </property>
  4534. <property>
  4535. <name>dfs.federation.router.store.membership.expiration</name>
  4536. <value>300000</value>
  4537. <description>
  4538. Expiration time in milliseconds for a membership record.
  4539. </description>
  4540. </property>
  4541. <property>
  4542. <name>dfs.federation.router.heartbeat.enable</name>
  4543. <value>true</value>
  4544. <description>
  4545. If true, the Router heartbeats into the State Store.
  4546. </description>
  4547. </property>
  4548. <property>
  4549. <name>dfs.federation.router.heartbeat.interval</name>
  4550. <value>5000</value>
  4551. <description>
  4552. How often the Router should heartbeat into the State Store in milliseconds.
  4553. </description>
  4554. </property>
  4555. <property>
  4556. <name>dfs.federation.router.heartbeat-state.interval</name>
  4557. <value>5s</value>
  4558. <description>
  4559. How often the Router should heartbeat its state into the State Store in
  4560. milliseconds. This setting supports multiple time unit suffixes as
  4561. described in dfs.federation.router.quota-cache.update.interval.
  4562. </description>
  4563. </property>
  4564. <property>
  4565. <name>dfs.federation.router.store.router.expiration</name>
  4566. <value>5m</value>
  4567. <description>
  4568. Expiration time in milliseconds for a router state record. This setting
  4569. supports multiple time unit suffixes as described in
  4570. dfs.federation.router.quota-cache.update.interval.
  4571. </description>
  4572. </property>
  4573. <property>
  4574. <name>dfs.federation.router.safemode.enable</name>
  4575. <value>true</value>
  4576. <description>
  4577. </description>
  4578. </property>
  4579. <property>
  4580. <name>dfs.federation.router.safemode.extension</name>
  4581. <value>30s</value>
  4582. <description>
  4583. Time after startup that the Router is in safe mode. This setting
  4584. supports multiple time unit suffixes as described in
  4585. dfs.heartbeat.interval. If no suffix is specified then milliseconds is
  4586. assumed.
  4587. </description>
  4588. </property>
  4589. <property>
  4590. <name>dfs.federation.router.safemode.expiration</name>
  4591. <value>3m</value>
  4592. <description>
  4593. Time without being able to reach the State Store to enter safe mode. This
  4594. setting supports multiple time unit suffixes as described in
  4595. dfs.heartbeat.interval. If no suffix is specified then milliseconds is
  4596. assumed.
  4597. </description>
  4598. </property>
  4599. <property>
  4600. <name>dfs.federation.router.monitor.namenode</name>
  4601. <value></value>
  4602. <description>
  4603. The identifier of the namenodes to monitor and heartbeat.
  4604. </description>
  4605. </property>
  4606. <property>
  4607. <name>dfs.federation.router.monitor.localnamenode.enable</name>
  4608. <value>true</value>
  4609. <description>
  4610. If true, the Router should monitor the namenode in the local machine.
  4611. </description>
  4612. </property>
  4613. <property>
  4614. <name>dfs.federation.router.mount-table.max-cache-size</name>
  4615. <value>10000</value>
  4616. <description>
  4617. Maximum number of mount table cache entries to have.
  4618. By default, remove cache entries if we have more than 10k.
  4619. </description>
  4620. </property>
  4621. <property>
  4622. <name>dfs.federation.router.quota.enable</name>
  4623. <value>false</value>
  4624. <description>
  4625. Set to true to enable quota system in Router.
  4626. </description>
  4627. </property>
  4628. <property>
  4629. <name>dfs.federation.router.quota-cache.update.interval</name>
  4630. <value>60s</value>
  4631. <description>
  4632. Interval time for updating quota usage cache in Router.
  4633. This property is used only if the value of
  4634. dfs.federation.router.quota.enable is true.
  4635. This setting supports multiple time unit suffixes as described
  4636. in dfs.heartbeat.interval. If no suffix is specified then milliseconds
  4637. is assumed.
  4638. </description>
  4639. </property>
  4640. </configuration>