1
0

hdfs-default.xml 154 KB

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