hdfs-default.xml 136 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129
  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:9868</value>
  98. <description>
  99. The secondary namenode http server address and port.
  100. </description>
  101. </property>
  102. <property>
  103. <name>dfs.namenode.secondary.https-address</name>
  104. <value>0.0.0.0:9869</value>
  105. <description>
  106. The secondary namenode HTTPS server address and port.
  107. </description>
  108. </property>
  109. <property>
  110. <name>dfs.datanode.address</name>
  111. <value>0.0.0.0:9866</value>
  112. <description>
  113. The datanode server address and port for data transfer.
  114. </description>
  115. </property>
  116. <property>
  117. <name>dfs.datanode.http.address</name>
  118. <value>0.0.0.0:9864</value>
  119. <description>
  120. The datanode http server address and port.
  121. </description>
  122. </property>
  123. <property>
  124. <name>dfs.datanode.ipc.address</name>
  125. <value>0.0.0.0:9867</value>
  126. <description>
  127. The datanode ipc server address and port.
  128. </description>
  129. </property>
  130. <property>
  131. <name>dfs.datanode.handler.count</name>
  132. <value>10</value>
  133. <description>The number of server threads for the datanode.</description>
  134. </property>
  135. <property>
  136. <name>dfs.namenode.http-address</name>
  137. <value>0.0.0.0:9870</value>
  138. <description>
  139. The address and the base port where the dfs namenode web ui will listen on.
  140. </description>
  141. </property>
  142. <property>
  143. <name>dfs.namenode.http-bind-host</name>
  144. <value></value>
  145. <description>
  146. The actual 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:9865</value>
  205. <description>The datanode secure http server address and port.</description>
  206. </property>
  207. <property>
  208. <name>dfs.namenode.https-address</name>
  209. <value>0.0.0.0:9871</value>
  210. <description>The namenode secure http server address and port.</description>
  211. </property>
  212. <property>
  213. <name>dfs.namenode.https-bind-host</name>
  214. <value></value>
  215. <description>
  216. The actual 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 disbled 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.checkpoint.check.quiet-multiplier</name>
  951. <value>1.5</value>
  952. <description>
  953. Used to calculate the amount of time between retries when in the 'quiet' period
  954. for creating checkpoints (active namenode already has an up-to-date image from another
  955. checkpointer), so we wait a multiplier of the dfs.namenode.checkpoint.check.period before
  956. retrying the checkpoint because another node likely is already managing the checkpoints,
  957. allowing us to save bandwidth to transfer checkpoints that don't need to be used.
  958. </description>
  959. </property>
  960. <property>
  961. <name>dfs.namenode.num.checkpoints.retained</name>
  962. <value>2</value>
  963. <description>The number of image checkpoint files (fsimage_*) that will be retained by
  964. the NameNode and Secondary NameNode in their storage directories. All edit
  965. logs (stored on edits_* files) necessary to recover an up-to-date namespace from the oldest retained
  966. checkpoint will also be retained.
  967. </description>
  968. </property>
  969. <property>
  970. <name>dfs.namenode.num.extra.edits.retained</name>
  971. <value>1000000</value>
  972. <description>The number of extra transactions which should be retained
  973. beyond what is minimally necessary for a NN restart.
  974. It does not translate directly to file's age, or the number of files kept,
  975. but to the number of transactions (here "edits" means transactions).
  976. One edit file may contain several transactions (edits).
  977. During checkpoint, NameNode will identify the total number of edits to retain as extra by
  978. checking the latest checkpoint transaction value, subtracted by the value of this property.
  979. Then, it scans edits files to identify the older ones that don't include the computed range of
  980. retained transactions that are to be kept around, and purges them subsequently.
  981. The retainment can be useful for audit purposes or for an HA setup where a remote Standby Node may have
  982. been offline for some time and need to have a longer backlog of retained
  983. edits in order to start again.
  984. Typically each edit is on the order of a few hundred bytes, so the default
  985. of 1 million edits should be on the order of hundreds of MBs or low GBs.
  986. NOTE: Fewer extra edits may be retained than value specified for this setting
  987. if doing so would mean that more segments would be retained than the number
  988. configured by dfs.namenode.max.extra.edits.segments.retained.
  989. </description>
  990. </property>
  991. <property>
  992. <name>dfs.namenode.max.extra.edits.segments.retained</name>
  993. <value>10000</value>
  994. <description>The maximum number of extra edit log segments which should be retained
  995. beyond what is minimally necessary for a NN restart. When used in conjunction with
  996. dfs.namenode.num.extra.edits.retained, this configuration property serves to cap
  997. the number of extra edits files to a reasonable value.
  998. </description>
  999. </property>
  1000. <property>
  1001. <name>dfs.namenode.delegation.key.update-interval</name>
  1002. <value>86400000</value>
  1003. <description>The update interval for master key for delegation tokens
  1004. in the namenode in milliseconds.
  1005. </description>
  1006. </property>
  1007. <property>
  1008. <name>dfs.namenode.delegation.token.max-lifetime</name>
  1009. <value>604800000</value>
  1010. <description>The maximum lifetime in milliseconds for which a delegation
  1011. token is valid.
  1012. </description>
  1013. </property>
  1014. <property>
  1015. <name>dfs.namenode.delegation.token.renew-interval</name>
  1016. <value>86400000</value>
  1017. <description>The renewal interval for delegation token in milliseconds.
  1018. </description>
  1019. </property>
  1020. <property>
  1021. <name>dfs.datanode.failed.volumes.tolerated</name>
  1022. <value>0</value>
  1023. <description>The number of volumes that are allowed to
  1024. fail before a datanode stops offering service. By default
  1025. any volume failure will cause a datanode to shutdown.
  1026. </description>
  1027. </property>
  1028. <property>
  1029. <name>dfs.image.compress</name>
  1030. <value>false</value>
  1031. <description>Should the dfs image be compressed?
  1032. </description>
  1033. </property>
  1034. <property>
  1035. <name>dfs.image.compression.codec</name>
  1036. <value>org.apache.hadoop.io.compress.DefaultCodec</value>
  1037. <description>If the dfs image is compressed, how should they be compressed?
  1038. This has to be a codec defined in io.compression.codecs.
  1039. </description>
  1040. </property>
  1041. <property>
  1042. <name>dfs.image.transfer.timeout</name>
  1043. <value>60000</value>
  1044. <description>
  1045. Socket timeout for image transfer in milliseconds. This timeout and the related
  1046. dfs.image.transfer.bandwidthPerSec parameter should be configured such
  1047. that normal image transfer can complete successfully.
  1048. This timeout prevents client hangs when the sender fails during
  1049. image transfer. This is socket timeout during image transfer.
  1050. </description>
  1051. </property>
  1052. <property>
  1053. <name>dfs.image.transfer.bandwidthPerSec</name>
  1054. <value>0</value>
  1055. <description>
  1056. Maximum bandwidth used for regular image transfers (instead of
  1057. bootstrapping the standby namenode), in bytes per second.
  1058. This can help keep normal namenode operations responsive during
  1059. checkpointing. The maximum bandwidth and timeout in
  1060. dfs.image.transfer.timeout should be set such that normal image
  1061. transfers can complete successfully.
  1062. A default value of 0 indicates that throttling is disabled.
  1063. The maximum bandwidth used for bootstrapping standby namenode is
  1064. configured with dfs.image.transfer-bootstrap-standby.bandwidthPerSec.
  1065. </description>
  1066. </property>
  1067. <property>
  1068. <name>dfs.image.transfer-bootstrap-standby.bandwidthPerSec</name>
  1069. <value>0</value>
  1070. <description>
  1071. Maximum bandwidth used for transferring image to bootstrap standby
  1072. namenode, in bytes per second.
  1073. A default value of 0 indicates that throttling is disabled. This default
  1074. value should be used in most cases, to ensure timely HA operations.
  1075. The maximum bandwidth used for regular image transfers is configured
  1076. with dfs.image.transfer.bandwidthPerSec.
  1077. </description>
  1078. </property>
  1079. <property>
  1080. <name>dfs.image.transfer.chunksize</name>
  1081. <value>65536</value>
  1082. <description>
  1083. Chunksize in bytes to upload the checkpoint.
  1084. Chunked streaming is used to avoid internal buffering of contents
  1085. of image file of huge size.
  1086. </description>
  1087. </property>
  1088. <property>
  1089. <name>dfs.namenode.support.allow.format</name>
  1090. <value>true</value>
  1091. <description>Does HDFS namenode allow itself to be formatted?
  1092. You may consider setting this to false for any production
  1093. cluster, to avoid any possibility of formatting a running DFS.
  1094. </description>
  1095. </property>
  1096. <property>
  1097. <name>dfs.datanode.max.transfer.threads</name>
  1098. <value>4096</value>
  1099. <description>
  1100. Specifies the maximum number of threads to use for transferring data
  1101. in and out of the DN.
  1102. </description>
  1103. </property>
  1104. <property>
  1105. <name>dfs.datanode.scan.period.hours</name>
  1106. <value>504</value>
  1107. <description>
  1108. If this is positive, the DataNode will not scan any
  1109. individual block more than once in the specified scan period.
  1110. If this is negative, the block scanner is disabled.
  1111. If this is set to zero, then the default value of 504 hours
  1112. or 3 weeks is used. Prior versions of HDFS incorrectly documented
  1113. that setting this key to zero will disable the block scanner.
  1114. </description>
  1115. </property>
  1116. <property>
  1117. <name>dfs.block.scanner.volume.bytes.per.second</name>
  1118. <value>1048576</value>
  1119. <description>
  1120. If this is 0, the DataNode's block scanner will be disabled. If this
  1121. is positive, this is the number of bytes per second that the DataNode's
  1122. block scanner will try to scan from each volume.
  1123. </description>
  1124. </property>
  1125. <property>
  1126. <name>dfs.datanode.readahead.bytes</name>
  1127. <value>4194304</value>
  1128. <description>
  1129. While reading block files, if the Hadoop native libraries are available,
  1130. the datanode can use the posix_fadvise system call to explicitly
  1131. page data into the operating system buffer cache ahead of the current
  1132. reader's position. This can improve performance especially when
  1133. disks are highly contended.
  1134. This configuration specifies the number of bytes ahead of the current
  1135. read position which the datanode will attempt to read ahead. This
  1136. feature may be disabled by configuring this property to 0.
  1137. If the native libraries are not available, this configuration has no
  1138. effect.
  1139. </description>
  1140. </property>
  1141. <property>
  1142. <name>dfs.datanode.drop.cache.behind.reads</name>
  1143. <value>false</value>
  1144. <description>
  1145. In some workloads, the data read from HDFS is known to be significantly
  1146. large enough that it is unlikely to be useful to cache it in the
  1147. operating system buffer cache. In this case, the DataNode may be
  1148. configured to automatically purge all data from the buffer cache
  1149. after it is delivered to the client. This behavior is automatically
  1150. disabled for workloads which read only short sections of a block
  1151. (e.g HBase random-IO workloads).
  1152. This may improve performance for some workloads by freeing buffer
  1153. cache space usage for more cacheable data.
  1154. If the Hadoop native libraries are not available, this configuration
  1155. has no effect.
  1156. </description>
  1157. </property>
  1158. <property>
  1159. <name>dfs.datanode.drop.cache.behind.writes</name>
  1160. <value>false</value>
  1161. <description>
  1162. In some workloads, the data written to HDFS is known to be significantly
  1163. large enough that it is unlikely to be useful to cache it in the
  1164. operating system buffer cache. In this case, the DataNode may be
  1165. configured to automatically purge all data from the buffer cache
  1166. after it is written to disk.
  1167. This may improve performance for some workloads by freeing buffer
  1168. cache space usage for more cacheable data.
  1169. If the Hadoop native libraries are not available, this configuration
  1170. has no effect.
  1171. </description>
  1172. </property>
  1173. <property>
  1174. <name>dfs.datanode.sync.behind.writes</name>
  1175. <value>false</value>
  1176. <description>
  1177. If this configuration is enabled, the datanode will instruct the
  1178. operating system to enqueue all written data to the disk immediately
  1179. after it is written. This differs from the usual OS policy which
  1180. may wait for up to 30 seconds before triggering writeback.
  1181. This may improve performance for some workloads by smoothing the
  1182. IO profile for data written to disk.
  1183. If the Hadoop native libraries are not available, this configuration
  1184. has no effect.
  1185. </description>
  1186. </property>
  1187. <property>
  1188. <name>dfs.client.failover.max.attempts</name>
  1189. <value>15</value>
  1190. <description>
  1191. Expert only. The number of client failover attempts that should be
  1192. made before the failover is considered failed.
  1193. </description>
  1194. </property>
  1195. <property>
  1196. <name>dfs.client.failover.sleep.base.millis</name>
  1197. <value>500</value>
  1198. <description>
  1199. Expert only. The time to wait, in milliseconds, between failover
  1200. attempts increases exponentially as a function of the number of
  1201. attempts made so far, with a random factor of +/- 50%. This option
  1202. specifies the base value used in the failover calculation. The
  1203. first failover will retry immediately. The 2nd failover attempt
  1204. will delay at least dfs.client.failover.sleep.base.millis
  1205. milliseconds. And so on.
  1206. </description>
  1207. </property>
  1208. <property>
  1209. <name>dfs.client.failover.sleep.max.millis</name>
  1210. <value>15000</value>
  1211. <description>
  1212. Expert only. The time to wait, in milliseconds, between failover
  1213. attempts increases exponentially as a function of the number of
  1214. attempts made so far, with a random factor of +/- 50%. This option
  1215. specifies the maximum value to wait between failovers.
  1216. Specifically, the time between two failover attempts will not
  1217. exceed +/- 50% of dfs.client.failover.sleep.max.millis
  1218. milliseconds.
  1219. </description>
  1220. </property>
  1221. <property>
  1222. <name>dfs.client.failover.connection.retries</name>
  1223. <value>0</value>
  1224. <description>
  1225. Expert only. Indicates the number of retries a failover IPC client
  1226. will make to establish a server connection.
  1227. </description>
  1228. </property>
  1229. <property>
  1230. <name>dfs.client.failover.connection.retries.on.timeouts</name>
  1231. <value>0</value>
  1232. <description>
  1233. Expert only. The number of retry attempts a failover IPC client
  1234. will make on socket timeout when establishing a server connection.
  1235. </description>
  1236. </property>
  1237. <property>
  1238. <name>dfs.client.datanode-restart.timeout</name>
  1239. <value>30</value>
  1240. <description>
  1241. Expert only. The time to wait, in seconds, from reception of an
  1242. datanode shutdown notification for quick restart, until declaring
  1243. the datanode dead and invoking the normal recovery mechanisms.
  1244. The notification is sent by a datanode when it is being shutdown
  1245. using the shutdownDatanode admin command with the upgrade option.
  1246. </description>
  1247. </property>
  1248. <property>
  1249. <name>dfs.nameservices</name>
  1250. <value></value>
  1251. <description>
  1252. Comma-separated list of nameservices.
  1253. </description>
  1254. </property>
  1255. <property>
  1256. <name>dfs.nameservice.id</name>
  1257. <value></value>
  1258. <description>
  1259. The ID of this nameservice. If the nameservice ID is not
  1260. configured or more than one nameservice is configured for
  1261. dfs.nameservices it is determined automatically by
  1262. matching the local node's address with the configured address.
  1263. </description>
  1264. </property>
  1265. <property>
  1266. <name>dfs.internal.nameservices</name>
  1267. <value></value>
  1268. <description>
  1269. Comma-separated list of nameservices that belong to this cluster.
  1270. Datanode will report to all the nameservices in this list. By default
  1271. this is set to the value of dfs.nameservices.
  1272. </description>
  1273. </property>
  1274. <property>
  1275. <name>dfs.ha.namenodes.EXAMPLENAMESERVICE</name>
  1276. <value></value>
  1277. <description>
  1278. The prefix for a given nameservice, contains a comma-separated
  1279. list of namenodes for a given nameservice (eg EXAMPLENAMESERVICE).
  1280. Unique identifiers for each NameNode in the nameservice, delimited by
  1281. commas. This will be used by DataNodes to determine all the NameNodes
  1282. in the cluster. For example, if you used “mycluster” as the nameservice
  1283. ID previously, and you wanted to use “nn1” and “nn2” as the individual
  1284. IDs of the NameNodes, you would configure a property
  1285. dfs.ha.namenodes.mycluster, and its value "nn1,nn2".
  1286. </description>
  1287. </property>
  1288. <property>
  1289. <name>dfs.ha.namenode.id</name>
  1290. <value></value>
  1291. <description>
  1292. The ID of this namenode. If the namenode ID is not configured it
  1293. is determined automatically by matching the local node's address
  1294. with the configured address.
  1295. </description>
  1296. </property>
  1297. <property>
  1298. <name>dfs.ha.log-roll.period</name>
  1299. <value>120</value>
  1300. <description>
  1301. How often, in seconds, the StandbyNode should ask the active to
  1302. roll edit logs. Since the StandbyNode only reads from finalized
  1303. log segments, the StandbyNode will only be as up-to-date as how
  1304. often the logs are rolled. Note that failover triggers a log roll
  1305. so the StandbyNode will be up to date before it becomes active.
  1306. </description>
  1307. </property>
  1308. <property>
  1309. <name>dfs.ha.tail-edits.period</name>
  1310. <value>60</value>
  1311. <description>
  1312. How often, in seconds, the StandbyNode should check for new
  1313. finalized log segments in the shared edits log.
  1314. </description>
  1315. </property>
  1316. <property>
  1317. <name>dfs.ha.tail-edits.namenode-retries</name>
  1318. <value>3</value>
  1319. <description>
  1320. Number of retries to use when contacting the namenode when tailing the log.
  1321. </description>
  1322. </property>
  1323. <property>
  1324. <name>dfs.ha.automatic-failover.enabled</name>
  1325. <value>false</value>
  1326. <description>
  1327. Whether automatic failover is enabled. See the HDFS High
  1328. Availability documentation for details on automatic HA
  1329. configuration.
  1330. </description>
  1331. </property>
  1332. <property>
  1333. <name>dfs.client.use.datanode.hostname</name>
  1334. <value>false</value>
  1335. <description>Whether clients should use datanode hostnames when
  1336. connecting to datanodes.
  1337. </description>
  1338. </property>
  1339. <property>
  1340. <name>dfs.datanode.use.datanode.hostname</name>
  1341. <value>false</value>
  1342. <description>Whether datanodes should use datanode hostnames when
  1343. connecting to other datanodes for data transfer.
  1344. </description>
  1345. </property>
  1346. <property>
  1347. <name>dfs.client.local.interfaces</name>
  1348. <value></value>
  1349. <description>A comma separated list of network interface names to use
  1350. for data transfer between the client and datanodes. When creating
  1351. a connection to read from or write to a datanode, the client
  1352. chooses one of the specified interfaces at random and binds its
  1353. socket to the IP of that interface. Individual names may be
  1354. specified as either an interface name (eg "eth0"), a subinterface
  1355. name (eg "eth0:0"), or an IP address (which may be specified using
  1356. CIDR notation to match a range of IPs).
  1357. </description>
  1358. </property>
  1359. <property>
  1360. <name>dfs.datanode.shared.file.descriptor.paths</name>
  1361. <value>/dev/shm,/tmp</value>
  1362. <description>
  1363. A comma-separated list of paths to use when creating file descriptors that
  1364. will be shared between the DataNode and the DFSClient. Typically we use
  1365. /dev/shm, so that the file descriptors will not be written to disk.
  1366. Systems that don't have /dev/shm will fall back to /tmp by default.
  1367. </description>
  1368. </property>
  1369. <property>
  1370. <name>dfs.short.circuit.shared.memory.watcher.interrupt.check.ms</name>
  1371. <value>60000</value>
  1372. <description>
  1373. The length of time in milliseconds that the short-circuit shared memory
  1374. watcher will go between checking for java interruptions sent from other
  1375. threads. This is provided mainly for unit tests.
  1376. </description>
  1377. </property>
  1378. <property>
  1379. <name>dfs.namenode.kerberos.principal</name>
  1380. <value></value>
  1381. <description>
  1382. The NameNode service principal. This is typically set to
  1383. nn/_HOST@REALM.TLD. Each NameNode will substitute _HOST with its
  1384. own fully qualified hostname at startup. The _HOST placeholder
  1385. allows using the same configuration setting on both NameNodes
  1386. in an HA setup.
  1387. </description>
  1388. </property>
  1389. <property>
  1390. <name>dfs.namenode.keytab.file</name>
  1391. <value></value>
  1392. <description>
  1393. The keytab file used by each NameNode daemon to login as its
  1394. service principal. The principal name is configured with
  1395. dfs.namenode.kerberos.principal.
  1396. </description>
  1397. </property>
  1398. <property>
  1399. <name>dfs.datanode.kerberos.principal</name>
  1400. <value></value>
  1401. <description>
  1402. The DataNode service principal. This is typically set to
  1403. dn/_HOST@REALM.TLD. Each DataNode will substitute _HOST with its
  1404. own fully qualified hostname at startup. The _HOST placeholder
  1405. allows using the same configuration setting on all DataNodes.
  1406. </description>
  1407. </property>
  1408. <property>
  1409. <name>dfs.datanode.keytab.file</name>
  1410. <value></value>
  1411. <description>
  1412. The keytab file used by each DataNode daemon to login as its
  1413. service principal. The principal name is configured with
  1414. dfs.datanode.kerberos.principal.
  1415. </description>
  1416. </property>
  1417. <property>
  1418. <name>dfs.journalnode.kerberos.principal</name>
  1419. <value></value>
  1420. <description>
  1421. The JournalNode service principal. This is typically set to
  1422. jn/_HOST@REALM.TLD. Each JournalNode will substitute _HOST with its
  1423. own fully qualified hostname at startup. The _HOST placeholder
  1424. allows using the same configuration setting on all JournalNodes.
  1425. </description>
  1426. </property>
  1427. <property>
  1428. <name>dfs.journalnode.keytab.file</name>
  1429. <value></value>
  1430. <description>
  1431. The keytab file used by each JournalNode daemon to login as its
  1432. service principal. The principal name is configured with
  1433. dfs.journalnode.kerberos.principal.
  1434. </description>
  1435. </property>
  1436. <property>
  1437. <name>dfs.namenode.kerberos.internal.spnego.principal</name>
  1438. <value>${dfs.web.authentication.kerberos.principal}</value>
  1439. <description>
  1440. The server principal used by the NameNode for web UI SPNEGO
  1441. authentication when Kerberos security is enabled. This is
  1442. typically set to HTTP/_HOST@REALM.TLD The SPNEGO server principal
  1443. begins with the prefix HTTP/ by convention.
  1444. If the value is '*', the web server will attempt to login with
  1445. every principal specified in the keytab file
  1446. dfs.web.authentication.kerberos.keytab.
  1447. </description>
  1448. </property>
  1449. <property>
  1450. <name>dfs.journalnode.kerberos.internal.spnego.principal</name>
  1451. <value></value>
  1452. <description>
  1453. The server principal used by the JournalNode HTTP Server for
  1454. SPNEGO authentication when Kerberos security is enabled. This is
  1455. typically set to HTTP/_HOST@REALM.TLD. The SPNEGO server principal
  1456. begins with the prefix HTTP/ by convention.
  1457. If the value is '*', the web server will attempt to login with
  1458. every principal specified in the keytab file
  1459. dfs.web.authentication.kerberos.keytab.
  1460. For most deployments this can be set to ${dfs.web.authentication.kerberos.principal}
  1461. i.e use the value of dfs.web.authentication.kerberos.principal.
  1462. </description>
  1463. </property>
  1464. <property>
  1465. <name>dfs.secondary.namenode.kerberos.internal.spnego.principal</name>
  1466. <value>${dfs.web.authentication.kerberos.principal}</value>
  1467. <description>
  1468. The server principal used by the Secondary NameNode for web UI SPNEGO
  1469. authentication when Kerberos security is enabled. Like all other
  1470. Secondary NameNode settings, it is ignored in an HA setup.
  1471. If the value is '*', the web server will attempt to login with
  1472. every principal specified in the keytab file
  1473. dfs.web.authentication.kerberos.keytab.
  1474. </description>
  1475. </property>
  1476. <property>
  1477. <name>dfs.web.authentication.kerberos.principal</name>
  1478. <value></value>
  1479. <description>
  1480. The server principal used by the NameNode for WebHDFS SPNEGO
  1481. authentication.
  1482. Required when WebHDFS and security are enabled. In most secure clusters this
  1483. setting is also used to specify the values for
  1484. dfs.namenode.kerberos.internal.spnego.principal and
  1485. dfs.journalnode.kerberos.internal.spnego.principal.
  1486. </description>
  1487. </property>
  1488. <property>
  1489. <name>dfs.web.authentication.kerberos.keytab</name>
  1490. <value></value>
  1491. <description>
  1492. The keytab file for the principal corresponding to
  1493. dfs.web.authentication.kerberos.principal.
  1494. </description>
  1495. </property>
  1496. <property>
  1497. <name>dfs.namenode.kerberos.principal.pattern</name>
  1498. <value>*</value>
  1499. <description>
  1500. A client-side RegEx that can be configured to control
  1501. allowed realms to authenticate with (useful in cross-realm env.)
  1502. </description>
  1503. </property>
  1504. <property>
  1505. <name>dfs.namenode.avoid.read.stale.datanode</name>
  1506. <value>false</value>
  1507. <description>
  1508. Indicate whether or not to avoid reading from &quot;stale&quot; datanodes whose
  1509. heartbeat messages have not been received by the namenode
  1510. for more than a specified time interval. Stale datanodes will be
  1511. moved to the end of the node list returned for reading. See
  1512. dfs.namenode.avoid.write.stale.datanode for a similar setting for writes.
  1513. </description>
  1514. </property>
  1515. <property>
  1516. <name>dfs.namenode.avoid.write.stale.datanode</name>
  1517. <value>false</value>
  1518. <description>
  1519. Indicate whether or not to avoid writing to &quot;stale&quot; datanodes whose
  1520. heartbeat messages have not been received by the namenode
  1521. for more than a specified time interval. Writes will avoid using
  1522. stale datanodes unless more than a configured ratio
  1523. (dfs.namenode.write.stale.datanode.ratio) of datanodes are marked as
  1524. stale. See dfs.namenode.avoid.read.stale.datanode for a similar setting
  1525. for reads.
  1526. </description>
  1527. </property>
  1528. <property>
  1529. <name>dfs.namenode.stale.datanode.interval</name>
  1530. <value>30000</value>
  1531. <description>
  1532. Default time interval for marking a datanode as "stale", i.e., if
  1533. the namenode has not received heartbeat msg from a datanode for
  1534. more than this time interval, the datanode will be marked and treated
  1535. as "stale" by default. The stale interval cannot be too small since
  1536. otherwise this may cause too frequent change of stale states.
  1537. We thus set a minimum stale interval value (the default value is 3 times
  1538. of heartbeat interval) and guarantee that the stale interval cannot be less
  1539. than the minimum value. A stale data node is avoided during lease/block
  1540. recovery. It can be conditionally avoided for reads (see
  1541. dfs.namenode.avoid.read.stale.datanode) and for writes (see
  1542. dfs.namenode.avoid.write.stale.datanode).
  1543. </description>
  1544. </property>
  1545. <property>
  1546. <name>dfs.namenode.write.stale.datanode.ratio</name>
  1547. <value>0.5f</value>
  1548. <description>
  1549. When the ratio of number stale datanodes to total datanodes marked
  1550. is greater than this ratio, stop avoiding writing to stale nodes so
  1551. as to prevent causing hotspots.
  1552. </description>
  1553. </property>
  1554. <property>
  1555. <name>dfs.namenode.invalidate.work.pct.per.iteration</name>
  1556. <value>0.32f</value>
  1557. <description>
  1558. *Note*: Advanced property. Change with caution.
  1559. This determines the percentage amount of block
  1560. invalidations (deletes) to do over a single DN heartbeat
  1561. deletion command. The final deletion count is determined by applying this
  1562. percentage to the number of live nodes in the system.
  1563. The resultant number is the number of blocks from the deletion list
  1564. chosen for proper invalidation over a single heartbeat of a single DN.
  1565. Value should be a positive, non-zero percentage in float notation (X.Yf),
  1566. with 1.0f meaning 100%.
  1567. </description>
  1568. </property>
  1569. <property>
  1570. <name>dfs.namenode.replication.work.multiplier.per.iteration</name>
  1571. <value>2</value>
  1572. <description>
  1573. *Note*: Advanced property. Change with caution.
  1574. This determines the total amount of block transfers to begin in
  1575. parallel at a DN, for replication, when such a command list is being
  1576. sent over a DN heartbeat by the NN. The actual number is obtained by
  1577. multiplying this multiplier with the total number of live nodes in the
  1578. cluster. The result number is the number of blocks to begin transfers
  1579. immediately for, per DN heartbeat. This number can be any positive,
  1580. non-zero integer.
  1581. </description>
  1582. </property>
  1583. <property>
  1584. <name>nfs.server.port</name>
  1585. <value>2049</value>
  1586. <description>
  1587. Specify the port number used by Hadoop NFS.
  1588. </description>
  1589. </property>
  1590. <property>
  1591. <name>nfs.mountd.port</name>
  1592. <value>4242</value>
  1593. <description>
  1594. Specify the port number used by Hadoop mount daemon.
  1595. </description>
  1596. </property>
  1597. <property>
  1598. <name>nfs.dump.dir</name>
  1599. <value>/tmp/.hdfs-nfs</value>
  1600. <description>
  1601. This directory is used to temporarily save out-of-order writes before
  1602. writing to HDFS. For each file, the out-of-order writes are dumped after
  1603. they are accumulated to exceed certain threshold (e.g., 1MB) in memory.
  1604. One needs to make sure the directory has enough space.
  1605. </description>
  1606. </property>
  1607. <property>
  1608. <name>nfs.rtmax</name>
  1609. <value>1048576</value>
  1610. <description>This is the maximum size in bytes of a READ request
  1611. supported by the NFS gateway. If you change this, make sure you
  1612. also update the nfs mount's rsize(add rsize= # of bytes to the
  1613. mount directive).
  1614. </description>
  1615. </property>
  1616. <property>
  1617. <name>nfs.wtmax</name>
  1618. <value>1048576</value>
  1619. <description>This is the maximum size in bytes of a WRITE request
  1620. supported by the NFS gateway. If you change this, make sure you
  1621. also update the nfs mount's wsize(add wsize= # of bytes to the
  1622. mount directive).
  1623. </description>
  1624. </property>
  1625. <property>
  1626. <name>nfs.keytab.file</name>
  1627. <value></value>
  1628. <description>
  1629. *Note*: Advanced property. Change with caution.
  1630. This is the path to the keytab file for the hdfs-nfs gateway.
  1631. This is required when the cluster is kerberized.
  1632. </description>
  1633. </property>
  1634. <property>
  1635. <name>nfs.kerberos.principal</name>
  1636. <value></value>
  1637. <description>
  1638. *Note*: Advanced property. Change with caution.
  1639. This is the name of the kerberos principal. This is required when
  1640. the cluster is kerberized.It must be of this format:
  1641. nfs-gateway-user/nfs-gateway-host@kerberos-realm
  1642. </description>
  1643. </property>
  1644. <property>
  1645. <name>nfs.allow.insecure.ports</name>
  1646. <value>true</value>
  1647. <description>
  1648. When set to false, client connections originating from unprivileged ports
  1649. (those above 1023) will be rejected. This is to ensure that clients
  1650. connecting to this NFS Gateway must have had root privilege on the machine
  1651. where they're connecting from.
  1652. </description>
  1653. </property>
  1654. <property>
  1655. <name>hadoop.fuse.connection.timeout</name>
  1656. <value>300</value>
  1657. <description>
  1658. The minimum number of seconds that we'll cache libhdfs connection objects
  1659. in fuse_dfs. Lower values will result in lower memory consumption; higher
  1660. values may speed up access by avoiding the overhead of creating new
  1661. connection objects.
  1662. </description>
  1663. </property>
  1664. <property>
  1665. <name>hadoop.fuse.timer.period</name>
  1666. <value>5</value>
  1667. <description>
  1668. The number of seconds between cache expiry checks in fuse_dfs. Lower values
  1669. will result in fuse_dfs noticing changes to Kerberos ticket caches more
  1670. quickly.
  1671. </description>
  1672. </property>
  1673. <property>
  1674. <name>dfs.namenode.metrics.logger.period.seconds</name>
  1675. <value>600</value>
  1676. <description>
  1677. This setting controls how frequently the NameNode logs its metrics. The
  1678. logging configuration must also define one or more appenders for
  1679. NameNodeMetricsLog for the metrics to be logged.
  1680. NameNode metrics logging is disabled if this value is set to zero or
  1681. less than zero.
  1682. </description>
  1683. </property>
  1684. <property>
  1685. <name>dfs.datanode.metrics.logger.period.seconds</name>
  1686. <value>600</value>
  1687. <description>
  1688. This setting controls how frequently the DataNode logs its metrics. The
  1689. logging configuration must also define one or more appenders for
  1690. DataNodeMetricsLog for the metrics to be logged.
  1691. DataNode metrics logging is disabled if this value is set to zero or
  1692. less than zero.
  1693. </description>
  1694. </property>
  1695. <property>
  1696. <name>dfs.metrics.percentiles.intervals</name>
  1697. <value></value>
  1698. <description>
  1699. Comma-delimited set of integers denoting the desired rollover intervals
  1700. (in seconds) for percentile latency metrics on the Namenode and Datanode.
  1701. By default, percentile latency metrics are disabled.
  1702. </description>
  1703. </property>
  1704. <property>
  1705. <name>hadoop.user.group.metrics.percentiles.intervals</name>
  1706. <value></value>
  1707. <description>
  1708. A comma-separated list of the granularity in seconds for the metrics
  1709. which describe the 50/75/90/95/99th percentile latency for group resolution
  1710. in milliseconds.
  1711. By default, percentile latency metrics are disabled.
  1712. </description>
  1713. </property>
  1714. <property>
  1715. <name>dfs.encrypt.data.transfer</name>
  1716. <value>false</value>
  1717. <description>
  1718. Whether or not actual block data that is read/written from/to HDFS should
  1719. be encrypted on the wire. This only needs to be set on the NN and DNs,
  1720. clients will deduce this automatically. It is possible to override this setting
  1721. per connection by specifying custom logic via dfs.trustedchannel.resolver.class.
  1722. </description>
  1723. </property>
  1724. <property>
  1725. <name>dfs.encrypt.data.transfer.algorithm</name>
  1726. <value></value>
  1727. <description>
  1728. This value may be set to either "3des" or "rc4". If nothing is set, then
  1729. the configured JCE default on the system is used (usually 3DES.) It is
  1730. widely believed that 3DES is more cryptographically secure, but RC4 is
  1731. substantially faster.
  1732. Note that if AES is supported by both the client and server then this
  1733. encryption algorithm will only be used to initially transfer keys for AES.
  1734. (See dfs.encrypt.data.transfer.cipher.suites.)
  1735. </description>
  1736. </property>
  1737. <property>
  1738. <name>dfs.encrypt.data.transfer.cipher.suites</name>
  1739. <value></value>
  1740. <description>
  1741. This value may be either undefined or AES/CTR/NoPadding. If defined, then
  1742. dfs.encrypt.data.transfer uses the specified cipher suite for data
  1743. encryption. If not defined, then only the algorithm specified in
  1744. dfs.encrypt.data.transfer.algorithm is used. By default, the property is
  1745. not defined.
  1746. </description>
  1747. </property>
  1748. <property>
  1749. <name>dfs.encrypt.data.transfer.cipher.key.bitlength</name>
  1750. <value>128</value>
  1751. <description>
  1752. The key bitlength negotiated by dfsclient and datanode for encryption.
  1753. This value may be set to either 128, 192 or 256.
  1754. </description>
  1755. </property>
  1756. <property>
  1757. <name>dfs.trustedchannel.resolver.class</name>
  1758. <value></value>
  1759. <description>
  1760. TrustedChannelResolver is used to determine whether a channel
  1761. is trusted for plain data transfer. The TrustedChannelResolver is
  1762. invoked on both client and server side. If the resolver indicates
  1763. that the channel is trusted, then the data transfer will not be
  1764. encrypted even if dfs.encrypt.data.transfer is set to true. The
  1765. default implementation returns false indicating that the channel
  1766. is not trusted.
  1767. </description>
  1768. </property>
  1769. <property>
  1770. <name>dfs.data.transfer.protection</name>
  1771. <value></value>
  1772. <description>
  1773. A comma-separated list of SASL protection values used for secured
  1774. connections to the DataNode when reading or writing block data. Possible
  1775. values are authentication, integrity and privacy. authentication means
  1776. authentication only and no integrity or privacy; integrity implies
  1777. authentication and integrity are enabled; and privacy implies all of
  1778. authentication, integrity and privacy are enabled. If
  1779. dfs.encrypt.data.transfer is set to true, then it supersedes the setting for
  1780. dfs.data.transfer.protection and enforces that all connections must use a
  1781. specialized encrypted SASL handshake. This property is ignored for
  1782. connections to a DataNode listening on a privileged port. In this case, it
  1783. is assumed that the use of a privileged port establishes sufficient trust.
  1784. </description>
  1785. </property>
  1786. <property>
  1787. <name>dfs.data.transfer.saslproperties.resolver.class</name>
  1788. <value></value>
  1789. <description>
  1790. SaslPropertiesResolver used to resolve the QOP used for a connection to the
  1791. DataNode when reading or writing block data. If not specified, the value of
  1792. hadoop.security.saslproperties.resolver.class is used as the default value.
  1793. </description>
  1794. </property>
  1795. <property>
  1796. <name>dfs.journalnode.rpc-address</name>
  1797. <value>0.0.0.0:8485</value>
  1798. <description>
  1799. The JournalNode RPC server address and port.
  1800. </description>
  1801. </property>
  1802. <property>
  1803. <name>dfs.journalnode.http-address</name>
  1804. <value>0.0.0.0:8480</value>
  1805. <description>
  1806. The address and port the JournalNode HTTP server listens on.
  1807. If the port is 0 then the server will start on a free port.
  1808. </description>
  1809. </property>
  1810. <property>
  1811. <name>dfs.journalnode.https-address</name>
  1812. <value>0.0.0.0:8481</value>
  1813. <description>
  1814. The address and port the JournalNode HTTPS server listens on.
  1815. If the port is 0 then the server will start on a free port.
  1816. </description>
  1817. </property>
  1818. <property>
  1819. <name>dfs.namenode.audit.loggers</name>
  1820. <value>default</value>
  1821. <description>
  1822. List of classes implementing audit loggers that will receive audit events.
  1823. These should be implementations of org.apache.hadoop.hdfs.server.namenode.AuditLogger.
  1824. The special value "default" can be used to reference the default audit
  1825. logger, which uses the configured log system. Installing custom audit loggers
  1826. may affect the performance and stability of the NameNode. Refer to the custom
  1827. logger's documentation for more details.
  1828. </description>
  1829. </property>
  1830. <property>
  1831. <name>dfs.datanode.available-space-volume-choosing-policy.balanced-space-threshold</name>
  1832. <value>10737418240</value> <!-- 10 GB -->
  1833. <description>
  1834. Only used when the dfs.datanode.fsdataset.volume.choosing.policy is set to
  1835. org.apache.hadoop.hdfs.server.datanode.fsdataset.AvailableSpaceVolumeChoosingPolicy.
  1836. This setting controls how much DN volumes are allowed to differ in terms of
  1837. bytes of free disk space before they are considered imbalanced. If the free
  1838. space of all the volumes are within this range of each other, the volumes
  1839. will be considered balanced and block assignments will be done on a pure
  1840. round robin basis.
  1841. </description>
  1842. </property>
  1843. <property>
  1844. <name>dfs.datanode.available-space-volume-choosing-policy.balanced-space-preference-fraction</name>
  1845. <value>0.75f</value>
  1846. <description>
  1847. Only used when the dfs.datanode.fsdataset.volume.choosing.policy is set to
  1848. org.apache.hadoop.hdfs.server.datanode.fsdataset.AvailableSpaceVolumeChoosingPolicy.
  1849. This setting controls what percentage of new block allocations will be sent
  1850. to volumes with more available disk space than others. This setting should
  1851. be in the range 0.0 - 1.0, though in practice 0.5 - 1.0, since there should
  1852. be no reason to prefer that volumes with less available disk space receive
  1853. more block allocations.
  1854. </description>
  1855. </property>
  1856. <property>
  1857. <name>dfs.namenode.edits.noeditlogchannelflush</name>
  1858. <value>false</value>
  1859. <description>
  1860. Specifies whether to flush edit log file channel. When set, expensive
  1861. FileChannel#force calls are skipped and synchronous disk writes are
  1862. enabled instead by opening the edit log file with RandomAccessFile("rws")
  1863. flags. This can significantly improve the performance of edit log writes
  1864. on the Windows platform.
  1865. Note that the behavior of the "rws" flags is platform and hardware specific
  1866. and might not provide the same level of guarantees as FileChannel#force.
  1867. For example, the write will skip the disk-cache on SAS and SCSI devices
  1868. while it might not on SATA devices. This is an expert level setting,
  1869. change with caution.
  1870. </description>
  1871. </property>
  1872. <property>
  1873. <name>dfs.client.cache.drop.behind.writes</name>
  1874. <value></value>
  1875. <description>
  1876. Just like dfs.datanode.drop.cache.behind.writes, this setting causes the
  1877. page cache to be dropped behind HDFS writes, potentially freeing up more
  1878. memory for other uses. Unlike dfs.datanode.drop.cache.behind.writes, this
  1879. is a client-side setting rather than a setting for the entire datanode.
  1880. If present, this setting will override the DataNode default.
  1881. If the native libraries are not available to the DataNode, this
  1882. configuration has no effect.
  1883. </description>
  1884. </property>
  1885. <property>
  1886. <name>dfs.client.cache.drop.behind.reads</name>
  1887. <value></value>
  1888. <description>
  1889. Just like dfs.datanode.drop.cache.behind.reads, this setting causes the
  1890. page cache to be dropped behind HDFS reads, potentially freeing up more
  1891. memory for other uses. Unlike dfs.datanode.drop.cache.behind.reads, this
  1892. is a client-side setting rather than a setting for the entire datanode. If
  1893. present, this setting will override the DataNode default.
  1894. If the native libraries are not available to the DataNode, this
  1895. configuration has no effect.
  1896. </description>
  1897. </property>
  1898. <property>
  1899. <name>dfs.client.cache.readahead</name>
  1900. <value></value>
  1901. <description>
  1902. When using remote reads, this setting causes the datanode to
  1903. read ahead in the block file using posix_fadvise, potentially decreasing
  1904. I/O wait times. Unlike dfs.datanode.readahead.bytes, this is a client-side
  1905. setting rather than a setting for the entire datanode. If present, this
  1906. setting will override the DataNode default.
  1907. When using local reads, this setting determines how much readahead we do in
  1908. BlockReaderLocal.
  1909. If the native libraries are not available to the DataNode, this
  1910. configuration has no effect.
  1911. </description>
  1912. </property>
  1913. <property>
  1914. <name>dfs.namenode.enable.retrycache</name>
  1915. <value>true</value>
  1916. <description>
  1917. This enables the retry cache on the namenode. Namenode tracks for
  1918. non-idempotent requests the corresponding response. If a client retries the
  1919. request, the response from the retry cache is sent. Such operations
  1920. are tagged with annotation @AtMostOnce in namenode protocols. It is
  1921. recommended that this flag be set to true. Setting it to false, will result
  1922. in clients getting failure responses to retried request. This flag must
  1923. be enabled in HA setup for transparent fail-overs.
  1924. The entries in the cache have expiration time configurable
  1925. using dfs.namenode.retrycache.expirytime.millis.
  1926. </description>
  1927. </property>
  1928. <property>
  1929. <name>dfs.namenode.retrycache.expirytime.millis</name>
  1930. <value>600000</value>
  1931. <description>
  1932. The time for which retry cache entries are retained.
  1933. </description>
  1934. </property>
  1935. <property>
  1936. <name>dfs.namenode.retrycache.heap.percent</name>
  1937. <value>0.03f</value>
  1938. <description>
  1939. This parameter configures the heap size allocated for retry cache
  1940. (excluding the response cached). This corresponds to approximately
  1941. 4096 entries for every 64MB of namenode process java heap size.
  1942. Assuming retry cache entry expiration time (configured using
  1943. dfs.namenode.retrycache.expirytime.millis) of 10 minutes, this
  1944. enables retry cache to support 7 operations per second sustained
  1945. for 10 minutes. As the heap size is increased, the operation rate
  1946. linearly increases.
  1947. </description>
  1948. </property>
  1949. <property>
  1950. <name>dfs.client.mmap.enabled</name>
  1951. <value>true</value>
  1952. <description>
  1953. If this is set to false, the client won't attempt to perform memory-mapped reads.
  1954. </description>
  1955. </property>
  1956. <property>
  1957. <name>dfs.client.mmap.cache.size</name>
  1958. <value>256</value>
  1959. <description>
  1960. When zero-copy reads are used, the DFSClient keeps a cache of recently used
  1961. memory mapped regions. This parameter controls the maximum number of
  1962. entries that we will keep in that cache.
  1963. The larger this number is, the more file descriptors we will potentially
  1964. use for memory-mapped files. mmaped files also use virtual address space.
  1965. You may need to increase your ulimit virtual address space limits before
  1966. increasing the client mmap cache size.
  1967. Note that you can still do zero-copy reads when this size is set to 0.
  1968. </description>
  1969. </property>
  1970. <property>
  1971. <name>dfs.client.mmap.cache.timeout.ms</name>
  1972. <value>3600000</value>
  1973. <description>
  1974. The minimum length of time that we will keep an mmap entry in the cache
  1975. between uses. If an entry is in the cache longer than this, and nobody
  1976. uses it, it will be removed by a background thread.
  1977. </description>
  1978. </property>
  1979. <property>
  1980. <name>dfs.client.mmap.retry.timeout.ms</name>
  1981. <value>300000</value>
  1982. <description>
  1983. The minimum amount of time that we will wait before retrying a failed mmap
  1984. operation.
  1985. </description>
  1986. </property>
  1987. <property>
  1988. <name>dfs.client.short.circuit.replica.stale.threshold.ms</name>
  1989. <value>1800000</value>
  1990. <description>
  1991. The maximum amount of time that we will consider a short-circuit replica to
  1992. be valid, if there is no communication from the DataNode. After this time
  1993. has elapsed, we will re-fetch the short-circuit replica even if it is in
  1994. the cache.
  1995. </description>
  1996. </property>
  1997. <property>
  1998. <name>dfs.namenode.path.based.cache.block.map.allocation.percent</name>
  1999. <value>0.25</value>
  2000. <description>
  2001. The percentage of the Java heap which we will allocate to the cached blocks
  2002. map. The cached blocks map is a hash map which uses chained hashing.
  2003. Smaller maps may be accessed more slowly if the number of cached blocks is
  2004. large; larger maps will consume more memory.
  2005. </description>
  2006. </property>
  2007. <property>
  2008. <name>dfs.datanode.max.locked.memory</name>
  2009. <value>0</value>
  2010. <description>
  2011. The amount of memory in bytes to use for caching of block replicas in
  2012. memory on the datanode. The datanode's maximum locked memory soft ulimit
  2013. (RLIMIT_MEMLOCK) must be set to at least this value, else the datanode
  2014. will abort on startup.
  2015. By default, this parameter is set to 0, which disables in-memory caching.
  2016. If the native libraries are not available to the DataNode, this
  2017. configuration has no effect.
  2018. </description>
  2019. </property>
  2020. <property>
  2021. <name>dfs.namenode.list.cache.directives.num.responses</name>
  2022. <value>100</value>
  2023. <description>
  2024. This value controls the number of cache directives that the NameNode will
  2025. send over the wire in response to a listDirectives RPC.
  2026. </description>
  2027. </property>
  2028. <property>
  2029. <name>dfs.namenode.list.cache.pools.num.responses</name>
  2030. <value>100</value>
  2031. <description>
  2032. This value controls the number of cache pools that the NameNode will
  2033. send over the wire in response to a listPools RPC.
  2034. </description>
  2035. </property>
  2036. <property>
  2037. <name>dfs.namenode.path.based.cache.refresh.interval.ms</name>
  2038. <value>30000</value>
  2039. <description>
  2040. The amount of milliseconds between subsequent path cache rescans. Path
  2041. cache rescans are when we calculate which blocks should be cached, and on
  2042. what datanodes.
  2043. By default, this parameter is set to 30 seconds.
  2044. </description>
  2045. </property>
  2046. <property>
  2047. <name>dfs.namenode.path.based.cache.retry.interval.ms</name>
  2048. <value>30000</value>
  2049. <description>
  2050. When the NameNode needs to uncache something that is cached, or cache
  2051. something that is not cached, it must direct the DataNodes to do so by
  2052. sending a DNA_CACHE or DNA_UNCACHE command in response to a DataNode
  2053. heartbeat. This parameter controls how frequently the NameNode will
  2054. resend these commands.
  2055. </description>
  2056. </property>
  2057. <property>
  2058. <name>dfs.datanode.fsdatasetcache.max.threads.per.volume</name>
  2059. <value>4</value>
  2060. <description>
  2061. The maximum number of threads per volume to use for caching new data
  2062. on the datanode. These threads consume both I/O and CPU. This can affect
  2063. normal datanode operations.
  2064. </description>
  2065. </property>
  2066. <property>
  2067. <name>dfs.cachereport.intervalMsec</name>
  2068. <value>10000</value>
  2069. <description>
  2070. Determines cache reporting interval in milliseconds. After this amount of
  2071. time, the DataNode sends a full report of its cache state to the NameNode.
  2072. The NameNode uses the cache report to update its map of cached blocks to
  2073. DataNode locations.
  2074. This configuration has no effect if in-memory caching has been disabled by
  2075. setting dfs.datanode.max.locked.memory to 0 (which is the default).
  2076. If the native libraries are not available to the DataNode, this
  2077. configuration has no effect.
  2078. </description>
  2079. </property>
  2080. <property>
  2081. <name>dfs.namenode.edit.log.autoroll.multiplier.threshold</name>
  2082. <value>2.0</value>
  2083. <description>
  2084. Determines when an active namenode will roll its own edit log.
  2085. The actual threshold (in number of edits) is determined by multiplying
  2086. this value by dfs.namenode.checkpoint.txns.
  2087. This prevents extremely large edit files from accumulating on the active
  2088. namenode, which can cause timeouts during namenode startup and pose an
  2089. administrative hassle. This behavior is intended as a failsafe for when
  2090. the standby or secondary namenode fail to roll the edit log by the normal
  2091. checkpoint threshold.
  2092. </description>
  2093. </property>
  2094. <property>
  2095. <name>dfs.namenode.edit.log.autoroll.check.interval.ms</name>
  2096. <value>300000</value>
  2097. <description>
  2098. How often an active namenode will check if it needs to roll its edit log,
  2099. in milliseconds.
  2100. </description>
  2101. </property>
  2102. <property>
  2103. <name>dfs.webhdfs.user.provider.user.pattern</name>
  2104. <value>^[A-Za-z_][A-Za-z0-9._-]*[$]?$</value>
  2105. <description>
  2106. Valid pattern for user and group names for webhdfs, it must be a valid java regex.
  2107. </description>
  2108. </property>
  2109. <property>
  2110. <name>dfs.webhdfs.socket.connect-timeout</name>
  2111. <value>60s</value>
  2112. <description>
  2113. Socket timeout for connecting to WebHDFS servers. This prevents a
  2114. WebHDFS client from hanging if the server hostname is
  2115. misconfigured, or the server does not response before the timeout
  2116. expires. Value is followed by a unit specifier: ns, us, ms, s, m,
  2117. h, d for nanoseconds, microseconds, milliseconds, seconds,
  2118. minutes, hours, days respectively. Values should provide units,
  2119. but milliseconds are assumed.
  2120. </description>
  2121. </property>
  2122. <property>
  2123. <name>dfs.webhdfs.socket.read-timeout</name>
  2124. <value>60s</value>
  2125. <description>
  2126. Socket timeout for reading data from WebHDFS servers. This
  2127. prevents a WebHDFS client from hanging if the server stops sending
  2128. data. Value is followed by a unit specifier: ns, us, ms, s, m, h,
  2129. d for nanoseconds, microseconds, milliseconds, seconds, minutes,
  2130. hours, days respectively. Values should provide units,
  2131. but milliseconds are assumed.
  2132. </description>
  2133. </property>
  2134. <property>
  2135. <name>dfs.client.context</name>
  2136. <value>default</value>
  2137. <description>
  2138. The name of the DFSClient context that we should use. Clients that share
  2139. a context share a socket cache and short-circuit cache, among other things.
  2140. You should only change this if you don't want to share with another set of
  2141. threads.
  2142. </description>
  2143. </property>
  2144. <property>
  2145. <name>dfs.client.read.shortcircuit</name>
  2146. <value>false</value>
  2147. <description>
  2148. This configuration parameter turns on short-circuit local reads.
  2149. </description>
  2150. </property>
  2151. <property>
  2152. <name>dfs.client.socket.send.buffer.size</name>
  2153. <value>131072</value>
  2154. <description>
  2155. Socket send buffer size for a write pipeline in DFSClient side.
  2156. This may affect TCP connection throughput.
  2157. If it is set to zero or negative value,
  2158. no buffer size will be set explicitly,
  2159. thus enable tcp auto-tuning on some system.
  2160. </description>
  2161. </property>
  2162. <property>
  2163. <name>dfs.domain.socket.path</name>
  2164. <value></value>
  2165. <description>
  2166. Optional. This is a path to a UNIX domain socket that will be used for
  2167. communication between the DataNode and local HDFS clients.
  2168. If the string "_PORT" is present in this path, it will be replaced by the
  2169. TCP port of the DataNode.
  2170. </description>
  2171. </property>
  2172. <property>
  2173. <name>dfs.client.read.shortcircuit.skip.checksum</name>
  2174. <value>false</value>
  2175. <description>
  2176. If this configuration parameter is set,
  2177. short-circuit local reads will skip checksums.
  2178. This is normally not recommended,
  2179. but it may be useful for special setups.
  2180. You might consider using this
  2181. if you are doing your own checksumming outside of HDFS.
  2182. </description>
  2183. </property>
  2184. <property>
  2185. <name>dfs.client.read.shortcircuit.streams.cache.size</name>
  2186. <value>256</value>
  2187. <description>
  2188. The DFSClient maintains a cache of recently opened file descriptors.
  2189. This parameter controls the maximum number of file descriptors in the cache.
  2190. Setting this higher will use more file descriptors,
  2191. but potentially provide better performance on workloads
  2192. involving lots of seeks.
  2193. </description>
  2194. </property>
  2195. <property>
  2196. <name>dfs.client.read.shortcircuit.streams.cache.expiry.ms</name>
  2197. <value>300000</value>
  2198. <description>
  2199. This controls the minimum amount of time
  2200. file descriptors need to sit in the client cache context
  2201. before they can be closed for being inactive for too long.
  2202. </description>
  2203. </property>
  2204. <property>
  2205. <name>dfs.datanode.shared.file.descriptor.paths</name>
  2206. <value>/dev/shm,/tmp</value>
  2207. <description>
  2208. Comma separated paths to the directory on which
  2209. shared memory segments are created.
  2210. The client and the DataNode exchange information via
  2211. this shared memory segment.
  2212. It tries paths in order until creation of shared memory segment succeeds.
  2213. </description>
  2214. </property>
  2215. <property>
  2216. <name>dfs.namenode.audit.log.debug.cmdlist</name>
  2217. <value></value>
  2218. <description>
  2219. A comma separated list of NameNode commands that are written to the HDFS
  2220. namenode audit log only if the audit log level is debug.
  2221. </description>
  2222. </property>
  2223. <property>
  2224. <name>dfs.client.use.legacy.blockreader.local</name>
  2225. <value>false</value>
  2226. <description>
  2227. Legacy short-circuit reader implementation based on HDFS-2246 is used
  2228. if this configuration parameter is true.
  2229. This is for the platforms other than Linux
  2230. where the new implementation based on HDFS-347 is not available.
  2231. </description>
  2232. </property>
  2233. <property>
  2234. <name>dfs.block.local-path-access.user</name>
  2235. <value></value>
  2236. <description>
  2237. Comma separated list of the users allowd to open block files
  2238. on legacy short-circuit local read.
  2239. </description>
  2240. </property>
  2241. <property>
  2242. <name>dfs.client.domain.socket.data.traffic</name>
  2243. <value>false</value>
  2244. <description>
  2245. This control whether we will try to pass normal data traffic
  2246. over UNIX domain socket rather than over TCP socket
  2247. on node-local data transfer.
  2248. This is currently experimental and turned off by default.
  2249. </description>
  2250. </property>
  2251. <property>
  2252. <name>dfs.namenode.reject-unresolved-dn-topology-mapping</name>
  2253. <value>false</value>
  2254. <description>
  2255. If the value is set to true, then namenode will reject datanode
  2256. registration if the topology mapping for a datanode is not resolved and
  2257. NULL is returned (script defined by net.topology.script.file.name fails
  2258. to execute). Otherwise, datanode will be registered and the default rack
  2259. will be assigned as the topology path. Topology paths are important for
  2260. data resiliency, since they define fault domains. Thus it may be unwanted
  2261. behavior to allow datanode registration with the default rack if the
  2262. resolving topology failed.
  2263. </description>
  2264. </property>
  2265. <property>
  2266. <name>dfs.namenode.xattrs.enabled</name>
  2267. <value>true</value>
  2268. <description>
  2269. Whether support for extended attributes is enabled on the NameNode.
  2270. </description>
  2271. </property>
  2272. <property>
  2273. <name>dfs.namenode.fs-limits.max-xattrs-per-inode</name>
  2274. <value>32</value>
  2275. <description>
  2276. Maximum number of extended attributes per inode.
  2277. </description>
  2278. </property>
  2279. <property>
  2280. <name>dfs.namenode.fs-limits.max-xattr-size</name>
  2281. <value>16384</value>
  2282. <description>
  2283. The maximum combined size of the name and value of an extended attribute
  2284. in bytes. It should be larger than 0, and less than or equal to maximum
  2285. size hard limit which is 32768.
  2286. </description>
  2287. </property>
  2288. <property>
  2289. <name>dfs.client.slow.io.warning.threshold.ms</name>
  2290. <value>30000</value>
  2291. <description>The threshold in milliseconds at which we will log a slow
  2292. io warning in a dfsclient. By default, this parameter is set to 30000
  2293. milliseconds (30 seconds).
  2294. </description>
  2295. </property>
  2296. <property>
  2297. <name>dfs.datanode.slow.io.warning.threshold.ms</name>
  2298. <value>300</value>
  2299. <description>The threshold in milliseconds at which we will log a slow
  2300. io warning in a datanode. By default, this parameter is set to 300
  2301. milliseconds.
  2302. </description>
  2303. </property>
  2304. <property>
  2305. <name>dfs.namenode.lease-recheck-interval-ms</name>
  2306. <value>2000</value>
  2307. <description>During the release of lease a lock is hold that make any
  2308. operations on the namenode stuck. In order to not block them during
  2309. a too long duration we stop releasing lease after this max lock limit.
  2310. </description>
  2311. </property>
  2312. <property>
  2313. <name>dfs.namenode.max-lock-hold-to-release-lease-ms</name>
  2314. <value>25</value>
  2315. <description>During the release of lease a lock is hold that make any
  2316. operations on the namenode stuck. In order to not block them during
  2317. a too long duration we stop releasing lease after this max lock limit.
  2318. </description>
  2319. </property>
  2320. <property>
  2321. <name>dfs.namenode.startup.delay.block.deletion.sec</name>
  2322. <value>0</value>
  2323. <description>The delay in seconds at which we will pause the blocks deletion
  2324. after Namenode startup. By default it's disabled.
  2325. In the case a directory has large number of directories and files are
  2326. deleted, suggested delay is one hour to give the administrator enough time
  2327. to notice large number of pending deletion blocks and take corrective
  2328. action.
  2329. </description>
  2330. </property>
  2331. <property>
  2332. <name>dfs.datanode.block.id.layout.upgrade.threads</name>
  2333. <value>12</value>
  2334. <description>The number of threads to use when creating hard links from
  2335. current to previous blocks during upgrade of a DataNode to block ID-based
  2336. block layout (see HDFS-6482 for details on the layout).</description>
  2337. </property>
  2338. <property>
  2339. <name>dfs.namenode.list.encryption.zones.num.responses</name>
  2340. <value>100</value>
  2341. <description>When listing encryption zones, the maximum number of zones
  2342. that will be returned in a batch. Fetching the list incrementally in
  2343. batches improves namenode performance.
  2344. </description>
  2345. </property>
  2346. <property>
  2347. <name>dfs.namenode.edekcacheloader.interval.ms</name>
  2348. <value>1000</value>
  2349. <description>When KeyProvider is configured, the interval time of warming
  2350. up edek cache on NN starts up / becomes active. All edeks will be loaded
  2351. from KMS into provider cache. The edek cache loader will try to warm up the
  2352. cache until succeed or NN leaves active state.
  2353. </description>
  2354. </property>
  2355. <property>
  2356. <name>dfs.namenode.edekcacheloader.initial.delay.ms</name>
  2357. <value>3000</value>
  2358. <description>When KeyProvider is configured, the time delayed until the first
  2359. attempt to warm up edek cache on NN start up / become active.
  2360. </description>
  2361. </property>
  2362. <property>
  2363. <name>dfs.namenode.inotify.max.events.per.rpc</name>
  2364. <value>1000</value>
  2365. <description>Maximum number of events that will be sent to an inotify client
  2366. in a single RPC response. The default value attempts to amortize away
  2367. the overhead for this RPC while avoiding huge memory requirements for the
  2368. client and NameNode (1000 events should consume no more than 1 MB.)
  2369. </description>
  2370. </property>
  2371. <property>
  2372. <name>dfs.user.home.dir.prefix</name>
  2373. <value>/user</value>
  2374. <description>The directory to prepend to user name to get the user's
  2375. home direcotry.
  2376. </description>
  2377. </property>
  2378. <property>
  2379. <name>dfs.datanode.cache.revocation.timeout.ms</name>
  2380. <value>900000</value>
  2381. <description>When the DFSClient reads from a block file which the DataNode is
  2382. caching, the DFSClient can skip verifying checksums. The DataNode will
  2383. keep the block file in cache until the client is done. If the client takes
  2384. an unusually long time, though, the DataNode may need to evict the block
  2385. file from the cache anyway. This value controls how long the DataNode will
  2386. wait for the client to release a replica that it is reading without
  2387. checksums.
  2388. </description>
  2389. </property>
  2390. <property>
  2391. <name>dfs.datanode.cache.revocation.polling.ms</name>
  2392. <value>500</value>
  2393. <description>How often the DataNode should poll to see if the clients have
  2394. stopped using a replica that the DataNode wants to uncache.
  2395. </description>
  2396. </property>
  2397. <property>
  2398. <name>dfs.encryption.key.provider.uri</name>
  2399. <description>
  2400. The KeyProvider to use when interacting with encryption keys used
  2401. when reading and writing to an encryption zone.
  2402. </description>
  2403. </property>
  2404. <property>
  2405. <name>dfs.storage.policy.enabled</name>
  2406. <value>true</value>
  2407. <description>
  2408. Allow users to change the storage policy on files and directories.
  2409. </description>
  2410. </property>
  2411. <property>
  2412. <name>dfs.namenode.legacy-oiv-image.dir</name>
  2413. <value></value>
  2414. <description>Determines where to save the namespace in the old fsimage format
  2415. during checkpointing by standby NameNode or SecondaryNameNode. Users can
  2416. dump the contents of the old format fsimage by oiv_legacy command. If
  2417. the value is not specified, old format fsimage will not be saved in
  2418. checkpoint.
  2419. </description>
  2420. </property>
  2421. <property>
  2422. <name>dfs.namenode.top.enabled</name>
  2423. <value>true</value>
  2424. <description>Enable nntop: reporting top users on namenode
  2425. </description>
  2426. </property>
  2427. <property>
  2428. <name>dfs.namenode.top.window.num.buckets</name>
  2429. <value>10</value>
  2430. <description>Number of buckets in the rolling window implementation of nntop
  2431. </description>
  2432. </property>
  2433. <property>
  2434. <name>dfs.namenode.top.num.users</name>
  2435. <value>10</value>
  2436. <description>Number of top users returned by the top tool
  2437. </description>
  2438. </property>
  2439. <property>
  2440. <name>dfs.namenode.top.windows.minutes</name>
  2441. <value>1,5,25</value>
  2442. <description>comma separated list of nntop reporting periods in minutes
  2443. </description>
  2444. </property>
  2445. <property>
  2446. <name>dfs.webhdfs.ugi.expire.after.access</name>
  2447. <value>600000</value>
  2448. <description>How long in milliseconds after the last access
  2449. the cached UGI will expire. With 0, never expire.
  2450. </description>
  2451. </property>
  2452. <property>
  2453. <name>dfs.namenode.blocks.per.postponedblocks.rescan</name>
  2454. <value>10000</value>
  2455. <description>Number of blocks to rescan for each iteration of
  2456. postponedMisreplicatedBlocks.
  2457. </description>
  2458. </property>
  2459. <property>
  2460. <name>dfs.datanode.block-pinning.enabled</name>
  2461. <value>false</value>
  2462. <description>Whether pin blocks on favored DataNode.</description>
  2463. </property>
  2464. <property>
  2465. <name>dfs.client.block.write.locateFollowingBlock.initial.delay.ms</name>
  2466. <value>400</value>
  2467. <description>The initial delay (unit is ms) for locateFollowingBlock,
  2468. the delay time will increase exponentially(double) for each retry.
  2469. </description>
  2470. </property>
  2471. <property>
  2472. <name>dfs.ha.zkfc.nn.http.timeout.ms</name>
  2473. <value>20000</value>
  2474. <description>
  2475. The HTTP connection and read timeout value (unit is ms ) when DFS ZKFC
  2476. tries to get local NN thread dump after local NN becomes
  2477. SERVICE_NOT_RESPONDING or SERVICE_UNHEALTHY.
  2478. If it is set to zero, DFS ZKFC won't get local NN thread dump.
  2479. </description>
  2480. </property>
  2481. <property>
  2482. <name>dfs.datanode.ec.reconstruction.stripedread.timeout.millis</name>
  2483. <value>5000</value>
  2484. <description>Datanode striped read timeout in milliseconds.
  2485. </description>
  2486. </property>
  2487. <property>
  2488. <name>dfs.datanode.ec.reconstruction.stripedread.threads</name>
  2489. <value>20</value>
  2490. <description>
  2491. Number of threads used by the Datanode to read striped block
  2492. during background reconstruction work.
  2493. </description>
  2494. </property>
  2495. <property>
  2496. <name>dfs.datanode.ec.reconstruction.stripedread.buffer.size</name>
  2497. <value>65536</value>
  2498. <description>Datanode striped read buffer size.
  2499. </description>
  2500. </property>
  2501. <property>
  2502. <name>dfs.datanode.ec.reconstruction.stripedblock.threads.size</name>
  2503. <value>8</value>
  2504. <description>
  2505. Number of threads used by the Datanode for background
  2506. reconstruction work.
  2507. </description>
  2508. </property>
  2509. <property>
  2510. <name>dfs.namenode.quota.init-threads</name>
  2511. <value>4</value>
  2512. <description>
  2513. The number of concurrent threads to be used in quota initialization. The
  2514. speed of quota initialization also affects the namenode fail-over latency.
  2515. If the size of name space is big, try increasing this.
  2516. </description>
  2517. </property>
  2518. <property>
  2519. <name>dfs.datanode.transfer.socket.send.buffer.size</name>
  2520. <value>131072</value>
  2521. <description>
  2522. Socket send buffer size for DataXceiver (mirroring packets to downstream
  2523. in pipeline). This may affect TCP connection throughput.
  2524. If it is set to zero or negative value, no buffer size will be set
  2525. explicitly, thus enable tcp auto-tuning on some system.
  2526. </description>
  2527. </property>
  2528. <property>
  2529. <name>dfs.datanode.transfer.socket.recv.buffer.size</name>
  2530. <value>131072</value>
  2531. <description>
  2532. Socket receive buffer size for DataXceiver (receiving packets from client
  2533. during block writing). This may affect TCP connection throughput.
  2534. If it is set to zero or negative value, no buffer size will be set
  2535. explicitly, thus enable tcp auto-tuning on some system.
  2536. </description>
  2537. </property>
  2538. <property>
  2539. <name>dfs.namenode.upgrade.domain.factor</name>
  2540. <value>${dfs.replication}</value>
  2541. <description>
  2542. This is valid only when block placement policy is set to
  2543. BlockPlacementPolicyWithUpgradeDomain. It defines the number of
  2544. unique upgrade domains any block's replicas should have.
  2545. When the number of replicas is less or equal to this value, the policy
  2546. ensures each replica has an unique upgrade domain. When the number of
  2547. replicas is greater than this value, the policy ensures the number of
  2548. unique domains is at least this value.
  2549. </description>
  2550. </property>
  2551. <property>
  2552. <name>dfs.ha.zkfc.port</name>
  2553. <value>8019</value>
  2554. <description>
  2555. RPC port for Zookeeper Failover Controller.
  2556. </description>
  2557. </property>
  2558. <property>
  2559. <name>dfs.datanode.bp-ready.timeout</name>
  2560. <value>20</value>
  2561. <description>
  2562. The maximum wait time for datanode to be ready before failing the
  2563. received request. Setting this to 0 fails requests right away if the
  2564. datanode is not yet registered with the namenode. This wait time
  2565. reduces initial request failures after datanode restart.
  2566. </description>
  2567. </property>
  2568. <property>
  2569. <name>dfs.datanode.cached-dfsused.check.interval.ms</name>
  2570. <value>600000</value>
  2571. <description>
  2572. The interval check time of loading DU_CACHE_FILE in each volume.
  2573. When the cluster doing the rolling upgrade operations, it will
  2574. usually lead dfsUsed cache file of each volume expired and redo the
  2575. du operations in datanode and that makes datanode start slowly. Adjust
  2576. this property can make cache file be available for the time as you want.
  2577. </description>
  2578. </property>
  2579. <property>
  2580. <name>dfs.webhdfs.rest-csrf.enabled</name>
  2581. <value>false</value>
  2582. <description>
  2583. If true, then enables WebHDFS protection against cross-site request forgery
  2584. (CSRF). The WebHDFS client also uses this property to determine whether or
  2585. not it needs to send the custom CSRF prevention header in its HTTP requests.
  2586. </description>
  2587. </property>
  2588. <property>
  2589. <name>dfs.webhdfs.rest-csrf.custom-header</name>
  2590. <value>X-XSRF-HEADER</value>
  2591. <description>
  2592. The name of a custom header that HTTP requests must send when protection
  2593. against cross-site request forgery (CSRF) is enabled for WebHDFS by setting
  2594. dfs.webhdfs.rest-csrf.enabled to true. The WebHDFS client also uses this
  2595. property to determine whether or not it needs to send the custom CSRF
  2596. prevention header in its HTTP requests.
  2597. </description>
  2598. </property>
  2599. <property>
  2600. <name>dfs.webhdfs.rest-csrf.methods-to-ignore</name>
  2601. <value>GET,OPTIONS,HEAD,TRACE</value>
  2602. <description>
  2603. A comma-separated list of HTTP methods that do not require HTTP requests to
  2604. include a custom header when protection against cross-site request forgery
  2605. (CSRF) is enabled for WebHDFS by setting dfs.webhdfs.rest-csrf.enabled to
  2606. true. The WebHDFS client also uses this property to determine whether or
  2607. not it needs to send the custom CSRF prevention header in its HTTP requests.
  2608. </description>
  2609. </property>
  2610. <property>
  2611. <name>dfs.webhdfs.rest-csrf.browser-useragents-regex</name>
  2612. <value>^Mozilla.*,^Opera.*</value>
  2613. <description>
  2614. A comma-separated list of regular expressions used to match against an HTTP
  2615. request's User-Agent header when protection against cross-site request
  2616. forgery (CSRF) is enabled for WebHDFS by setting
  2617. dfs.webhdfs.reset-csrf.enabled to true. If the incoming User-Agent matches
  2618. any of these regular expressions, then the request is considered to be sent
  2619. by a browser, and therefore CSRF prevention is enforced. If the request's
  2620. User-Agent does not match any of these regular expressions, then the request
  2621. is considered to be sent by something other than a browser, such as scripted
  2622. automation. In this case, CSRF is not a potential attack vector, so
  2623. the prevention is not enforced. This helps achieve backwards-compatibility
  2624. with existing automation that has not been updated to send the CSRF
  2625. prevention header.
  2626. </description>
  2627. </property>
  2628. <property>
  2629. <name>dfs.balancer.keytab.enabled</name>
  2630. <value>false</value>
  2631. <description>
  2632. Set to true to enable login using a keytab for Kerberized Hadoop.
  2633. </description>
  2634. </property>
  2635. <property>
  2636. <name>dfs.balancer.address</name>
  2637. <value>0.0.0.0:0</value>
  2638. <description>
  2639. The hostname used for a keytab based Kerberos login. Keytab based login
  2640. can be enabled with dfs.balancer.keytab.enabled.
  2641. </description>
  2642. </property>
  2643. <property>
  2644. <name>dfs.balancer.keytab.file</name>
  2645. <value></value>
  2646. <description>
  2647. The keytab file used by the Balancer to login as its
  2648. service principal. The principal name is configured with
  2649. dfs.balancer.kerberos.principal. Keytab based login can be
  2650. enabled with dfs.balancer.keytab.enabled.
  2651. </description>
  2652. </property>
  2653. <property>
  2654. <name>dfs.balancer.kerberos.principal</name>
  2655. <value></value>
  2656. <description>
  2657. The Balancer principal. This is typically set to
  2658. balancer/_HOST@REALM.TLD. The Balancer will substitute _HOST with its
  2659. own fully qualified hostname at startup. The _HOST placeholder
  2660. allows using the same configuration setting on different servers.
  2661. Keytab based login can be enabled with dfs.balancer.keytab.enabled.
  2662. </description>
  2663. </property>
  2664. <property>
  2665. <name>dfs.http.client.retry.policy.enabled</name>
  2666. <value>false</value>
  2667. <description>
  2668. If "true", enable the retry policy of WebHDFS client.
  2669. If "false", retry policy is turned off.
  2670. Enabling the retry policy can be quite useful while using WebHDFS to
  2671. copy large files between clusters that could timeout, or
  2672. copy files between HA clusters that could failover during the copy.
  2673. </description>
  2674. </property>
  2675. <property>
  2676. <name>dfs.http.client.retry.policy.spec</name>
  2677. <value>10000,6,60000,10</value>
  2678. <description>
  2679. Specify a policy of multiple linear random retry for WebHDFS client,
  2680. e.g. given pairs of number of retries and sleep time (n0, t0), (n1, t1),
  2681. ..., the first n0 retries sleep t0 milliseconds on average,
  2682. the following n1 retries sleep t1 milliseconds on average, and so on.
  2683. </description>
  2684. </property>
  2685. <property>
  2686. <name>dfs.http.client.failover.max.attempts</name>
  2687. <value>15</value>
  2688. <description>
  2689. Specify the max number of failover attempts for WebHDFS client
  2690. in case of network exception.
  2691. </description>
  2692. </property>
  2693. <property>
  2694. <name>dfs.http.client.retry.max.attempts</name>
  2695. <value>10</value>
  2696. <description>
  2697. Specify the max number of retry attempts for WebHDFS client,
  2698. if the difference between retried attempts and failovered attempts is
  2699. larger than the max number of retry attempts, there will be no more
  2700. retries.
  2701. </description>
  2702. </property>
  2703. <property>
  2704. <name>dfs.http.client.failover.sleep.base.millis</name>
  2705. <value>500</value>
  2706. <description>
  2707. Specify the base amount of time in milliseconds upon which the
  2708. exponentially increased sleep time between retries or failovers
  2709. is calculated for WebHDFS client.
  2710. </description>
  2711. </property>
  2712. <property>
  2713. <name>dfs.http.client.failover.sleep.max.millis</name>
  2714. <value>15000</value>
  2715. <description>
  2716. Specify the upper bound of sleep time in milliseconds between
  2717. retries or failovers for WebHDFS client.
  2718. </description>
  2719. </property>
  2720. <property>
  2721. <name>dfs.namenode.hosts.provider.classname</name>
  2722. <value>org.apache.hadoop.hdfs.server.blockmanagement.HostFileManager</value>
  2723. <description>
  2724. The class that provides access for host files.
  2725. org.apache.hadoop.hdfs.server.blockmanagement.HostFileManager is used
  2726. by default which loads files specified by dfs.hosts and dfs.hosts.exclude.
  2727. If org.apache.hadoop.hdfs.server.blockmanagement.CombinedHostFileManager is
  2728. used, it will load the JSON file defined in dfs.hosts.
  2729. To change class name, nn restart is required. "dfsadmin -refreshNodes" only
  2730. refreshes the configuration files used by the class.
  2731. </description>
  2732. </property>
  2733. <property>
  2734. <name>datanode.https.port</name>
  2735. <value>50475</value>
  2736. <description>
  2737. HTTPS port for DataNode.
  2738. </description>
  2739. </property>
  2740. <property>
  2741. <name>dfs.balancer.dispatcherThreads</name>
  2742. <value>200</value>
  2743. <description>
  2744. Size of the thread pool for the HDFS balancer block mover.
  2745. dispatchExecutor
  2746. </description>
  2747. </property>
  2748. <property>
  2749. <name>dfs.balancer.movedWinWidth</name>
  2750. <value>5400000</value>
  2751. <description>
  2752. Window of time in ms for the HDFS balancer tracking blocks and its
  2753. locations.
  2754. </description>
  2755. </property>
  2756. <property>
  2757. <name>dfs.balancer.moverThreads</name>
  2758. <value>1000</value>
  2759. <description>
  2760. Thread pool size for executing block moves.
  2761. moverThreadAllocator
  2762. </description>
  2763. </property>
  2764. <property>
  2765. <name>dfs.balancer.max-size-to-move</name>
  2766. <value>10737418240</value>
  2767. <description>
  2768. Maximum number of bytes that can be moved by the balancer in a single
  2769. thread.
  2770. </description>
  2771. </property>
  2772. <property>
  2773. <name>dfs.balancer.getBlocks.min-block-size</name>
  2774. <value>10485760</value>
  2775. <description>
  2776. Minimum block threshold size in bytes to ignore when fetching a source's
  2777. block list.
  2778. </description>
  2779. </property>
  2780. <property>
  2781. <name>dfs.balancer.getBlocks.size</name>
  2782. <value>2147483648</value>
  2783. <description>
  2784. Total size in bytes of Datanode blocks to get when fetching a source's
  2785. block list.
  2786. </description>
  2787. </property>
  2788. <property>
  2789. <name>dfs.block.invalidate.limit</name>
  2790. <value>1000</value>
  2791. <description>
  2792. Limit on the list of invalidated block list kept by the Namenode.
  2793. </description>
  2794. </property>
  2795. <property>
  2796. <name>dfs.block.misreplication.processing.limit</name>
  2797. <value>10000</value>
  2798. <description>
  2799. Maximum number of blocks to process for initializing replication queues.
  2800. </description>
  2801. </property>
  2802. <property>
  2803. <name>dfs.block.placement.ec.classname</name>
  2804. <value>org.apache.hadoop.hdfs.server.blockmanagement.BlockPlacementPolicyRackFaultTolerant</value>
  2805. <description>
  2806. Placement policy class for striped files.
  2807. Defaults to BlockPlacementPolicyRackFaultTolerant.class
  2808. </description>
  2809. </property>
  2810. <property>
  2811. <name>dfs.block.replicator.classname</name>
  2812. <value>org.apache.hadoop.hdfs.server.blockmanagement.BlockPlacementPolicyDefault</value>
  2813. <description>
  2814. Class representing block placement policy for non-striped files.
  2815. </description>
  2816. </property>
  2817. <property>
  2818. <name>dfs.blockreport.incremental.intervalMsec</name>
  2819. <value>0</value>
  2820. <description>
  2821. If set to a positive integer, the value in ms to wait between sending
  2822. incremental block reports from the Datanode to the Namenode.
  2823. </description>
  2824. </property>
  2825. <property>
  2826. <name>dfs.checksum.type</name>
  2827. <value>CRC32C</value>
  2828. <description>
  2829. Checksum type
  2830. </description>
  2831. </property>
  2832. <property>
  2833. <name>dfs.client.block.write.locateFollowingBlock.retries</name>
  2834. <value>5</value>
  2835. <description>
  2836. Number of retries to use when finding the next block during HDFS writes.
  2837. </description>
  2838. </property>
  2839. <property>
  2840. <name>dfs.client.failover.proxy.provider</name>
  2841. <value></value>
  2842. <description>
  2843. The prefix (plus a required nameservice ID) for the class name of the
  2844. configured Failover proxy provider for the host. For more detailed
  2845. information, please consult the "Configuration Details" section of
  2846. the HDFS High Availability documentation.
  2847. </description>
  2848. </property>
  2849. <property>
  2850. <name>dfs.client.key.provider.cache.expiry</name>
  2851. <value>864000000</value>
  2852. <description>
  2853. DFS client security key cache expiration in milliseconds.
  2854. </description>
  2855. </property>
  2856. <property>
  2857. <name>dfs.client.max.block.acquire.failures</name>
  2858. <value>3</value>
  2859. <description>
  2860. Maximum failures allowed when trying to get block information from a specific datanode.
  2861. </description>
  2862. </property>
  2863. <property>
  2864. <name>dfs.client.read.prefetch.size</name>
  2865. <value></value>
  2866. <description>
  2867. The number of bytes for the DFSClient will fetch from the Namenode
  2868. during a read operation. Defaults to 10 * ${dfs.blocksize}.
  2869. </description>
  2870. </property>
  2871. <property>
  2872. <name>dfs.client.read.short.circuit.replica.stale.threshold.ms</name>
  2873. <value>1800000</value>
  2874. <description>
  2875. Threshold in milliseconds for read entries during short-circuit local reads.
  2876. </description>
  2877. </property>
  2878. <property>
  2879. <name>dfs.client.read.shortcircuit.buffer.size</name>
  2880. <value>1048576</value>
  2881. <description>
  2882. Buffer size in bytes for short-circuit local reads.
  2883. </description>
  2884. </property>
  2885. <property>
  2886. <name>dfs.client.replica.accessor.builder.classes</name>
  2887. <value></value>
  2888. <description>
  2889. Comma-separated classes for building ReplicaAccessor. If the classes
  2890. are specified, client will use external BlockReader that uses the
  2891. ReplicaAccessor built by the builder.
  2892. </description>
  2893. </property>
  2894. <property>
  2895. <name>dfs.client.retry.interval-ms.get-last-block-length</name>
  2896. <value>4000</value>
  2897. <description>
  2898. Retry interval in milliseconds to wait between retries in getting
  2899. block lengths from the datanodes.
  2900. </description>
  2901. </property>
  2902. <property>
  2903. <name>dfs.client.retry.max.attempts</name>
  2904. <value>10</value>
  2905. <description>
  2906. Max retry attempts for DFSClient talking to namenodes.
  2907. </description>
  2908. </property>
  2909. <property>
  2910. <name>dfs.client.retry.policy.enabled</name>
  2911. <value>false</value>
  2912. <description>
  2913. If true, turns on DFSClient retry policy.
  2914. </description>
  2915. </property>
  2916. <property>
  2917. <name>dfs.client.retry.policy.spec</name>
  2918. <value>10000,6,60000,10</value>
  2919. <description>
  2920. Set to pairs of timeouts and retries for DFSClient.
  2921. </description>
  2922. </property>
  2923. <property>
  2924. <name>dfs.client.retry.times.get-last-block-length</name>
  2925. <value>3</value>
  2926. <description>
  2927. Number of retries for calls to fetchLocatedBlocksAndGetLastBlockLength().
  2928. </description>
  2929. </property>
  2930. <property>
  2931. <name>dfs.client.retry.window.base</name>
  2932. <value>3000</value>
  2933. <description>
  2934. Base time window in ms for DFSClient retries. For each retry attempt,
  2935. this value is extended linearly (e.g. 3000 ms for first attempt and
  2936. first retry, 6000 ms for second retry, 9000 ms for third retry, etc.).
  2937. </description>
  2938. </property>
  2939. <property>
  2940. <name>dfs.client.socket-timeout</name>
  2941. <value>60000</value>
  2942. <description>
  2943. Default timeout value in milliseconds for all sockets.
  2944. </description>
  2945. </property>
  2946. <property>
  2947. <name>dfs.client.socketcache.capacity</name>
  2948. <value>16</value>
  2949. <description>
  2950. Socket cache capacity (in entries) for short-circuit reads.
  2951. </description>
  2952. </property>
  2953. <property>
  2954. <name>dfs.client.socketcache.expiryMsec</name>
  2955. <value>3000</value>
  2956. <description>
  2957. Socket cache expiration for short-circuit reads in msec.
  2958. </description>
  2959. </property>
  2960. <property>
  2961. <name>dfs.client.test.drop.namenode.response.number</name>
  2962. <value>0</value>
  2963. <description>
  2964. The number of Namenode responses dropped by DFSClient for each RPC call. Used
  2965. for testing the NN retry cache.
  2966. </description>
  2967. </property>
  2968. <property>
  2969. <name>dfs.client.hedged.read.threadpool.size</name>
  2970. <value>0</value>
  2971. <description>
  2972. Support 'hedged' reads in DFSClient. To enable this feature, set the parameter
  2973. to a positive number. The threadpool size is how many threads to dedicate
  2974. to the running of these 'hedged', concurrent reads in your client.
  2975. </description>
  2976. </property>
  2977. <property>
  2978. <name>dfs.client.hedged.read.threshold.millis</name>
  2979. <value>500</value>
  2980. <description>
  2981. Configure 'hedged' reads in DFSClient. This is the number of milliseconds
  2982. to wait before starting up a 'hedged' read.
  2983. </description>
  2984. </property>
  2985. <property>
  2986. <name>dfs.client.use.legacy.blockreader</name>
  2987. <value>false</value>
  2988. <description>
  2989. If true, use the RemoteBlockReader class for local read short circuit. If false, use
  2990. the newer RemoteBlockReader2 class.
  2991. </description>
  2992. </property>
  2993. <property>
  2994. <name>dfs.client.write.byte-array-manager.count-limit</name>
  2995. <value>2048</value>
  2996. <description>
  2997. The maximum number of arrays allowed for each array length.
  2998. </description>
  2999. </property>
  3000. <property>
  3001. <name>dfs.client.write.byte-array-manager.count-reset-time-period-ms</name>
  3002. <value>10000</value>
  3003. <description>
  3004. The time period in milliseconds that the allocation count for each array length is
  3005. reset to zero if there is no increment.
  3006. </description>
  3007. </property>
  3008. <property>
  3009. <name>dfs.client.write.byte-array-manager.count-threshold</name>
  3010. <value>128</value>
  3011. <description>
  3012. The count threshold for each array length so that a manager is created only after the
  3013. allocation count exceeds the threshold. In other words, the particular array length
  3014. is not managed until the allocation count exceeds the threshold.
  3015. </description>
  3016. </property>
  3017. <property>
  3018. <name>dfs.client.write.byte-array-manager.enabled</name>
  3019. <value>false</value>
  3020. <description>
  3021. If true, enables byte array manager used by DFSOutputStream.
  3022. </description>
  3023. </property>
  3024. <property>
  3025. <name>dfs.client.write.max-packets-in-flight</name>
  3026. <value>80</value>
  3027. <description>
  3028. The maximum number of DFSPackets allowed in flight.
  3029. </description>
  3030. </property>
  3031. <property>
  3032. <name>dfs.content-summary.limit</name>
  3033. <value>5000</value>
  3034. <description>
  3035. The maximum content summary counts allowed in one locking period. 0 or a negative number
  3036. means no limit (i.e. no yielding).
  3037. </description>
  3038. </property>
  3039. <property>
  3040. <name>dfs.content-summary.sleep-microsec</name>
  3041. <value>500</value>
  3042. <description>
  3043. The length of time in microseconds to put the thread to sleep, between reaquiring the locks
  3044. in content summary computation.
  3045. </description>
  3046. </property>
  3047. <property>
  3048. <name>dfs.data.transfer.client.tcpnodelay</name>
  3049. <value>true</value>
  3050. <description>
  3051. If true, set TCP_NODELAY to sockets for transferring data from DFS client.
  3052. </description>
  3053. </property>
  3054. <property>
  3055. <name>dfs.datanode.balance.max.concurrent.moves</name>
  3056. <value>50</value>
  3057. <description>
  3058. Maximum number of threads for Datanode balancer pending moves. This
  3059. value is reconfigurable via the "dfsadmin -reconfig" command.
  3060. </description>
  3061. </property>
  3062. <property>
  3063. <name>dfs.datanode.fsdataset.factory</name>
  3064. <value></value>
  3065. <description>
  3066. The class name for the underlying storage that stores replicas for a
  3067. Datanode. Defaults to
  3068. org.apache.hadoop.hdfs.server.datanode.fsdataset.impl.FsDatasetFactory.
  3069. </description>
  3070. </property>
  3071. <property>
  3072. <name>dfs.datanode.fsdataset.volume.choosing.policy</name>
  3073. <value></value>
  3074. <description>
  3075. The class name of the policy for choosing volumes in the list of
  3076. directories. Defaults to
  3077. org.apache.hadoop.hdfs.server.datanode.fsdataset.RoundRobinVolumeChoosingPolicy.
  3078. If you would like to take into account available disk space, set the
  3079. value to
  3080. "org.apache.hadoop.hdfs.server.datanode.fsdataset.AvailableSpaceVolumeChoosingPolicy".
  3081. </description>
  3082. </property>
  3083. <property>
  3084. <name>dfs.datanode.hostname</name>
  3085. <value></value>
  3086. <description>
  3087. Optional. The hostname for the Datanode containing this
  3088. configuration file. Will be different for each machine.
  3089. Defaults to current hostname.
  3090. </description>
  3091. </property>
  3092. <property>
  3093. <name>dfs.datanode.lazywriter.interval.sec</name>
  3094. <value>60</value>
  3095. <description>
  3096. Interval in seconds for Datanodes for lazy persist writes.
  3097. </description>
  3098. </property>
  3099. <property>
  3100. <name>dfs.datanode.network.counts.cache.max.size</name>
  3101. <value>2147483647</value>
  3102. <description>
  3103. The maximum number of entries the datanode per-host network error
  3104. count cache may contain.
  3105. </description>
  3106. </property>
  3107. <property>
  3108. <name>dfs.datanode.oob.timeout-ms</name>
  3109. <value>1500,0,0,0</value>
  3110. <description>
  3111. Timeout value when sending OOB response for each OOB type, which are
  3112. OOB_RESTART, OOB_RESERVED1, OOB_RESERVED2, and OOB_RESERVED3,
  3113. respectively. Currently, only OOB_RESTART is used.
  3114. </description>
  3115. </property>
  3116. <property>
  3117. <name>dfs.datanode.parallel.volumes.load.threads.num</name>
  3118. <value></value>
  3119. <description>
  3120. Maximum number of threads to use for upgrading data directories.
  3121. The default value is the number of storage directories in the
  3122. DataNode.
  3123. </description>
  3124. </property>
  3125. <property>
  3126. <name>dfs.datanode.ram.disk.replica.tracker</name>
  3127. <value></value>
  3128. <description>
  3129. Name of the class implementing the RamDiskReplicaTracker interface.
  3130. Defaults to
  3131. org.apache.hadoop.hdfs.server.datanode.fsdataset.impl.RamDiskReplicaLruTracker.
  3132. </description>
  3133. </property>
  3134. <property>
  3135. <name>dfs.datanode.restart.replica.expiration</name>
  3136. <value>50</value>
  3137. <description>
  3138. During shutdown for restart, the amount of time in seconds budgeted for
  3139. datanode restart.
  3140. </description>
  3141. </property>
  3142. <property>
  3143. <name>dfs.datanode.socket.reuse.keepalive</name>
  3144. <value>4000</value>
  3145. <description>
  3146. The window of time in ms before the DataXceiver closes a socket for a
  3147. single request. If a second request occurs within that window, the
  3148. socket can be reused.
  3149. </description>
  3150. </property>
  3151. <property>
  3152. <name>dfs.datanode.socket.write.timeout</name>
  3153. <value>480000</value>
  3154. <description>
  3155. Timeout in ms for clients socket writes to DataNodes.
  3156. </description>
  3157. </property>
  3158. <property>
  3159. <name>dfs.datanode.sync.behind.writes.in.background</name>
  3160. <value>false</value>
  3161. <description>
  3162. If set to true, then sync_file_range() system call will occur
  3163. asynchronously. This property is only valid when the property
  3164. dfs.datanode.sync.behind.writes is true.
  3165. </description>
  3166. </property>
  3167. <property>
  3168. <name>dfs.datanode.transferTo.allowed</name>
  3169. <value>true</value>
  3170. <description>
  3171. If false, break block tranfers on 32-bit machines greater than
  3172. or equal to 2GB into smaller chunks.
  3173. </description>
  3174. </property>
  3175. <property>
  3176. <name>dfs.ha.fencing.methods</name>
  3177. <value></value>
  3178. <description>
  3179. A list of scripts or Java classes which will be used to fence
  3180. the Active NameNode during a failover. See the HDFS High
  3181. Availability documentation for details on automatic HA
  3182. configuration.
  3183. </description>
  3184. </property>
  3185. <property>
  3186. <name>dfs.ha.standby.checkpoints</name>
  3187. <value>true</value>
  3188. <description>
  3189. If true, a NameNode in Standby state periodically takes a checkpoint
  3190. of the namespace, saves it to its local storage and then upload to
  3191. the remote NameNode.
  3192. </description>
  3193. </property>
  3194. <property>
  3195. <name>dfs.ha.zkfc.port</name>
  3196. <value>8019</value>
  3197. <description>
  3198. The port number that the zookeeper failover controller RPC
  3199. server binds to.
  3200. </description>
  3201. </property>
  3202. <property>
  3203. <name>dfs.journalnode.edits.dir</name>
  3204. <value>/tmp/hadoop/dfs/journalnode/</value>
  3205. <description>
  3206. The directory where the journal edit files are stored.
  3207. </description>
  3208. </property>
  3209. <property>
  3210. <name>dfs.journalnode.kerberos.internal.spnego.principal</name>
  3211. <value></value>
  3212. <description>
  3213. Kerberos SPNEGO principal name used by the journal node.
  3214. </description>
  3215. </property>
  3216. <property>
  3217. <name>dfs.journalnode.kerberos.principal</name>
  3218. <value></value>
  3219. <description>
  3220. Kerberos principal name for the journal node.
  3221. </description>
  3222. </property>
  3223. <property>
  3224. <name>dfs.journalnode.keytab.file</name>
  3225. <value></value>
  3226. <description>
  3227. Kerberos keytab file for the journal node.
  3228. </description>
  3229. </property>
  3230. <property>
  3231. <name>dfs.ls.limit</name>
  3232. <value>1000</value>
  3233. <description>
  3234. Limit the number of files printed by ls. If less or equal to
  3235. zero, at most DFS_LIST_LIMIT_DEFAULT (= 1000) will be printed.
  3236. </description>
  3237. </property>
  3238. <property>
  3239. <name>dfs.mover.movedWinWidth</name>
  3240. <value>5400000</value>
  3241. <description>
  3242. The minimum time interval, in milliseconds, that a block can be
  3243. moved to another location again.
  3244. </description>
  3245. </property>
  3246. <property>
  3247. <name>dfs.mover.moverThreads</name>
  3248. <value>1000</value>
  3249. <description>
  3250. Configure the balancer's mover thread pool size.
  3251. </description>
  3252. </property>
  3253. <property>
  3254. <name>dfs.mover.retry.max.attempts</name>
  3255. <value>10</value>
  3256. <description>
  3257. The maximum number of retries before the mover consider the
  3258. move failed.
  3259. </description>
  3260. </property>
  3261. <property>
  3262. <name>dfs.namenode.audit.log.async</name>
  3263. <value>false</value>
  3264. <description>
  3265. If true, enables asynchronous audit log.
  3266. </description>
  3267. </property>
  3268. <property>
  3269. <name>dfs.namenode.audit.log.token.tracking.id</name>
  3270. <value>false</value>
  3271. <description>
  3272. If true, adds a tracking ID for all audit log events.
  3273. </description>
  3274. </property>
  3275. <property>
  3276. <name>dfs.namenode.available-space-block-placement-policy.balanced-space-preference-fraction</name>
  3277. <value>0.6</value>
  3278. <description>
  3279. Only used when the dfs.block.replicator.classname is set to
  3280. org.apache.hadoop.hdfs.server.blockmanagement.AvailableSpaceBlockPlacementPolicy.
  3281. Special value between 0 and 1, noninclusive. Increases chance of
  3282. placing blocks on Datanodes with less disk space used.
  3283. </description>
  3284. </property>
  3285. <property>
  3286. <name>dfs.namenode.backup.dnrpc-address</name>
  3287. <value></value>
  3288. <description>
  3289. Service RPC address for the backup Namenode.
  3290. </description>
  3291. </property>
  3292. <property>
  3293. <name>dfs.namenode.delegation.token.always-use</name>
  3294. <value>false</value>
  3295. <description>
  3296. For testing. Setting to true always allows the DT secret manager
  3297. to be used, even if security is disabled.
  3298. </description>
  3299. </property>
  3300. <property>
  3301. <name>dfs.namenode.edits.asynclogging</name>
  3302. <value>false</value>
  3303. <description>
  3304. If set to true, enables asynchronous edit logs in the Namenode. If set
  3305. to false, the Namenode uses the traditional synchronous edit logs.
  3306. </description>
  3307. </property>
  3308. <property>
  3309. <name>dfs.namenode.edits.dir.minimum</name>
  3310. <value>1</value>
  3311. <description>
  3312. dfs.namenode.edits.dir includes both required directories
  3313. (specified by dfs.namenode.edits.dir.required) and optional directories.
  3314. The number of usable optional directories must be greater than or equal
  3315. to this property. If the number of usable optional directories falls
  3316. below dfs.namenode.edits.dir.minimum, HDFS will issue an error.
  3317. This property defaults to 1.
  3318. </description>
  3319. </property>
  3320. <property>
  3321. <name>dfs.namenode.edits.journal-plugin</name>
  3322. <value></value>
  3323. <description>
  3324. When FSEditLog is creating JournalManagers from dfs.namenode.edits.dir,
  3325. and it encounters a URI with a schema different to "file" it loads the
  3326. name of the implementing class from
  3327. "dfs.namenode.edits.journal-plugin.[schema]". This class must implement
  3328. JournalManager and have a constructor which takes (Configuration, URI).
  3329. </description>
  3330. </property>
  3331. <property>
  3332. <name>dfs.namenode.file.close.num-committed-allowed</name>
  3333. <value>0</value>
  3334. <description>
  3335. Normally a file can only be closed with all its blocks are committed.
  3336. When this value is set to a positive integer N, a file can be closed
  3337. when N blocks are committed and the rest complete.
  3338. </description>
  3339. </property>
  3340. <property>
  3341. <name>dfs.namenode.inode.attributes.provider.class</name>
  3342. <value></value>
  3343. <description>
  3344. Name of class to use for delegating HDFS authorization.
  3345. </description>
  3346. </property>
  3347. <property>
  3348. <name>dfs.namenode.max-num-blocks-to-log</name>
  3349. <value>1000</value>
  3350. <description>
  3351. Puts a limit on the number of blocks printed to the log by the Namenode
  3352. after a block report.
  3353. </description>
  3354. </property>
  3355. <property>
  3356. <name>dfs.namenode.max.op.size</name>
  3357. <value>52428800</value>
  3358. <description>
  3359. Maximum opcode size in bytes.
  3360. </description>
  3361. </property>
  3362. <property>
  3363. <name>dfs.namenode.missing.checkpoint.periods.before.shutdown</name>
  3364. <value>3</value>
  3365. <description>
  3366. The number of checkpoint period windows (as defined by the property
  3367. dfs.namenode.checkpoint.period) allowed by the Namenode to perform
  3368. saving the namespace before shutdown.
  3369. </description>
  3370. </property>
  3371. <property>
  3372. <name>dfs.namenode.name.cache.threshold</name>
  3373. <value>10</value>
  3374. <description>
  3375. Frequently accessed files that are accessed more times than this
  3376. threshold are cached in the FSDirectory nameCache.
  3377. </description>
  3378. </property>
  3379. <property>
  3380. <name>dfs.namenode.replication.max-streams</name>
  3381. <value>2</value>
  3382. <description>
  3383. Hard limit for the number of highest-priority replication streams.
  3384. </description>
  3385. </property>
  3386. <property>
  3387. <name>dfs.namenode.replication.max-streams-hard-limit</name>
  3388. <value>4</value>
  3389. <description>
  3390. Hard limit for all replication streams.
  3391. </description>
  3392. </property>
  3393. <property>
  3394. <name>dfs.namenode.reconstruction.pending.timeout-sec</name>
  3395. <value>-1</value>
  3396. <description>
  3397. Timeout in seconds for block reconstruction. If this value is 0 or less,
  3398. then it will default to 5 minutes.
  3399. </description>
  3400. </property>
  3401. <property>
  3402. <name>dfs.namenode.stale.datanode.minimum.interval</name>
  3403. <value>3</value>
  3404. <description>
  3405. Minimum number of missed heartbeats intervals for a datanode to
  3406. be marked stale by the Namenode. The actual interval is calculated as
  3407. (dfs.namenode.stale.datanode.minimum.interval * dfs.heartbeat.interval)
  3408. in seconds. If this value is greater than the property
  3409. dfs.namenode.stale.datanode.interval, then the calculated value above
  3410. is used.
  3411. </description>
  3412. </property>
  3413. <property>
  3414. <name>dfs.namenode.storageinfo.defragment.timeout.ms</name>
  3415. <value>4</value>
  3416. <description>
  3417. Timeout value in ms for the StorageInfo compaction run.
  3418. </description>
  3419. </property>
  3420. <property>
  3421. <name>dfs.namenode.storageinfo.defragment.interval.ms</name>
  3422. <value>600000</value>
  3423. <description>
  3424. The thread for checking the StorageInfo for defragmentation will
  3425. run periodically. The time between runs is determined by this
  3426. property.
  3427. </description>
  3428. </property>
  3429. <property>
  3430. <name>dfs.namenode.storageinfo.defragment.ratio</name>
  3431. <value>0.75</value>
  3432. <description>
  3433. The defragmentation threshold for the StorageInfo.
  3434. </description>
  3435. </property>
  3436. <property>
  3437. <name>dfs.pipeline.ecn</name>
  3438. <value>false</value>
  3439. <description>
  3440. If true, allows ECN (explicit congestion notification) from the
  3441. Datanode.
  3442. </description>
  3443. </property>
  3444. <property>
  3445. <name>dfs.qjournal.accept-recovery.timeout.ms</name>
  3446. <value>120000</value>
  3447. <description>
  3448. Quorum timeout in milliseconds during accept phase of
  3449. recovery/synchronization for a specific segment.
  3450. </description>
  3451. </property>
  3452. <property>
  3453. <name>dfs.qjournal.finalize-segment.timeout.ms</name>
  3454. <value>120000</value>
  3455. <description>
  3456. Quorum timeout in milliseconds during finalizing for a specific
  3457. segment.
  3458. </description>
  3459. </property>
  3460. <property>
  3461. <name>dfs.qjournal.get-journal-state.timeout.ms</name>
  3462. <value>120000</value>
  3463. <description>
  3464. Timeout in milliseconds when calling getJournalState().
  3465. JournalNodes.
  3466. </description>
  3467. </property>
  3468. <property>
  3469. <name>dfs.qjournal.new-epoch.timeout.ms</name>
  3470. <value>120000</value>
  3471. <description>
  3472. Timeout in milliseconds when getting an epoch number for write
  3473. access to JournalNodes.
  3474. </description>
  3475. </property>
  3476. <property>
  3477. <name>dfs.qjournal.prepare-recovery.timeout.ms</name>
  3478. <value>120000</value>
  3479. <description>
  3480. Quorum timeout in milliseconds during preparation phase of
  3481. recovery/synchronization for a specific segment.
  3482. </description>
  3483. </property>
  3484. <property>
  3485. <name>dfs.qjournal.queued-edits.limit.mb</name>
  3486. <value>10</value>
  3487. <description>
  3488. Queue size in MB for quorum journal edits.
  3489. </description>
  3490. </property>
  3491. <property>
  3492. <name>dfs.qjournal.select-input-streams.timeout.ms</name>
  3493. <value>20000</value>
  3494. <description>
  3495. Timeout in milliseconds for accepting streams from JournalManagers.
  3496. </description>
  3497. </property>
  3498. <property>
  3499. <name>dfs.qjournal.start-segment.timeout.ms</name>
  3500. <value>20000</value>
  3501. <description>
  3502. Quorum timeout in milliseconds for starting a log segment.
  3503. </description>
  3504. </property>
  3505. <property>
  3506. <name>dfs.qjournal.write-txns.timeout.ms</name>
  3507. <value>20000</value>
  3508. <description>
  3509. Write timeout in milliseconds when writing to a quorum of remote
  3510. journals.
  3511. </description>
  3512. </property>
  3513. <property>
  3514. <name>dfs.quota.by.storage.type.enabled</name>
  3515. <value>true</value>
  3516. <description>
  3517. If true, enables quotas based on storage type.
  3518. </description>
  3519. </property>
  3520. <property>
  3521. <name>dfs.secondary.namenode.kerberos.principal</name>
  3522. <value></value>
  3523. <description>
  3524. Kerberos principal name for the Secondary NameNode.
  3525. </description>
  3526. </property>
  3527. <property>
  3528. <name>dfs.secondary.namenode.keytab.file</name>
  3529. <value></value>
  3530. <description>
  3531. Kerberos keytab file for the Secondary NameNode.
  3532. </description>
  3533. </property>
  3534. <property>
  3535. <name>dfs.web.authentication.filter</name>
  3536. <value>org.apache.hadoop.hdfs.web.AuthFilter</value>
  3537. <description>
  3538. Authentication filter class used for WebHDFS.
  3539. </description>
  3540. </property>
  3541. <property>
  3542. <name>dfs.web.authentication.simple.anonymous.allowed</name>
  3543. <value></value>
  3544. <description>
  3545. If true, allow anonymous user to access WebHDFS. Set to
  3546. false to disable anonymous authentication.
  3547. </description>
  3548. </property>
  3549. <property>
  3550. <name>dfs.web.ugi</name>
  3551. <value></value>
  3552. <description>
  3553. dfs.web.ugi is deprecated. Use hadoop.http.staticuser.user instead.
  3554. </description>
  3555. </property>
  3556. <property>
  3557. <name>dfs.webhdfs.netty.high.watermark</name>
  3558. <value>65535</value>
  3559. <description>
  3560. High watermark configuration to Netty for Datanode WebHdfs.
  3561. </description>
  3562. </property>
  3563. <property>
  3564. <name>dfs.webhdfs.netty.low.watermark</name>
  3565. <value>32768</value>
  3566. <description>
  3567. Low watermark configuration to Netty for Datanode WebHdfs.
  3568. </description>
  3569. </property>
  3570. <property>
  3571. <name>dfs.webhdfs.oauth2.access.token.provider</name>
  3572. <value></value>
  3573. <description>
  3574. Access token provider class for WebHDFS using OAuth2.
  3575. Defaults to org.apache.hadoop.hdfs.web.oauth2.ConfCredentialBasedAccessTokenProvider.
  3576. </description>
  3577. </property>
  3578. <property>
  3579. <name>dfs.webhdfs.oauth2.client.id</name>
  3580. <value></value>
  3581. <description>
  3582. Client id used to obtain access token with either credential or
  3583. refresh token.
  3584. </description>
  3585. </property>
  3586. <property>
  3587. <name>dfs.webhdfs.oauth2.enabled</name>
  3588. <value>false</value>
  3589. <description>
  3590. If true, enables OAuth2 in WebHDFS
  3591. </description>
  3592. </property>
  3593. <property>
  3594. <name>dfs.webhdfs.oauth2.refresh.url</name>
  3595. <value></value>
  3596. <description>
  3597. URL against which to post for obtaining bearer token with
  3598. either credential or refresh token.
  3599. </description>
  3600. </property>
  3601. <property>
  3602. <name>ssl.server.keystore.keypassword</name>
  3603. <value></value>
  3604. <description>
  3605. Keystore key password for HTTPS SSL configuration
  3606. </description>
  3607. </property>
  3608. <property>
  3609. <name>ssl.server.keystore.location</name>
  3610. <value></value>
  3611. <description>
  3612. Keystore location for HTTPS SSL configuration
  3613. </description>
  3614. </property>
  3615. <property>
  3616. <name>ssl.server.keystore.password</name>
  3617. <value></value>
  3618. <description>
  3619. Keystore password for HTTPS SSL configuration
  3620. </description>
  3621. </property>
  3622. <property>
  3623. <name>ssl.server.truststore.location</name>
  3624. <value></value>
  3625. <description>
  3626. Truststore location for HTTPS SSL configuration
  3627. </description>
  3628. </property>
  3629. <property>
  3630. <name>ssl.server.truststore.password</name>
  3631. <value></value>
  3632. <description>
  3633. Truststore password for HTTPS SSL configuration
  3634. </description>
  3635. </property>
  3636. <!--Disk baalncer properties-->
  3637. <property>
  3638. <name>dfs.disk.balancer.max.disk.throughputInMBperSec</name>
  3639. <value>10</value>
  3640. <description>Maximum disk bandwidth used by diskbalancer
  3641. during read from a source disk. The unit is MB/sec.
  3642. </description>
  3643. </property>
  3644. <property>
  3645. <name>dfs.disk.balancer.block.tolerance.percent</name>
  3646. <value>10</value>
  3647. <description>
  3648. When a disk balancer copy operation is proceeding, the datanode is still
  3649. active. So it might not be possible to move the exactly specified
  3650. amount of data. So tolerance allows us to define a percentage which
  3651. defines a good enough move.
  3652. </description>
  3653. </property>
  3654. <property>
  3655. <name>dfs.disk.balancer.max.disk.errors</name>
  3656. <value>5</value>
  3657. <description>
  3658. During a block move from a source to destination disk, we might
  3659. encounter various errors. This defines how many errors we can tolerate
  3660. before we declare a move between 2 disks (or a step) has failed.
  3661. </description>
  3662. </property>
  3663. <property>
  3664. <name>dfs.disk.balancer.enabled</name>
  3665. <value>false</value>
  3666. <description>
  3667. This enables the diskbalancer feature on a cluster. By default, disk
  3668. balancer is disabled.
  3669. </description>
  3670. </property>
  3671. </configuration>