hdfs-default.xml 167 KB

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