hdfs-default.xml 200 KB

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