hdfs-default.xml 203 KB

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