hdfs-default.xml 171 KB

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