hdfs-default.xml 157 KB

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