hdfs-default.xml 162 KB

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