hdfs-default.xml 161 KB

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