hdfs-default.xml 207 KB

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