hdfs-default.xml 135 KB

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