core-default.xml 88 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711
  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 core-site.xml and change them -->
  19. <!-- there. If core-site.xml does not already exist, create it. -->
  20. <configuration>
  21. <!--- global properties -->
  22. <property>
  23. <name>hadoop.common.configuration.version</name>
  24. <value>0.23.0</value>
  25. <description>version of this configuration file</description>
  26. </property>
  27. <property>
  28. <name>hadoop.tmp.dir</name>
  29. <value>/tmp/hadoop-${user.name}</value>
  30. <description>A base for other temporary directories.</description>
  31. </property>
  32. <property>
  33. <name>io.native.lib.available</name>
  34. <value>true</value>
  35. <description>Controls whether to use native libraries for bz2 and zlib
  36. compression codecs or not. The property does not control any other native
  37. libraries.
  38. </description>
  39. </property>
  40. <property>
  41. <name>hadoop.http.filter.initializers</name>
  42. <value>org.apache.hadoop.http.lib.StaticUserWebFilter</value>
  43. <description>A comma separated list of class names. Each class in the list
  44. must extend org.apache.hadoop.http.FilterInitializer. The corresponding
  45. Filter will be initialized. Then, the Filter will be applied to all user
  46. facing jsp and servlet web pages. The ordering of the list defines the
  47. ordering of the filters.</description>
  48. </property>
  49. <!--- security properties -->
  50. <property>
  51. <name>hadoop.security.authorization</name>
  52. <value>false</value>
  53. <description>Is service-level authorization enabled?</description>
  54. </property>
  55. <property>
  56. <name>hadoop.security.instrumentation.requires.admin</name>
  57. <value>false</value>
  58. <description>
  59. Indicates if administrator ACLs are required to access
  60. instrumentation servlets (JMX, METRICS, CONF, STACKS).
  61. </description>
  62. </property>
  63. <property>
  64. <name>hadoop.security.authentication</name>
  65. <value>simple</value>
  66. <description>Possible values are simple (no authentication), and kerberos
  67. </description>
  68. </property>
  69. <property>
  70. <name>hadoop.security.group.mapping</name>
  71. <value>org.apache.hadoop.security.JniBasedUnixGroupsMappingWithFallback</value>
  72. <description>
  73. Class for user to group mapping (get groups for a given user) for ACL.
  74. The default implementation,
  75. org.apache.hadoop.security.JniBasedUnixGroupsMappingWithFallback,
  76. will determine if the Java Native Interface (JNI) is available. If JNI is
  77. available the implementation will use the API within hadoop to resolve a
  78. list of groups for a user. If JNI is not available then the shell
  79. implementation, ShellBasedUnixGroupsMapping, is used. This implementation
  80. shells out to the Linux/Unix environment with the
  81. <code>bash -c groups</code> command to resolve a list of groups for a user.
  82. </description>
  83. </property>
  84. <property>
  85. <name>hadoop.security.dns.interface</name>
  86. <description>
  87. The name of the Network Interface from which the service should determine
  88. its host name for Kerberos login. e.g. eth2. In a multi-homed environment,
  89. the setting can be used to affect the _HOST substitution in the service
  90. Kerberos principal. If this configuration value is not set, the service
  91. will use its default hostname as returned by
  92. InetAddress.getLocalHost().getCanonicalHostName().
  93. Most clusters will not require this setting.
  94. </description>
  95. </property>
  96. <property>
  97. <name>hadoop.security.dns.nameserver</name>
  98. <description>
  99. The host name or IP address of the name server (DNS) which a service Node
  100. should use to determine its own host name for Kerberos Login. Requires
  101. hadoop.security.dns.interface.
  102. Most clusters will not require this setting.
  103. </description>
  104. </property>
  105. <property>
  106. <name>hadoop.security.dns.log-slow-lookups.enabled</name>
  107. <value>false</value>
  108. <description>
  109. Time name lookups (via SecurityUtil) and log them if they exceed the
  110. configured threshold.
  111. </description>
  112. </property>
  113. <property>
  114. <name>hadoop.security.dns.log-slow-lookups.threshold.ms</name>
  115. <value>1000</value>
  116. <description>
  117. If slow lookup logging is enabled, this threshold is used to decide if a
  118. lookup is considered slow enough to be logged.
  119. </description>
  120. </property>
  121. <property>
  122. <name>hadoop.security.groups.cache.secs</name>
  123. <value>300</value>
  124. <description>
  125. This is the config controlling the validity of the entries in the cache
  126. containing the user->group mapping. When this duration has expired,
  127. then the implementation of the group mapping provider is invoked to get
  128. the groups of the user and then cached back.
  129. </description>
  130. </property>
  131. <property>
  132. <name>hadoop.security.groups.negative-cache.secs</name>
  133. <value>30</value>
  134. <description>
  135. Expiration time for entries in the the negative user-to-group mapping
  136. caching, in seconds. This is useful when invalid users are retrying
  137. frequently. It is suggested to set a small value for this expiration, since
  138. a transient error in group lookup could temporarily lock out a legitimate
  139. user.
  140. Set this to zero or negative value to disable negative user-to-group caching.
  141. </description>
  142. </property>
  143. <property>
  144. <name>hadoop.security.groups.cache.warn.after.ms</name>
  145. <value>5000</value>
  146. <description>
  147. If looking up a single user to group takes longer than this amount of
  148. milliseconds, we will log a warning message.
  149. </description>
  150. </property>
  151. <property>
  152. <name>hadoop.security.groups.cache.background.reload</name>
  153. <value>false</value>
  154. <description>
  155. Whether to reload expired user->group mappings using a background thread
  156. pool. If set to true, a pool of
  157. hadoop.security.groups.cache.background.reload.threads is created to
  158. update the cache in the background.
  159. </description>
  160. </property>
  161. <property>
  162. <name>hadoop.security.groups.cache.background.reload.threads</name>
  163. <value>3</value>
  164. <description>
  165. Only relevant if hadoop.security.groups.cache.background.reload is true.
  166. Controls the number of concurrent background user->group cache entry
  167. refreshes. Pending refresh requests beyond this value are queued and
  168. processed when a thread is free.
  169. </description>
  170. </property>
  171. <property>
  172. <name>hadoop.security.groups.shell.command.timeout</name>
  173. <value>0s</value>
  174. <description>
  175. Used by the ShellBasedUnixGroupsMapping class, this property controls how
  176. long to wait for the underlying shell command that is run to fetch groups.
  177. Expressed in seconds (e.g. 10s, 1m, etc.), if the running command takes
  178. longer than the value configured, the command is aborted and the groups
  179. resolver would return a result of no groups found. A value of 0s (default)
  180. would mean an infinite wait (i.e. wait until the command exits on its own).
  181. </description>
  182. </property>
  183. <property>
  184. <name>hadoop.security.group.mapping.ldap.connection.timeout.ms</name>
  185. <value>60000</value>
  186. <description>
  187. This property is the connection timeout (in milliseconds) for LDAP
  188. operations. If the LDAP provider doesn't establish a connection within the
  189. specified period, it will abort the connect attempt. Non-positive value
  190. means no LDAP connection timeout is specified in which case it waits for the
  191. connection to establish until the underlying network times out.
  192. </description>
  193. </property>
  194. <property>
  195. <name>hadoop.security.group.mapping.ldap.read.timeout.ms</name>
  196. <value>60000</value>
  197. <description>
  198. This property is the read timeout (in milliseconds) for LDAP
  199. operations. If the LDAP provider doesn't get a LDAP response within the
  200. specified period, it will abort the read attempt. Non-positive value
  201. means no read timeout is specified in which case it waits for the response
  202. infinitely.
  203. </description>
  204. </property>
  205. <property>
  206. <name>hadoop.security.group.mapping.ldap.url</name>
  207. <value></value>
  208. <description>
  209. The URL of the LDAP server to use for resolving user groups when using
  210. the LdapGroupsMapping user to group mapping.
  211. </description>
  212. </property>
  213. <property>
  214. <name>hadoop.security.group.mapping.ldap.ssl</name>
  215. <value>false</value>
  216. <description>
  217. Whether or not to use SSL when connecting to the LDAP server.
  218. </description>
  219. </property>
  220. <property>
  221. <name>hadoop.security.group.mapping.ldap.ssl.keystore</name>
  222. <value></value>
  223. <description>
  224. File path to the SSL keystore that contains the SSL certificate required
  225. by the LDAP server.
  226. </description>
  227. </property>
  228. <property>
  229. <name>hadoop.security.group.mapping.ldap.ssl.keystore.password.file</name>
  230. <value></value>
  231. <description>
  232. The path to a file containing the password of the LDAP SSL keystore. If
  233. the password is not configured in credential providers and the property
  234. hadoop.security.group.mapping.ldap.ssl.keystore.password is not set,
  235. LDAPGroupsMapping reads password from the file.
  236. IMPORTANT: This file should be readable only by the Unix user running
  237. the daemons and should be a local file.
  238. </description>
  239. </property>
  240. <property>
  241. <name>hadoop.security.group.mapping.ldap.ssl.keystore.password</name>
  242. <value></value>
  243. <description>
  244. The password of the LDAP SSL keystore. this property name is used as an
  245. alias to get the password from credential providers. If the password can
  246. not be found and hadoop.security.credential.clear-text-fallback is true
  247. LDAPGroupsMapping uses the value of this property for password.
  248. </description>
  249. </property>
  250. <property>
  251. <name>hadoop.security.credential.clear-text-fallback</name>
  252. <value>true</value>
  253. <description>
  254. true or false to indicate whether or not to fall back to storing credential
  255. password as clear text. The default value is true. This property only works
  256. when the password can't not be found from credential providers.
  257. </description>
  258. </property>
  259. <property>
  260. <name>hadoop.security.credential.provider.path</name>
  261. <value></value>
  262. <description>
  263. A comma-separated list of URLs that indicates the type and
  264. location of a list of providers that should be consulted.
  265. </description>
  266. </property>
  267. <property>
  268. <name>hadoop.security.credstore.java-keystore-provider.password-file</name>
  269. <value></value>
  270. <description>
  271. The path to a file containing the custom password for all keystores
  272. that may be configured in the provider path.
  273. </description>
  274. </property>
  275. <property>
  276. <name>hadoop.security.group.mapping.ldap.bind.user</name>
  277. <value></value>
  278. <description>
  279. The distinguished name of the user to bind as when connecting to the LDAP
  280. server. This may be left blank if the LDAP server supports anonymous binds.
  281. </description>
  282. </property>
  283. <property>
  284. <name>hadoop.security.group.mapping.ldap.bind.password.file</name>
  285. <value></value>
  286. <description>
  287. The path to a file containing the password of the bind user. If
  288. the password is not configured in credential providers and the property
  289. hadoop.security.group.mapping.ldap.bind.password is not set,
  290. LDAPGroupsMapping reads password from the file.
  291. IMPORTANT: This file should be readable only by the Unix user running
  292. the daemons and should be a local file.
  293. </description>
  294. </property>
  295. <property>
  296. <name>hadoop.security.group.mapping.ldap.bind.password</name>
  297. <value></value>
  298. <description>
  299. The password of the bind user. this property name is used as an
  300. alias to get the password from credential providers. If the password can
  301. not be found and hadoop.security.credential.clear-text-fallback is true
  302. LDAPGroupsMapping uses the value of this property for password.
  303. </description>
  304. </property>
  305. <property>
  306. <name>hadoop.security.group.mapping.ldap.base</name>
  307. <value></value>
  308. <description>
  309. The search base for the LDAP connection. This is a distinguished name,
  310. and will typically be the root of the LDAP directory.
  311. </description>
  312. </property>
  313. <property>
  314. <name>hadoop.security.group.mapping.ldap.userbase</name>
  315. <value></value>
  316. <description>
  317. The search base for the LDAP connection for user search query. This is a
  318. distinguished name, and its the root of the LDAP directory for users.
  319. If not set, hadoop.security.group.mapping.ldap.base is used.
  320. </description>
  321. </property>
  322. <property>
  323. <name>hadoop.security.group.mapping.ldap.groupbase</name>
  324. <value></value>
  325. <description>
  326. The search base for the LDAP connection for group search . This is a
  327. distinguished name, and its the root of the LDAP directory for groups.
  328. If not set, hadoop.security.group.mapping.ldap.base is used.
  329. </description>
  330. </property>
  331. <property>
  332. <name>hadoop.security.group.mapping.ldap.search.filter.user</name>
  333. <value>(&amp;(objectClass=user)(sAMAccountName={0}))</value>
  334. <description>
  335. An additional filter to use when searching for LDAP users. The default will
  336. usually be appropriate for Active Directory installations. If connecting to
  337. an LDAP server with a non-AD schema, this should be replaced with
  338. (&amp;(objectClass=inetOrgPerson)(uid={0}). {0} is a special string used to
  339. denote where the username fits into the filter.
  340. If the LDAP server supports posixGroups, Hadoop can enable the feature by
  341. setting the value of this property to "posixAccount" and the value of
  342. the hadoop.security.group.mapping.ldap.search.filter.group property to
  343. "posixGroup".
  344. </description>
  345. </property>
  346. <property>
  347. <name>hadoop.security.group.mapping.ldap.search.filter.group</name>
  348. <value>(objectClass=group)</value>
  349. <description>
  350. An additional filter to use when searching for LDAP groups. This should be
  351. changed when resolving groups against a non-Active Directory installation.
  352. See the description of hadoop.security.group.mapping.ldap.search.filter.user
  353. to enable posixGroups support.
  354. </description>
  355. </property>
  356. <property>
  357. <name>hadoop.security.group.mapping.ldap.search.attr.memberof</name>
  358. <value></value>
  359. <description>
  360. The attribute of the user object that identifies its group objects. By
  361. default, Hadoop makes two LDAP queries per user if this value is empty. If
  362. set, Hadoop will attempt to resolve group names from this attribute,
  363. instead of making the second LDAP query to get group objects. The value
  364. should be 'memberOf' for an MS AD installation.
  365. </description>
  366. </property>
  367. <property>
  368. <name>hadoop.security.group.mapping.ldap.search.attr.member</name>
  369. <value>member</value>
  370. <description>
  371. The attribute of the group object that identifies the users that are
  372. members of the group. The default will usually be appropriate for
  373. any LDAP installation.
  374. </description>
  375. </property>
  376. <property>
  377. <name>hadoop.security.group.mapping.ldap.search.attr.group.name</name>
  378. <value>cn</value>
  379. <description>
  380. The attribute of the group object that identifies the group name. The
  381. default will usually be appropriate for all LDAP systems.
  382. </description>
  383. </property>
  384. <property>
  385. <name>hadoop.security.group.mapping.ldap.search.group.hierarchy.levels</name>
  386. <value>0</value>
  387. <description>
  388. The number of levels to go up the group hierarchy when determining
  389. which groups a user is part of. 0 Will represent checking just the
  390. group that the user belongs to. Each additional level will raise the
  391. time it takes to execute a query by at most
  392. hadoop.security.group.mapping.ldap.directory.search.timeout.
  393. The default will usually be appropriate for all LDAP systems.
  394. </description>
  395. </property>
  396. <property>
  397. <name>hadoop.security.group.mapping.ldap.posix.attr.uid.name</name>
  398. <value>uidNumber</value>
  399. <description>
  400. The attribute of posixAccount to use when groups for membership.
  401. Mostly useful for schemas wherein groups have memberUids that use an
  402. attribute other than uidNumber.
  403. </description>
  404. </property>
  405. <property>
  406. <name>hadoop.security.group.mapping.ldap.posix.attr.gid.name</name>
  407. <value>gidNumber</value>
  408. <description>
  409. The attribute of posixAccount indicating the group id.
  410. </description>
  411. </property>
  412. <property>
  413. <name>hadoop.security.group.mapping.ldap.directory.search.timeout</name>
  414. <value>10000</value>
  415. <description>
  416. The attribute applied to the LDAP SearchControl properties to set a
  417. maximum time limit when searching and awaiting a result.
  418. Set to 0 if infinite wait period is desired.
  419. Default is 10 seconds. Units in milliseconds.
  420. </description>
  421. </property>
  422. <property>
  423. <name>hadoop.security.group.mapping.providers</name>
  424. <value></value>
  425. <description>
  426. Comma separated of names of other providers to provide user to group
  427. mapping. Used by CompositeGroupsMapping.
  428. </description>
  429. </property>
  430. <property>
  431. <name>hadoop.security.group.mapping.providers.combined</name>
  432. <value>true</value>
  433. <description>
  434. true or false to indicate whether groups from the providers are combined or
  435. not. The default value is true. If true, then all the providers will be
  436. tried to get groups and all the groups are combined to return as the final
  437. results. Otherwise, providers are tried one by one in the configured list
  438. order, and if any groups are retrieved from any provider, then the groups
  439. will be returned without trying the left ones.
  440. </description>
  441. </property>
  442. <property>
  443. <name>hadoop.security.service.user.name.key</name>
  444. <value></value>
  445. <description>
  446. For those cases where the same RPC protocol is implemented by multiple
  447. servers, this configuration is required for specifying the principal
  448. name to use for the service when the client wishes to make an RPC call.
  449. </description>
  450. </property>
  451. <property>
  452. <name>fs.azure.user.agent.prefix</name>
  453. <value>unknown</value>
  454. <description>
  455. WASB passes User-Agent header to the Azure back-end. The default value
  456. contains WASB version, Java Runtime version, Azure Client library version,
  457. and the value of the configuration option fs.azure.user.agent.prefix.
  458. </description>
  459. </property>
  460. <property>
  461. <name>hadoop.security.uid.cache.secs</name>
  462. <value>14400</value>
  463. <description>
  464. This is the config controlling the validity of the entries in the cache
  465. containing the userId to userName and groupId to groupName used by
  466. NativeIO getFstat().
  467. </description>
  468. </property>
  469. <property>
  470. <name>hadoop.rpc.protection</name>
  471. <value>authentication</value>
  472. <description>A comma-separated list of protection values for secured sasl
  473. connections. Possible values are authentication, integrity and privacy.
  474. authentication means authentication only and no integrity or privacy;
  475. integrity implies authentication and integrity are enabled; and privacy
  476. implies all of authentication, integrity and privacy are enabled.
  477. hadoop.security.saslproperties.resolver.class can be used to override
  478. the hadoop.rpc.protection for a connection at the server side.
  479. </description>
  480. </property>
  481. <property>
  482. <name>hadoop.security.saslproperties.resolver.class</name>
  483. <value></value>
  484. <description>SaslPropertiesResolver used to resolve the QOP used for a
  485. connection. If not specified, the full set of values specified in
  486. hadoop.rpc.protection is used while determining the QOP used for the
  487. connection. If a class is specified, then the QOP values returned by
  488. the class will be used while determining the QOP used for the connection.
  489. </description>
  490. </property>
  491. <property>
  492. <name>hadoop.security.sensitive-config-keys</name>
  493. <value>
  494. secret$
  495. password$
  496. ssl.keystore.pass$
  497. fs.s3.*[Ss]ecret.?[Kk]ey
  498. fs.s3a.*.server-side-encryption.key
  499. fs.azure.account.key.*
  500. credential$
  501. oauth.*token$
  502. hadoop.security.sensitive-config-keys
  503. </value>
  504. <description>A comma-separated or multi-line list of regular expressions to
  505. match configuration keys that should be redacted where appropriate, for
  506. example, when logging modified properties during a reconfiguration,
  507. private credentials should not be logged.
  508. </description>
  509. </property>
  510. <property>
  511. <name>hadoop.workaround.non.threadsafe.getpwuid</name>
  512. <value>true</value>
  513. <description>Some operating systems or authentication modules are known to
  514. have broken implementations of getpwuid_r and getpwgid_r, such that these
  515. calls are not thread-safe. Symptoms of this problem include JVM crashes
  516. with a stack trace inside these functions. If your system exhibits this
  517. issue, enable this configuration parameter to include a lock around the
  518. calls as a workaround.
  519. An incomplete list of some systems known to have this issue is available
  520. at http://wiki.apache.org/hadoop/KnownBrokenPwuidImplementations
  521. </description>
  522. </property>
  523. <property>
  524. <name>hadoop.kerberos.kinit.command</name>
  525. <value>kinit</value>
  526. <description>Used to periodically renew Kerberos credentials when provided
  527. to Hadoop. The default setting assumes that kinit is in the PATH of users
  528. running the Hadoop client. Change this to the absolute path to kinit if this
  529. is not the case.
  530. </description>
  531. </property>
  532. <property>
  533. <name>hadoop.kerberos.min.seconds.before.relogin</name>
  534. <value>60</value>
  535. <description>The minimum time between relogin attempts for Kerberos, in
  536. seconds.
  537. </description>
  538. </property>
  539. <property>
  540. <name>hadoop.security.auth_to_local</name>
  541. <value></value>
  542. <description>Maps kerberos principals to local user names</description>
  543. </property>
  544. <property>
  545. <name>hadoop.token.files</name>
  546. <value></value>
  547. <description>List of token cache files that have delegation tokens for hadoop service</description>
  548. </property>
  549. <!-- i/o properties -->
  550. <property>
  551. <name>io.file.buffer.size</name>
  552. <value>4096</value>
  553. <description>The size of buffer for use in sequence files.
  554. The size of this buffer should probably be a multiple of hardware
  555. page size (4096 on Intel x86), and it determines how much data is
  556. buffered during read and write operations.</description>
  557. </property>
  558. <property>
  559. <name>io.bytes.per.checksum</name>
  560. <value>512</value>
  561. <description>The number of bytes per checksum. Must not be larger than
  562. io.file.buffer.size.</description>
  563. </property>
  564. <property>
  565. <name>io.skip.checksum.errors</name>
  566. <value>false</value>
  567. <description>If true, when a checksum error is encountered while
  568. reading a sequence file, entries are skipped, instead of throwing an
  569. exception.</description>
  570. </property>
  571. <property>
  572. <name>io.compression.codecs</name>
  573. <value></value>
  574. <description>A comma-separated list of the compression codec classes that can
  575. be used for compression/decompression. In addition to any classes specified
  576. with this property (which take precedence), codec classes on the classpath
  577. are discovered using a Java ServiceLoader.</description>
  578. </property>
  579. <property>
  580. <name>io.compression.codec.bzip2.library</name>
  581. <value>system-native</value>
  582. <description>The native-code library to be used for compression and
  583. decompression by the bzip2 codec. This library could be specified
  584. either by by name or the full pathname. In the former case, the
  585. library is located by the dynamic linker, usually searching the
  586. directories specified in the environment variable LD_LIBRARY_PATH.
  587. The value of "system-native" indicates that the default system
  588. library should be used. To indicate that the algorithm should
  589. operate entirely in Java, specify "java-builtin".</description>
  590. </property>
  591. <property>
  592. <name>io.serializations</name>
  593. <value>org.apache.hadoop.io.serializer.WritableSerialization, org.apache.hadoop.io.serializer.avro.AvroSpecificSerialization, org.apache.hadoop.io.serializer.avro.AvroReflectSerialization</value>
  594. <description>A list of serialization classes that can be used for
  595. obtaining serializers and deserializers.</description>
  596. </property>
  597. <property>
  598. <name>io.seqfile.local.dir</name>
  599. <value>${hadoop.tmp.dir}/io/local</value>
  600. <description>The local directory where sequence file stores intermediate
  601. data files during merge. May be a comma-separated list of
  602. directories on different devices in order to spread disk i/o.
  603. Directories that do not exist are ignored.
  604. </description>
  605. </property>
  606. <property>
  607. <name>io.map.index.skip</name>
  608. <value>0</value>
  609. <description>Number of index entries to skip between each entry.
  610. Zero by default. Setting this to values larger than zero can
  611. facilitate opening large MapFiles using less memory.</description>
  612. </property>
  613. <property>
  614. <name>io.map.index.interval</name>
  615. <value>128</value>
  616. <description>
  617. MapFile consist of two files - data file (tuples) and index file
  618. (keys). For every io.map.index.interval records written in the
  619. data file, an entry (record-key, data-file-position) is written
  620. in the index file. This is to allow for doing binary search later
  621. within the index file to look up records by their keys and get their
  622. closest positions in the data file.
  623. </description>
  624. </property>
  625. <!-- file system properties -->
  626. <property>
  627. <name>fs.defaultFS</name>
  628. <value>file:///</value>
  629. <description>The name of the default file system. A URI whose
  630. scheme and authority determine the FileSystem implementation. The
  631. uri's scheme determines the config property (fs.SCHEME.impl) naming
  632. the FileSystem implementation class. The uri's authority is used to
  633. determine the host, port, etc. for a filesystem.</description>
  634. </property>
  635. <property>
  636. <name>fs.default.name</name>
  637. <value>file:///</value>
  638. <description>Deprecated. Use (fs.defaultFS) property
  639. instead</description>
  640. </property>
  641. <property>
  642. <name>fs.trash.interval</name>
  643. <value>0</value>
  644. <description>Number of minutes after which the checkpoint
  645. gets deleted. If zero, the trash feature is disabled.
  646. This option may be configured both on the server and the
  647. client. If trash is disabled server side then the client
  648. side configuration is checked. If trash is enabled on the
  649. server side then the value configured on the server is
  650. used and the client configuration value is ignored.
  651. </description>
  652. </property>
  653. <property>
  654. <name>fs.trash.checkpoint.interval</name>
  655. <value>0</value>
  656. <description>Number of minutes between trash checkpoints.
  657. Should be smaller or equal to fs.trash.interval. If zero,
  658. the value is set to the value of fs.trash.interval.
  659. Every time the checkpointer runs it creates a new checkpoint
  660. out of current and removes checkpoints created more than
  661. fs.trash.interval minutes ago.
  662. </description>
  663. </property>
  664. <property>
  665. <name>fs.protected.directories</name>
  666. <value></value>
  667. <description>A comma-separated list of directories which cannot
  668. be deleted even by the superuser unless they are empty. This
  669. setting can be used to guard important system directories
  670. against accidental deletion due to administrator error.
  671. </description>
  672. </property>
  673. <property>
  674. <name>fs.AbstractFileSystem.file.impl</name>
  675. <value>org.apache.hadoop.fs.local.LocalFs</value>
  676. <description>The AbstractFileSystem for file: uris.</description>
  677. </property>
  678. <property>
  679. <name>fs.AbstractFileSystem.har.impl</name>
  680. <value>org.apache.hadoop.fs.HarFs</value>
  681. <description>The AbstractFileSystem for har: uris.</description>
  682. </property>
  683. <property>
  684. <name>fs.AbstractFileSystem.hdfs.impl</name>
  685. <value>org.apache.hadoop.fs.Hdfs</value>
  686. <description>The FileSystem for hdfs: uris.</description>
  687. </property>
  688. <property>
  689. <name>fs.AbstractFileSystem.viewfs.impl</name>
  690. <value>org.apache.hadoop.fs.viewfs.ViewFs</value>
  691. <description>The AbstractFileSystem for view file system for viewfs: uris
  692. (ie client side mount table:).</description>
  693. </property>
  694. <property>
  695. <name>fs.AbstractFileSystem.ftp.impl</name>
  696. <value>org.apache.hadoop.fs.ftp.FtpFs</value>
  697. <description>The FileSystem for Ftp: uris.</description>
  698. </property>
  699. <property>
  700. <name>fs.AbstractFileSystem.webhdfs.impl</name>
  701. <value>org.apache.hadoop.fs.WebHdfs</value>
  702. <description>The FileSystem for webhdfs: uris.</description>
  703. </property>
  704. <property>
  705. <name>fs.AbstractFileSystem.swebhdfs.impl</name>
  706. <value>org.apache.hadoop.fs.SWebHdfs</value>
  707. <description>The FileSystem for swebhdfs: uris.</description>
  708. </property>
  709. <property>
  710. <name>fs.ftp.host</name>
  711. <value>0.0.0.0</value>
  712. <description>FTP filesystem connects to this server</description>
  713. </property>
  714. <property>
  715. <name>fs.ftp.host.port</name>
  716. <value>21</value>
  717. <description>
  718. FTP filesystem connects to fs.ftp.host on this port
  719. </description>
  720. </property>
  721. <property>
  722. <name>fs.ftp.data.connection.mode</name>
  723. <value>ACTIVE_LOCAL_DATA_CONNECTION_MODE</value>
  724. <description>Set the FTPClient's data connection mode based on configuration.
  725. Valid values are ACTIVE_LOCAL_DATA_CONNECTION_MODE,
  726. PASSIVE_LOCAL_DATA_CONNECTION_MODE and PASSIVE_REMOTE_DATA_CONNECTION_MODE.
  727. </description>
  728. </property>
  729. <property>
  730. <name>fs.ftp.transfer.mode</name>
  731. <value>BLOCK_TRANSFER_MODE</value>
  732. <description>
  733. Set FTP's transfer mode based on configuration. Valid values are
  734. STREAM_TRANSFER_MODE, BLOCK_TRANSFER_MODE and COMPRESSED_TRANSFER_MODE.
  735. </description>
  736. </property>
  737. <property>
  738. <name>fs.df.interval</name>
  739. <value>60000</value>
  740. <description>Disk usage statistics refresh interval in msec.</description>
  741. </property>
  742. <property>
  743. <name>fs.du.interval</name>
  744. <value>600000</value>
  745. <description>File space usage statistics refresh interval in msec.</description>
  746. </property>
  747. <property>
  748. <name>fs.s3.awsAccessKeyId</name>
  749. <description>AWS access key ID used by S3 block file system.</description>
  750. </property>
  751. <property>
  752. <name>fs.s3.awsSecretAccessKey</name>
  753. <description>AWS secret key used by S3 block file system.</description>
  754. </property>
  755. <property>
  756. <name>fs.s3.block.size</name>
  757. <value>67108864</value>
  758. <description>Block size to use when writing files to S3.</description>
  759. </property>
  760. <property>
  761. <name>fs.s3.buffer.dir</name>
  762. <value>${hadoop.tmp.dir}/s3</value>
  763. <description>Determines where on the local filesystem the s3:/s3n: filesystem
  764. should store files before sending them to S3
  765. (or after retrieving them from S3).
  766. </description>
  767. </property>
  768. <property>
  769. <name>fs.s3.maxRetries</name>
  770. <value>4</value>
  771. <description>The maximum number of retries for reading or writing files to S3,
  772. before we signal failure to the application.
  773. </description>
  774. </property>
  775. <property>
  776. <name>fs.s3.sleepTimeSeconds</name>
  777. <value>10</value>
  778. <description>The number of seconds to sleep between each S3 retry.
  779. </description>
  780. </property>
  781. <property>
  782. <name>fs.swift.impl</name>
  783. <value>org.apache.hadoop.fs.swift.snative.SwiftNativeFileSystem</value>
  784. <description>The implementation class of the OpenStack Swift Filesystem</description>
  785. </property>
  786. <property>
  787. <name>fs.automatic.close</name>
  788. <value>true</value>
  789. <description>By default, FileSystem instances are automatically closed at program
  790. exit using a JVM shutdown hook. Setting this property to false disables this
  791. behavior. This is an advanced option that should only be used by server applications
  792. requiring a more carefully orchestrated shutdown sequence.
  793. </description>
  794. </property>
  795. <property>
  796. <name>fs.s3n.awsAccessKeyId</name>
  797. <description>AWS access key ID used by S3 native file system.</description>
  798. </property>
  799. <property>
  800. <name>fs.s3n.awsSecretAccessKey</name>
  801. <description>AWS secret key used by S3 native file system.</description>
  802. </property>
  803. <property>
  804. <name>fs.s3n.block.size</name>
  805. <value>67108864</value>
  806. <description>Block size to use when reading files using the native S3
  807. filesystem (s3n: URIs).</description>
  808. </property>
  809. <property>
  810. <name>fs.s3n.multipart.uploads.enabled</name>
  811. <value>false</value>
  812. <description>Setting this property to true enables multiple uploads to
  813. native S3 filesystem. When uploading a file, it is split into blocks
  814. if the size is larger than fs.s3n.multipart.uploads.block.size.
  815. </description>
  816. </property>
  817. <property>
  818. <name>fs.s3n.multipart.uploads.block.size</name>
  819. <value>67108864</value>
  820. <description>The block size for multipart uploads to native S3 filesystem.
  821. Default size is 64MB.
  822. </description>
  823. </property>
  824. <property>
  825. <name>fs.s3n.multipart.copy.block.size</name>
  826. <value>5368709120</value>
  827. <description>The block size for multipart copy in native S3 filesystem.
  828. Default size is 5GB.
  829. </description>
  830. </property>
  831. <property>
  832. <name>fs.s3n.server-side-encryption-algorithm</name>
  833. <value></value>
  834. <description>Specify a server-side encryption algorithm for S3.
  835. Unset by default, and the only other currently allowable value is AES256.
  836. </description>
  837. </property>
  838. <property>
  839. <name>fs.s3a.access.key</name>
  840. <description>AWS access key ID used by S3A file system. Omit for IAM role-based or provider-based authentication.</description>
  841. </property>
  842. <property>
  843. <name>fs.s3a.secret.key</name>
  844. <description>AWS secret key used by S3A file system. Omit for IAM role-based or provider-based authentication.</description>
  845. </property>
  846. <property>
  847. <name>fs.s3a.aws.credentials.provider</name>
  848. <description>
  849. Comma-separated class names of credential provider classes which implement
  850. com.amazonaws.auth.AWSCredentialsProvider.
  851. These are loaded and queried in sequence for a valid set of credentials.
  852. Each listed class must implement one of the following means of
  853. construction, which are attempted in order:
  854. 1. a public constructor accepting java.net.URI and
  855. org.apache.hadoop.conf.Configuration,
  856. 2. a public static method named getInstance that accepts no
  857. arguments and returns an instance of
  858. com.amazonaws.auth.AWSCredentialsProvider, or
  859. 3. a public default constructor.
  860. Specifying org.apache.hadoop.fs.s3a.AnonymousAWSCredentialsProvider allows
  861. anonymous access to a publicly accessible S3 bucket without any credentials.
  862. Please note that allowing anonymous access to an S3 bucket compromises
  863. security and therefore is unsuitable for most use cases. It can be useful
  864. for accessing public data sets without requiring AWS credentials.
  865. If unspecified, then the default list of credential provider classes,
  866. queried in sequence, is:
  867. 1. org.apache.hadoop.fs.s3a.BasicAWSCredentialsProvider: supports static
  868. configuration of AWS access key ID and secret access key. See also
  869. fs.s3a.access.key and fs.s3a.secret.key.
  870. 2. com.amazonaws.auth.EnvironmentVariableCredentialsProvider: supports
  871. configuration of AWS access key ID and secret access key in
  872. environment variables named AWS_ACCESS_KEY_ID and
  873. AWS_SECRET_ACCESS_KEY, as documented in the AWS SDK.
  874. 3. org.apache.hadoop.fs.s3a.SharedInstanceProfileCredentialsProvider:
  875. a shared instance of
  876. com.amazonaws.auth.InstanceProfileCredentialsProvider from the AWS
  877. SDK, which supports use of instance profile credentials if running
  878. in an EC2 VM. Using this shared instance potentially reduces load
  879. on the EC2 instance metadata service for multi-threaded
  880. applications.
  881. </description>
  882. </property>
  883. <property>
  884. <name>fs.s3a.session.token</name>
  885. <description>Session token, when using org.apache.hadoop.fs.s3a.TemporaryAWSCredentialsProvider
  886. as one of the providers.
  887. </description>
  888. </property>
  889. <property>
  890. <name>fs.s3a.security.credential.provider.path</name>
  891. <value />
  892. <description>
  893. Optional comma separated list of credential providers, a list
  894. which is prepended to that set in hadoop.security.credential.provider.path
  895. </description>
  896. </property>
  897. <property>
  898. <name>fs.s3a.connection.maximum</name>
  899. <value>15</value>
  900. <description>Controls the maximum number of simultaneous connections to S3.</description>
  901. </property>
  902. <property>
  903. <name>fs.s3a.connection.ssl.enabled</name>
  904. <value>true</value>
  905. <description>Enables or disables SSL connections to S3.</description>
  906. </property>
  907. <property>
  908. <name>fs.s3a.endpoint</name>
  909. <description>AWS S3 endpoint to connect to. An up-to-date list is
  910. provided in the AWS Documentation: regions and endpoints. Without this
  911. property, the standard region (s3.amazonaws.com) is assumed.
  912. </description>
  913. </property>
  914. <property>
  915. <name>fs.s3a.path.style.access</name>
  916. <value>false</value>
  917. <description>Enable S3 path style access ie disabling the default virtual hosting behaviour.
  918. Useful for S3A-compliant storage providers as it removes the need to set up DNS for virtual hosting.
  919. </description>
  920. </property>
  921. <property>
  922. <name>fs.s3a.proxy.host</name>
  923. <description>Hostname of the (optional) proxy server for S3 connections.</description>
  924. </property>
  925. <property>
  926. <name>fs.s3a.proxy.port</name>
  927. <description>Proxy server port. If this property is not set
  928. but fs.s3a.proxy.host is, port 80 or 443 is assumed (consistent with
  929. the value of fs.s3a.connection.ssl.enabled).</description>
  930. </property>
  931. <property>
  932. <name>fs.s3a.proxy.username</name>
  933. <description>Username for authenticating with proxy server.</description>
  934. </property>
  935. <property>
  936. <name>fs.s3a.proxy.password</name>
  937. <description>Password for authenticating with proxy server.</description>
  938. </property>
  939. <property>
  940. <name>fs.s3a.proxy.domain</name>
  941. <description>Domain for authenticating with proxy server.</description>
  942. </property>
  943. <property>
  944. <name>fs.s3a.proxy.workstation</name>
  945. <description>Workstation for authenticating with proxy server.</description>
  946. </property>
  947. <property>
  948. <name>fs.s3a.attempts.maximum</name>
  949. <value>20</value>
  950. <description>How many times we should retry commands on transient errors.</description>
  951. </property>
  952. <property>
  953. <name>fs.s3a.connection.establish.timeout</name>
  954. <value>5000</value>
  955. <description>Socket connection setup timeout in milliseconds.</description>
  956. </property>
  957. <property>
  958. <name>fs.s3a.connection.timeout</name>
  959. <value>200000</value>
  960. <description>Socket connection timeout in milliseconds.</description>
  961. </property>
  962. <property>
  963. <name>fs.s3a.socket.send.buffer</name>
  964. <value>8192</value>
  965. <description>Socket send buffer hint to amazon connector. Represented in bytes.</description>
  966. </property>
  967. <property>
  968. <name>fs.s3a.socket.recv.buffer</name>
  969. <value>8192</value>
  970. <description>Socket receive buffer hint to amazon connector. Represented in bytes.</description>
  971. </property>
  972. <property>
  973. <name>fs.s3a.paging.maximum</name>
  974. <value>5000</value>
  975. <description>How many keys to request from S3 when doing
  976. directory listings at a time.</description>
  977. </property>
  978. <property>
  979. <name>fs.s3a.threads.max</name>
  980. <value>10</value>
  981. <description>The total number of threads available in the filesystem for data
  982. uploads *or any other queued filesystem operation*.</description>
  983. </property>
  984. <property>
  985. <name>fs.s3a.threads.keepalivetime</name>
  986. <value>60</value>
  987. <description>Number of seconds a thread can be idle before being
  988. terminated.</description>
  989. </property>
  990. <property>
  991. <name>fs.s3a.max.total.tasks</name>
  992. <value>5</value>
  993. <description>The number of operations which can be queued for execution</description>
  994. </property>
  995. <property>
  996. <name>fs.s3a.multipart.size</name>
  997. <value>100M</value>
  998. <description>How big (in bytes) to split upload or copy operations up into.
  999. A suffix from the set {K,M,G,T,P} may be used to scale the numeric value.
  1000. </description>
  1001. </property>
  1002. <property>
  1003. <name>fs.s3a.multipart.threshold</name>
  1004. <value>2147483647</value>
  1005. <description>How big (in bytes) to split upload or copy operations up into.
  1006. This also controls the partition size in renamed files, as rename() involves
  1007. copying the source file(s).
  1008. A suffix from the set {K,M,G,T,P} may be used to scale the numeric value.
  1009. </description>
  1010. </property>
  1011. <property>
  1012. <name>fs.s3a.multiobjectdelete.enable</name>
  1013. <value>true</value>
  1014. <description>When enabled, multiple single-object delete requests are replaced by
  1015. a single 'delete multiple objects'-request, reducing the number of requests.
  1016. Beware: legacy S3-compatible object stores might not support this request.
  1017. </description>
  1018. </property>
  1019. <property>
  1020. <name>fs.s3a.acl.default</name>
  1021. <description>Set a canned ACL for newly created and copied objects. Value may be Private,
  1022. PublicRead, PublicReadWrite, AuthenticatedRead, LogDeliveryWrite, BucketOwnerRead,
  1023. or BucketOwnerFullControl.</description>
  1024. </property>
  1025. <property>
  1026. <name>fs.s3a.multipart.purge</name>
  1027. <value>false</value>
  1028. <description>True if you want to purge existing multipart uploads that may not have been
  1029. completed/aborted correctly. The corresponding purge age is defined in
  1030. fs.s3a.multipart.purge.age.
  1031. If set, when the filesystem is instantiated then all outstanding uploads
  1032. older than the purge age will be terminated -across the entire bucket.
  1033. This will impact multipart uploads by other applications and users. so should
  1034. be used sparingly, with an age value chosen to stop failed uploads, without
  1035. breaking ongoing operations.
  1036. </description>
  1037. </property>
  1038. <property>
  1039. <name>fs.s3a.multipart.purge.age</name>
  1040. <value>86400</value>
  1041. <description>Minimum age in seconds of multipart uploads to purge.
  1042. </description>
  1043. </property>
  1044. <property>
  1045. <name>fs.s3a.server-side-encryption-algorithm</name>
  1046. <description>Specify a server-side encryption algorithm for s3a: file system.
  1047. Unset by default. It supports the following values: 'AES256' (for SSE-S3),
  1048. 'SSE-KMS' and 'SSE-C'.
  1049. </description>
  1050. </property>
  1051. <property>
  1052. <name>fs.s3a.server-side-encryption.key</name>
  1053. <description>Specific encryption key to use if fs.s3a.server-side-encryption-algorithm
  1054. has been set to 'SSE-KMS' or 'SSE-C'. In the case of SSE-C, the value of this property
  1055. should be the Base64 encoded key. If you are using SSE-KMS and leave this property empty,
  1056. you'll be using your default's S3 KMS key, otherwise you should set this property to
  1057. the specific KMS key id.
  1058. </description>
  1059. </property>
  1060. <property>
  1061. <name>fs.s3a.signing-algorithm</name>
  1062. <description>Override the default signing algorithm so legacy
  1063. implementations can still be used</description>
  1064. </property>
  1065. <property>
  1066. <name>fs.s3a.block.size</name>
  1067. <value>32M</value>
  1068. <description>Block size to use when reading files using s3a: file system.
  1069. A suffix from the set {K,M,G,T,P} may be used to scale the numeric value.
  1070. </description>
  1071. </property>
  1072. <property>
  1073. <name>fs.s3a.buffer.dir</name>
  1074. <value>${hadoop.tmp.dir}/s3a</value>
  1075. <description>Comma separated list of directories that will be used to buffer file
  1076. uploads to.</description>
  1077. </property>
  1078. <property>
  1079. <name>fs.s3a.fast.upload</name>
  1080. <value>false</value>
  1081. <description>
  1082. Use the incremental block-based fast upload mechanism with
  1083. the buffering mechanism set in fs.s3a.fast.upload.buffer.
  1084. </description>
  1085. </property>
  1086. <property>
  1087. <name>fs.s3a.fast.upload.buffer</name>
  1088. <value>disk</value>
  1089. <description>
  1090. The buffering mechanism to use when using S3A fast upload
  1091. (fs.s3a.fast.upload=true). Values: disk, array, bytebuffer.
  1092. This configuration option has no effect if fs.s3a.fast.upload is false.
  1093. "disk" will use the directories listed in fs.s3a.buffer.dir as
  1094. the location(s) to save data prior to being uploaded.
  1095. "array" uses arrays in the JVM heap
  1096. "bytebuffer" uses off-heap memory within the JVM.
  1097. Both "array" and "bytebuffer" will consume memory in a single stream up to the number
  1098. of blocks set by:
  1099. fs.s3a.multipart.size * fs.s3a.fast.upload.active.blocks.
  1100. If using either of these mechanisms, keep this value low
  1101. The total number of threads performing work across all threads is set by
  1102. fs.s3a.threads.max, with fs.s3a.max.total.tasks values setting the number of queued
  1103. work items.
  1104. </description>
  1105. </property>
  1106. <property>
  1107. <name>fs.s3a.fast.upload.active.blocks</name>
  1108. <value>4</value>
  1109. <description>
  1110. Maximum Number of blocks a single output stream can have
  1111. active (uploading, or queued to the central FileSystem
  1112. instance's pool of queued operations.
  1113. This stops a single stream overloading the shared thread pool.
  1114. </description>
  1115. </property>
  1116. <property>
  1117. <name>fs.s3a.readahead.range</name>
  1118. <value>64K</value>
  1119. <description>Bytes to read ahead during a seek() before closing and
  1120. re-opening the S3 HTTP connection. This option will be overridden if
  1121. any call to setReadahead() is made to an open stream.
  1122. A suffix from the set {K,M,G,T,P} may be used to scale the numeric value.
  1123. </description>
  1124. </property>
  1125. <property>
  1126. <name>fs.s3a.user.agent.prefix</name>
  1127. <value></value>
  1128. <description>
  1129. Sets a custom value that will be prepended to the User-Agent header sent in
  1130. HTTP requests to the S3 back-end by S3AFileSystem. The User-Agent header
  1131. always includes the Hadoop version number followed by a string generated by
  1132. the AWS SDK. An example is "User-Agent: Hadoop 2.8.0, aws-sdk-java/1.10.6".
  1133. If this optional property is set, then its value is prepended to create a
  1134. customized User-Agent. For example, if this configuration property was set
  1135. to "MyApp", then an example of the resulting User-Agent would be
  1136. "User-Agent: MyApp, Hadoop 2.8.0, aws-sdk-java/1.10.6".
  1137. </description>
  1138. </property>
  1139. <property>
  1140. <name>fs.s3a.impl</name>
  1141. <value>org.apache.hadoop.fs.s3a.S3AFileSystem</value>
  1142. <description>The implementation class of the S3A Filesystem</description>
  1143. </property>
  1144. <property>
  1145. <name>fs.AbstractFileSystem.s3a.impl</name>
  1146. <value>org.apache.hadoop.fs.s3a.S3A</value>
  1147. <description>The implementation class of the S3A AbstractFileSystem.</description>
  1148. </property>
  1149. <!-- Azure file system properties -->
  1150. <property>
  1151. <name>fs.azure.secure.mode</name>
  1152. <value>false</value>
  1153. <description>
  1154. Config flag to identify the mode in which fs.azure.NativeAzureFileSystem needs
  1155. to run under. Setting it "true" would make fs.azure.NativeAzureFileSystem use
  1156. SAS keys to communicate with Azure storage.
  1157. </description>
  1158. </property>
  1159. <property>
  1160. <name>fs.azure.local.sas.key.mode</name>
  1161. <value>false</value>
  1162. <description>
  1163. Works in conjuction with fs.azure.secure.mode. Setting this config to true
  1164. results in fs.azure.NativeAzureFileSystem using the local SAS key generation
  1165. where the SAS keys are generating in the same process as fs.azure.NativeAzureFileSystem.
  1166. If fs.azure.secure.mode flag is set to false, this flag has no effect.
  1167. </description>
  1168. </property>
  1169. <property>
  1170. <name>fs.azure.sas.expiry.period</name>
  1171. <value>90d</value>
  1172. <description>
  1173. The default value to be used for expiration period for SAS keys generated.
  1174. Can use the following suffix (case insensitive):
  1175. ms(millis), s(sec), m(min), h(hour), d(day)
  1176. to specify the time (such as 2s, 2m, 1h, etc.).
  1177. </description>
  1178. </property>
  1179. <property>
  1180. <name>fs.azure.authorization</name>
  1181. <value>false</value>
  1182. <description>
  1183. Config flag to enable authorization support in WASB. Setting it to "true" enables
  1184. authorization support to WASB. Currently WASB authorization requires a remote service
  1185. to provide authorization that needs to be specified via fs.azure.authorization.remote.service.url
  1186. configuration
  1187. </description>
  1188. </property>
  1189. <property>
  1190. <name>fs.azure.authorization.caching.enable</name>
  1191. <value>true</value>
  1192. <description>
  1193. Config flag to enable caching of authorization results and saskeys in WASB.
  1194. This flag is relevant only when fs.azure.authorization is enabled.
  1195. </description>
  1196. </property>
  1197. <!-- Azure Data Lake File System Configurations -->
  1198. <property>
  1199. <name>fs.adl.impl</name>
  1200. <value>org.apache.hadoop.fs.adl.AdlFileSystem</value>
  1201. </property>
  1202. <property>
  1203. <name>fs.AbstractFileSystem.adl.impl</name>
  1204. <value>org.apache.hadoop.fs.adl.Adl</value>
  1205. </property>
  1206. <!-- Azure Data Lake File System Configurations Ends Here-->
  1207. <property>
  1208. <name>io.seqfile.compress.blocksize</name>
  1209. <value>1000000</value>
  1210. <description>The minimum block size for compression in block compressed
  1211. SequenceFiles.
  1212. </description>
  1213. </property>
  1214. <property>
  1215. <name>io.mapfile.bloom.size</name>
  1216. <value>1048576</value>
  1217. <description>The size of BloomFilter-s used in BloomMapFile. Each time this many
  1218. keys is appended the next BloomFilter will be created (inside a DynamicBloomFilter).
  1219. Larger values minimize the number of filters, which slightly increases the performance,
  1220. but may waste too much space if the total number of keys is usually much smaller
  1221. than this number.
  1222. </description>
  1223. </property>
  1224. <property>
  1225. <name>io.mapfile.bloom.error.rate</name>
  1226. <value>0.005</value>
  1227. <description>The rate of false positives in BloomFilter-s used in BloomMapFile.
  1228. As this value decreases, the size of BloomFilter-s increases exponentially. This
  1229. value is the probability of encountering false positives (default is 0.5%).
  1230. </description>
  1231. </property>
  1232. <property>
  1233. <name>hadoop.util.hash.type</name>
  1234. <value>murmur</value>
  1235. <description>The default implementation of Hash. Currently this can take one of the
  1236. two values: 'murmur' to select MurmurHash and 'jenkins' to select JenkinsHash.
  1237. </description>
  1238. </property>
  1239. <!-- ipc properties -->
  1240. <property>
  1241. <name>ipc.client.idlethreshold</name>
  1242. <value>4000</value>
  1243. <description>Defines the threshold number of connections after which
  1244. connections will be inspected for idleness.
  1245. </description>
  1246. </property>
  1247. <property>
  1248. <name>ipc.client.kill.max</name>
  1249. <value>10</value>
  1250. <description>Defines the maximum number of clients to disconnect in one go.
  1251. </description>
  1252. </property>
  1253. <property>
  1254. <name>ipc.client.connection.maxidletime</name>
  1255. <value>10000</value>
  1256. <description>The maximum time in msec after which a client will bring down the
  1257. connection to the server.
  1258. </description>
  1259. </property>
  1260. <property>
  1261. <name>ipc.client.connect.max.retries</name>
  1262. <value>10</value>
  1263. <description>Indicates the number of retries a client will make to establish
  1264. a server connection.
  1265. </description>
  1266. </property>
  1267. <property>
  1268. <name>ipc.client.connect.retry.interval</name>
  1269. <value>1000</value>
  1270. <description>Indicates the number of milliseconds a client will wait for
  1271. before retrying to establish a server connection.
  1272. </description>
  1273. </property>
  1274. <property>
  1275. <name>ipc.client.connect.timeout</name>
  1276. <value>20000</value>
  1277. <description>Indicates the number of milliseconds a client will wait for the
  1278. socket to establish a server connection.
  1279. </description>
  1280. </property>
  1281. <property>
  1282. <name>ipc.client.connect.max.retries.on.timeouts</name>
  1283. <value>45</value>
  1284. <description>Indicates the number of retries a client will make on socket timeout
  1285. to establish a server connection.
  1286. </description>
  1287. </property>
  1288. <property>
  1289. <name>ipc.client.tcpnodelay</name>
  1290. <value>true</value>
  1291. <description>Use TCP_NODELAY flag to bypass Nagle's algorithm transmission delays.
  1292. </description>
  1293. </property>
  1294. <property>
  1295. <name>ipc.client.low-latency</name>
  1296. <value>false</value>
  1297. <description>Use low-latency QoS markers for IPC connections.
  1298. </description>
  1299. </property>
  1300. <property>
  1301. <name>ipc.client.ping</name>
  1302. <value>true</value>
  1303. <description>Send a ping to the server when timeout on reading the response,
  1304. if set to true. If no failure is detected, the client retries until at least
  1305. a byte is read or the time given by ipc.client.rpc-timeout.ms is passed.
  1306. </description>
  1307. </property>
  1308. <property>
  1309. <name>ipc.ping.interval</name>
  1310. <value>60000</value>
  1311. <description>Timeout on waiting response from server, in milliseconds.
  1312. The client will send ping when the interval is passed without receiving bytes,
  1313. if ipc.client.ping is set to true.
  1314. </description>
  1315. </property>
  1316. <property>
  1317. <name>ipc.client.rpc-timeout.ms</name>
  1318. <value>0</value>
  1319. <description>Timeout on waiting response from server, in milliseconds.
  1320. If ipc.client.ping is set to true and this rpc-timeout is greater than
  1321. the value of ipc.ping.interval, the effective value of the rpc-timeout is
  1322. rounded up to multiple of ipc.ping.interval.
  1323. </description>
  1324. </property>
  1325. <property>
  1326. <name>ipc.server.listen.queue.size</name>
  1327. <value>128</value>
  1328. <description>Indicates the length of the listen queue for servers accepting
  1329. client connections.
  1330. </description>
  1331. </property>
  1332. <property>
  1333. <name>ipc.server.log.slow.rpc</name>
  1334. <value>false</value>
  1335. <description>This setting is useful to troubleshoot performance issues for
  1336. various services. If this value is set to true then we log requests that
  1337. fall into 99th percentile as well as increment RpcSlowCalls counter.
  1338. </description>
  1339. </property>
  1340. <property>
  1341. <name>ipc.maximum.data.length</name>
  1342. <value>67108864</value>
  1343. <description>This indicates the maximum IPC message length (bytes) that can be
  1344. accepted by the server. Messages larger than this value are rejected by the
  1345. immediately to avoid possible OOMs. This setting should rarely need to be
  1346. changed.
  1347. </description>
  1348. </property>
  1349. <property>
  1350. <name>ipc.maximum.response.length</name>
  1351. <value>134217728</value>
  1352. <description>This indicates the maximum IPC message length (bytes) that can be
  1353. accepted by the client. Messages larger than this value are rejected
  1354. immediately to avoid possible OOMs. This setting should rarely need to be
  1355. changed. Set to 0 to disable.
  1356. </description>
  1357. </property>
  1358. <!-- Proxy Configuration -->
  1359. <property>
  1360. <name>hadoop.security.impersonation.provider.class</name>
  1361. <value></value>
  1362. <description>A class which implements ImpersonationProvider interface, used to
  1363. authorize whether one user can impersonate a specific user.
  1364. If not specified, the DefaultImpersonationProvider will be used.
  1365. If a class is specified, then that class will be used to determine
  1366. the impersonation capability.
  1367. </description>
  1368. </property>
  1369. <property>
  1370. <name>hadoop.rpc.socket.factory.class.default</name>
  1371. <value>org.apache.hadoop.net.StandardSocketFactory</value>
  1372. <description> Default SocketFactory to use. This parameter is expected to be
  1373. formatted as "package.FactoryClassName".
  1374. </description>
  1375. </property>
  1376. <property>
  1377. <name>hadoop.rpc.socket.factory.class.ClientProtocol</name>
  1378. <value></value>
  1379. <description> SocketFactory to use to connect to a DFS. If null or empty, use
  1380. hadoop.rpc.socket.class.default. This socket factory is also used by
  1381. DFSClient to create sockets to DataNodes.
  1382. </description>
  1383. </property>
  1384. <property>
  1385. <name>hadoop.socks.server</name>
  1386. <value></value>
  1387. <description> Address (host:port) of the SOCKS server to be used by the
  1388. SocksSocketFactory.
  1389. </description>
  1390. </property>
  1391. <!-- Topology Configuration -->
  1392. <property>
  1393. <name>net.topology.node.switch.mapping.impl</name>
  1394. <value>org.apache.hadoop.net.ScriptBasedMapping</value>
  1395. <description> The default implementation of the DNSToSwitchMapping. It
  1396. invokes a script specified in net.topology.script.file.name to resolve
  1397. node names. If the value for net.topology.script.file.name is not set, the
  1398. default value of DEFAULT_RACK is returned for all node names.
  1399. </description>
  1400. </property>
  1401. <property>
  1402. <name>net.topology.impl</name>
  1403. <value>org.apache.hadoop.net.NetworkTopology</value>
  1404. <description> The default implementation of NetworkTopology which is classic three layer one.
  1405. </description>
  1406. </property>
  1407. <property>
  1408. <name>net.topology.script.file.name</name>
  1409. <value></value>
  1410. <description> The script name that should be invoked to resolve DNS names to
  1411. NetworkTopology names. Example: the script would take host.foo.bar as an
  1412. argument, and return /rack1 as the output.
  1413. </description>
  1414. </property>
  1415. <property>
  1416. <name>net.topology.script.number.args</name>
  1417. <value>100</value>
  1418. <description> The max number of args that the script configured with
  1419. net.topology.script.file.name should be run with. Each arg is an
  1420. IP address.
  1421. </description>
  1422. </property>
  1423. <property>
  1424. <name>net.topology.table.file.name</name>
  1425. <value></value>
  1426. <description> The file name for a topology file, which is used when the
  1427. net.topology.node.switch.mapping.impl property is set to
  1428. org.apache.hadoop.net.TableMapping. The file format is a two column text
  1429. file, with columns separated by whitespace. The first column is a DNS or
  1430. IP address and the second column specifies the rack where the address maps.
  1431. If no entry corresponding to a host in the cluster is found, then
  1432. /default-rack is assumed.
  1433. </description>
  1434. </property>
  1435. <!-- Local file system -->
  1436. <property>
  1437. <name>file.stream-buffer-size</name>
  1438. <value>4096</value>
  1439. <description>The size of buffer to stream files.
  1440. The size of this buffer should probably be a multiple of hardware
  1441. page size (4096 on Intel x86), and it determines how much data is
  1442. buffered during read and write operations.</description>
  1443. </property>
  1444. <property>
  1445. <name>file.bytes-per-checksum</name>
  1446. <value>512</value>
  1447. <description>The number of bytes per checksum. Must not be larger than
  1448. file.stream-buffer-size</description>
  1449. </property>
  1450. <property>
  1451. <name>file.client-write-packet-size</name>
  1452. <value>65536</value>
  1453. <description>Packet size for clients to write</description>
  1454. </property>
  1455. <property>
  1456. <name>file.blocksize</name>
  1457. <value>67108864</value>
  1458. <description>Block size</description>
  1459. </property>
  1460. <property>
  1461. <name>file.replication</name>
  1462. <value>1</value>
  1463. <description>Replication factor</description>
  1464. </property>
  1465. <!-- s3 File System -->
  1466. <property>
  1467. <name>s3.stream-buffer-size</name>
  1468. <value>4096</value>
  1469. <description>The size of buffer to stream files.
  1470. The size of this buffer should probably be a multiple of hardware
  1471. page size (4096 on Intel x86), and it determines how much data is
  1472. buffered during read and write operations.</description>
  1473. </property>
  1474. <property>
  1475. <name>s3.bytes-per-checksum</name>
  1476. <value>512</value>
  1477. <description>The number of bytes per checksum. Must not be larger than
  1478. s3.stream-buffer-size</description>
  1479. </property>
  1480. <property>
  1481. <name>s3.client-write-packet-size</name>
  1482. <value>65536</value>
  1483. <description>Packet size for clients to write</description>
  1484. </property>
  1485. <property>
  1486. <name>s3.blocksize</name>
  1487. <value>67108864</value>
  1488. <description>Block size</description>
  1489. </property>
  1490. <property>
  1491. <name>s3.replication</name>
  1492. <value>3</value>
  1493. <description>Replication factor</description>
  1494. </property>
  1495. <!-- s3native File System -->
  1496. <property>
  1497. <name>s3native.stream-buffer-size</name>
  1498. <value>4096</value>
  1499. <description>The size of buffer to stream files.
  1500. The size of this buffer should probably be a multiple of hardware
  1501. page size (4096 on Intel x86), and it determines how much data is
  1502. buffered during read and write operations.</description>
  1503. </property>
  1504. <property>
  1505. <name>s3native.bytes-per-checksum</name>
  1506. <value>512</value>
  1507. <description>The number of bytes per checksum. Must not be larger than
  1508. s3native.stream-buffer-size</description>
  1509. </property>
  1510. <property>
  1511. <name>s3native.client-write-packet-size</name>
  1512. <value>65536</value>
  1513. <description>Packet size for clients to write</description>
  1514. </property>
  1515. <property>
  1516. <name>s3native.blocksize</name>
  1517. <value>67108864</value>
  1518. <description>Block size</description>
  1519. </property>
  1520. <property>
  1521. <name>s3native.replication</name>
  1522. <value>3</value>
  1523. <description>Replication factor</description>
  1524. </property>
  1525. <!-- FTP file system -->
  1526. <property>
  1527. <name>ftp.stream-buffer-size</name>
  1528. <value>4096</value>
  1529. <description>The size of buffer to stream files.
  1530. The size of this buffer should probably be a multiple of hardware
  1531. page size (4096 on Intel x86), and it determines how much data is
  1532. buffered during read and write operations.</description>
  1533. </property>
  1534. <property>
  1535. <name>ftp.bytes-per-checksum</name>
  1536. <value>512</value>
  1537. <description>The number of bytes per checksum. Must not be larger than
  1538. ftp.stream-buffer-size</description>
  1539. </property>
  1540. <property>
  1541. <name>ftp.client-write-packet-size</name>
  1542. <value>65536</value>
  1543. <description>Packet size for clients to write</description>
  1544. </property>
  1545. <property>
  1546. <name>ftp.blocksize</name>
  1547. <value>67108864</value>
  1548. <description>Block size</description>
  1549. </property>
  1550. <property>
  1551. <name>ftp.replication</name>
  1552. <value>3</value>
  1553. <description>Replication factor</description>
  1554. </property>
  1555. <!-- Tfile -->
  1556. <property>
  1557. <name>tfile.io.chunk.size</name>
  1558. <value>1048576</value>
  1559. <description>
  1560. Value chunk size in bytes. Default to
  1561. 1MB. Values of the length less than the chunk size is
  1562. guaranteed to have known value length in read time (See also
  1563. TFile.Reader.Scanner.Entry.isValueLengthKnown()).
  1564. </description>
  1565. </property>
  1566. <property>
  1567. <name>tfile.fs.output.buffer.size</name>
  1568. <value>262144</value>
  1569. <description>
  1570. Buffer size used for FSDataOutputStream in bytes.
  1571. </description>
  1572. </property>
  1573. <property>
  1574. <name>tfile.fs.input.buffer.size</name>
  1575. <value>262144</value>
  1576. <description>
  1577. Buffer size used for FSDataInputStream in bytes.
  1578. </description>
  1579. </property>
  1580. <!-- HTTP web-consoles Authentication -->
  1581. <property>
  1582. <name>hadoop.http.authentication.type</name>
  1583. <value>simple</value>
  1584. <description>
  1585. Defines authentication used for Oozie HTTP endpoint.
  1586. Supported values are: simple | kerberos | #AUTHENTICATION_HANDLER_CLASSNAME#
  1587. </description>
  1588. </property>
  1589. <property>
  1590. <name>hadoop.http.authentication.token.validity</name>
  1591. <value>36000</value>
  1592. <description>
  1593. Indicates how long (in seconds) an authentication token is valid before it has
  1594. to be renewed.
  1595. </description>
  1596. </property>
  1597. <property>
  1598. <name>hadoop.http.authentication.signature.secret.file</name>
  1599. <value>${user.home}/hadoop-http-auth-signature-secret</value>
  1600. <description>
  1601. The signature secret for signing the authentication tokens.
  1602. The same secret should be used for JT/NN/DN/TT configurations.
  1603. </description>
  1604. </property>
  1605. <property>
  1606. <name>hadoop.http.authentication.cookie.domain</name>
  1607. <value></value>
  1608. <description>
  1609. The domain to use for the HTTP cookie that stores the authentication token.
  1610. In order to authentiation to work correctly across all Hadoop nodes web-consoles
  1611. the domain must be correctly set.
  1612. IMPORTANT: when using IP addresses, browsers ignore cookies with domain settings.
  1613. For this setting to work properly all nodes in the cluster must be configured
  1614. to generate URLs with hostname.domain names on it.
  1615. </description>
  1616. </property>
  1617. <property>
  1618. <name>hadoop.http.authentication.simple.anonymous.allowed</name>
  1619. <value>true</value>
  1620. <description>
  1621. Indicates if anonymous requests are allowed when using 'simple' authentication.
  1622. </description>
  1623. </property>
  1624. <property>
  1625. <name>hadoop.http.authentication.kerberos.principal</name>
  1626. <value>HTTP/_HOST@LOCALHOST</value>
  1627. <description>
  1628. Indicates the Kerberos principal to be used for HTTP endpoint.
  1629. The principal MUST start with 'HTTP/' as per Kerberos HTTP SPNEGO specification.
  1630. </description>
  1631. </property>
  1632. <property>
  1633. <name>hadoop.http.authentication.kerberos.keytab</name>
  1634. <value>${user.home}/hadoop.keytab</value>
  1635. <description>
  1636. Location of the keytab file with the credentials for the principal.
  1637. Referring to the same keytab file Oozie uses for its Kerberos credentials for Hadoop.
  1638. </description>
  1639. </property>
  1640. <!-- HTTP CORS support -->
  1641. <property>
  1642. <description>Enable/disable the cross-origin (CORS) filter.</description>
  1643. <name>hadoop.http.cross-origin.enabled</name>
  1644. <value>false</value>
  1645. </property>
  1646. <property>
  1647. <description>Comma separated list of origins that are allowed for web
  1648. services needing cross-origin (CORS) support. Wildcards (*) and patterns
  1649. allowed</description>
  1650. <name>hadoop.http.cross-origin.allowed-origins</name>
  1651. <value>*</value>
  1652. </property>
  1653. <property>
  1654. <description>Comma separated list of methods that are allowed for web
  1655. services needing cross-origin (CORS) support.</description>
  1656. <name>hadoop.http.cross-origin.allowed-methods</name>
  1657. <value>GET,POST,HEAD</value>
  1658. </property>
  1659. <property>
  1660. <description>Comma separated list of headers that are allowed for web
  1661. services needing cross-origin (CORS) support.</description>
  1662. <name>hadoop.http.cross-origin.allowed-headers</name>
  1663. <value>X-Requested-With,Content-Type,Accept,Origin</value>
  1664. </property>
  1665. <property>
  1666. <description>The number of seconds a pre-flighted request can be cached
  1667. for web services needing cross-origin (CORS) support.</description>
  1668. <name>hadoop.http.cross-origin.max-age</name>
  1669. <value>1800</value>
  1670. </property>
  1671. <property>
  1672. <name>dfs.ha.fencing.methods</name>
  1673. <value></value>
  1674. <description>
  1675. List of fencing methods to use for service fencing. May contain
  1676. builtin methods (eg shell and sshfence) or user-defined method.
  1677. </description>
  1678. </property>
  1679. <property>
  1680. <name>dfs.ha.fencing.ssh.connect-timeout</name>
  1681. <value>30000</value>
  1682. <description>
  1683. SSH connection timeout, in milliseconds, to use with the builtin
  1684. sshfence fencer.
  1685. </description>
  1686. </property>
  1687. <property>
  1688. <name>dfs.ha.fencing.ssh.private-key-files</name>
  1689. <value></value>
  1690. <description>
  1691. The SSH private key files to use with the builtin sshfence fencer.
  1692. </description>
  1693. </property>
  1694. <!-- Static Web User Filter properties. -->
  1695. <property>
  1696. <description>
  1697. The user name to filter as, on static web filters
  1698. while rendering content. An example use is the HDFS
  1699. web UI (user to be used for browsing files).
  1700. </description>
  1701. <name>hadoop.http.staticuser.user</name>
  1702. <value>dr.who</value>
  1703. </property>
  1704. <property>
  1705. <name>ha.zookeeper.quorum</name>
  1706. <description>
  1707. A list of ZooKeeper server addresses, separated by commas, that are
  1708. to be used by the ZKFailoverController in automatic failover.
  1709. </description>
  1710. </property>
  1711. <property>
  1712. <name>ha.zookeeper.session-timeout.ms</name>
  1713. <value>5000</value>
  1714. <description>
  1715. The session timeout to use when the ZKFC connects to ZooKeeper.
  1716. Setting this value to a lower value implies that server crashes
  1717. will be detected more quickly, but risks triggering failover too
  1718. aggressively in the case of a transient error or network blip.
  1719. </description>
  1720. </property>
  1721. <property>
  1722. <name>ha.zookeeper.parent-znode</name>
  1723. <value>/hadoop-ha</value>
  1724. <description>
  1725. The ZooKeeper znode under which the ZK failover controller stores
  1726. its information. Note that the nameservice ID is automatically
  1727. appended to this znode, so it is not normally necessary to
  1728. configure this, even in a federated environment.
  1729. </description>
  1730. </property>
  1731. <property>
  1732. <name>ha.zookeeper.acl</name>
  1733. <value>world:anyone:rwcda</value>
  1734. <description>
  1735. A comma-separated list of ZooKeeper ACLs to apply to the znodes
  1736. used by automatic failover. These ACLs are specified in the same
  1737. format as used by the ZooKeeper CLI.
  1738. If the ACL itself contains secrets, you may instead specify a
  1739. path to a file, prefixed with the '@' symbol, and the value of
  1740. this configuration will be loaded from within.
  1741. </description>
  1742. </property>
  1743. <property>
  1744. <name>ha.zookeeper.auth</name>
  1745. <value></value>
  1746. <description>
  1747. A comma-separated list of ZooKeeper authentications to add when
  1748. connecting to ZooKeeper. These are specified in the same format
  1749. as used by the &quot;addauth&quot; command in the ZK CLI. It is
  1750. important that the authentications specified here are sufficient
  1751. to access znodes with the ACL specified in ha.zookeeper.acl.
  1752. If the auths contain secrets, you may instead specify a
  1753. path to a file, prefixed with the '@' symbol, and the value of
  1754. this configuration will be loaded from within.
  1755. </description>
  1756. </property>
  1757. <!-- SSLFactory configuration -->
  1758. <property>
  1759. <name>hadoop.ssl.keystores.factory.class</name>
  1760. <value>org.apache.hadoop.security.ssl.FileBasedKeyStoresFactory</value>
  1761. <description>
  1762. The keystores factory to use for retrieving certificates.
  1763. </description>
  1764. </property>
  1765. <property>
  1766. <name>hadoop.ssl.require.client.cert</name>
  1767. <value>false</value>
  1768. <description>Whether client certificates are required</description>
  1769. </property>
  1770. <property>
  1771. <name>hadoop.ssl.hostname.verifier</name>
  1772. <value>DEFAULT</value>
  1773. <description>
  1774. The hostname verifier to provide for HttpsURLConnections.
  1775. Valid values are: DEFAULT, STRICT, STRICT_IE6, DEFAULT_AND_LOCALHOST and
  1776. ALLOW_ALL
  1777. </description>
  1778. </property>
  1779. <property>
  1780. <name>hadoop.ssl.server.conf</name>
  1781. <value>ssl-server.xml</value>
  1782. <description>
  1783. Resource file from which ssl server keystore information will be extracted.
  1784. This file is looked up in the classpath, typically it should be in Hadoop
  1785. conf/ directory.
  1786. </description>
  1787. </property>
  1788. <property>
  1789. <name>hadoop.ssl.client.conf</name>
  1790. <value>ssl-client.xml</value>
  1791. <description>
  1792. Resource file from which ssl client keystore information will be extracted
  1793. This file is looked up in the classpath, typically it should be in Hadoop
  1794. conf/ directory.
  1795. </description>
  1796. </property>
  1797. <property>
  1798. <name>hadoop.ssl.enabled</name>
  1799. <value>false</value>
  1800. <description>
  1801. Deprecated. Use dfs.http.policy and yarn.http.policy instead.
  1802. </description>
  1803. </property>
  1804. <property>
  1805. <name>hadoop.ssl.enabled.protocols</name>
  1806. <value>TLSv1,SSLv2Hello,TLSv1.1,TLSv1.2</value>
  1807. <description>
  1808. The supported SSL protocols.
  1809. </description>
  1810. </property>
  1811. <property>
  1812. <name>hadoop.jetty.logs.serve.aliases</name>
  1813. <value>true</value>
  1814. <description>
  1815. Enable/Disable aliases serving from jetty
  1816. </description>
  1817. </property>
  1818. <property>
  1819. <name>fs.permissions.umask-mode</name>
  1820. <value>022</value>
  1821. <description>
  1822. The umask used when creating files and directories.
  1823. Can be in octal or in symbolic. Examples are:
  1824. "022" (octal for u=rwx,g=r-x,o=r-x in symbolic),
  1825. or "u=rwx,g=rwx,o=" (symbolic for 007 in octal).
  1826. </description>
  1827. </property>
  1828. <!-- ha properties -->
  1829. <property>
  1830. <name>ha.health-monitor.connect-retry-interval.ms</name>
  1831. <value>1000</value>
  1832. <description>
  1833. How often to retry connecting to the service.
  1834. </description>
  1835. </property>
  1836. <property>
  1837. <name>ha.health-monitor.check-interval.ms</name>
  1838. <value>1000</value>
  1839. <description>
  1840. How often to check the service.
  1841. </description>
  1842. </property>
  1843. <property>
  1844. <name>ha.health-monitor.sleep-after-disconnect.ms</name>
  1845. <value>1000</value>
  1846. <description>
  1847. How long to sleep after an unexpected RPC error.
  1848. </description>
  1849. </property>
  1850. <property>
  1851. <name>ha.health-monitor.rpc-timeout.ms</name>
  1852. <value>45000</value>
  1853. <description>
  1854. Timeout for the actual monitorHealth() calls.
  1855. </description>
  1856. </property>
  1857. <property>
  1858. <name>ha.failover-controller.new-active.rpc-timeout.ms</name>
  1859. <value>60000</value>
  1860. <description>
  1861. Timeout that the FC waits for the new active to become active
  1862. </description>
  1863. </property>
  1864. <property>
  1865. <name>ha.failover-controller.graceful-fence.rpc-timeout.ms</name>
  1866. <value>5000</value>
  1867. <description>
  1868. Timeout that the FC waits for the old active to go to standby
  1869. </description>
  1870. </property>
  1871. <property>
  1872. <name>ha.failover-controller.graceful-fence.connection.retries</name>
  1873. <value>1</value>
  1874. <description>
  1875. FC connection retries for graceful fencing
  1876. </description>
  1877. </property>
  1878. <property>
  1879. <name>ha.failover-controller.cli-check.rpc-timeout.ms</name>
  1880. <value>20000</value>
  1881. <description>
  1882. Timeout that the CLI (manual) FC waits for monitorHealth, getServiceState
  1883. </description>
  1884. </property>
  1885. <property>
  1886. <name>ipc.client.fallback-to-simple-auth-allowed</name>
  1887. <value>false</value>
  1888. <description>
  1889. When a client is configured to attempt a secure connection, but attempts to
  1890. connect to an insecure server, that server may instruct the client to
  1891. switch to SASL SIMPLE (unsecure) authentication. This setting controls
  1892. whether or not the client will accept this instruction from the server.
  1893. When false (the default), the client will not allow the fallback to SIMPLE
  1894. authentication, and will abort the connection.
  1895. </description>
  1896. </property>
  1897. <property>
  1898. <name>fs.client.resolve.remote.symlinks</name>
  1899. <value>true</value>
  1900. <description>
  1901. Whether to resolve symlinks when accessing a remote Hadoop filesystem.
  1902. Setting this to false causes an exception to be thrown upon encountering
  1903. a symlink. This setting does not apply to local filesystems, which
  1904. automatically resolve local symlinks.
  1905. </description>
  1906. </property>
  1907. <property>
  1908. <name>nfs.exports.allowed.hosts</name>
  1909. <value>* rw</value>
  1910. <description>
  1911. By default, the export can be mounted by any client. The value string
  1912. contains machine name and access privilege, separated by whitespace
  1913. characters. The machine name format can be a single host, a Java regular
  1914. expression, or an IPv4 address. The access privilege uses rw or ro to
  1915. specify read/write or read-only access of the machines to exports. If the
  1916. access privilege is not provided, the default is read-only. Entries are separated by ";".
  1917. For example: "192.168.0.0/22 rw ; host.*\.example\.com ; host1.test.org ro;".
  1918. Only the NFS gateway needs to restart after this property is updated.
  1919. </description>
  1920. </property>
  1921. <property>
  1922. <name>hadoop.user.group.static.mapping.overrides</name>
  1923. <value>dr.who=;</value>
  1924. <description>
  1925. Static mapping of user to groups. This will override the groups if
  1926. available in the system for the specified user. In other words, groups
  1927. look-up will not happen for these users, instead groups mapped in this
  1928. configuration will be used.
  1929. Mapping should be in this format.
  1930. user1=group1,group2;user2=;user3=group2;
  1931. Default, "dr.who=;" will consider "dr.who" as user without groups.
  1932. </description>
  1933. </property>
  1934. <property>
  1935. <name>rpc.metrics.quantile.enable</name>
  1936. <value>false</value>
  1937. <description>
  1938. Setting this property to true and rpc.metrics.percentiles.intervals
  1939. to a comma-separated list of the granularity in seconds, the
  1940. 50/75/90/95/99th percentile latency for rpc queue/processing time in
  1941. milliseconds are added to rpc metrics.
  1942. </description>
  1943. </property>
  1944. <property>
  1945. <name>rpc.metrics.percentiles.intervals</name>
  1946. <value></value>
  1947. <description>
  1948. A comma-separated list of the granularity in seconds for the metrics which
  1949. describe the 50/75/90/95/99th percentile latency for rpc queue/processing
  1950. time. The metrics are outputted if rpc.metrics.quantile.enable is set to
  1951. true.
  1952. </description>
  1953. </property>
  1954. <property>
  1955. <name>hadoop.security.crypto.codec.classes.EXAMPLECIPHERSUITE</name>
  1956. <value></value>
  1957. <description>
  1958. The prefix for a given crypto codec, contains a comma-separated
  1959. list of implementation classes for a given crypto codec (eg EXAMPLECIPHERSUITE).
  1960. The first implementation will be used if available, others are fallbacks.
  1961. </description>
  1962. </property>
  1963. <property>
  1964. <name>hadoop.security.crypto.codec.classes.aes.ctr.nopadding</name>
  1965. <value>org.apache.hadoop.crypto.OpensslAesCtrCryptoCodec, org.apache.hadoop.crypto.JceAesCtrCryptoCodec</value>
  1966. <description>
  1967. Comma-separated list of crypto codec implementations for AES/CTR/NoPadding.
  1968. The first implementation will be used if available, others are fallbacks.
  1969. </description>
  1970. </property>
  1971. <property>
  1972. <name>hadoop.security.crypto.cipher.suite</name>
  1973. <value>AES/CTR/NoPadding</value>
  1974. <description>
  1975. Cipher suite for crypto codec.
  1976. </description>
  1977. </property>
  1978. <property>
  1979. <name>hadoop.security.crypto.jce.provider</name>
  1980. <value></value>
  1981. <description>
  1982. The JCE provider name used in CryptoCodec.
  1983. </description>
  1984. </property>
  1985. <property>
  1986. <name>hadoop.security.crypto.buffer.size</name>
  1987. <value>8192</value>
  1988. <description>
  1989. The buffer size used by CryptoInputStream and CryptoOutputStream.
  1990. </description>
  1991. </property>
  1992. <property>
  1993. <name>hadoop.security.java.secure.random.algorithm</name>
  1994. <value>SHA1PRNG</value>
  1995. <description>
  1996. The java secure random algorithm.
  1997. </description>
  1998. </property>
  1999. <property>
  2000. <name>hadoop.security.secure.random.impl</name>
  2001. <value></value>
  2002. <description>
  2003. Implementation of secure random.
  2004. </description>
  2005. </property>
  2006. <property>
  2007. <name>hadoop.security.random.device.file.path</name>
  2008. <value>/dev/urandom</value>
  2009. <description>
  2010. OS security random device file path.
  2011. </description>
  2012. </property>
  2013. <property>
  2014. <name>hadoop.security.key.provider.path</name>
  2015. <description>
  2016. The KeyProvider to use when managing zone keys, and interacting with
  2017. encryption keys when reading and writing to an encryption zone.
  2018. For hdfs clients, the provider path will be same as namenode's
  2019. provider path.
  2020. </description>
  2021. </property>
  2022. <property>
  2023. <name>fs.har.impl.disable.cache</name>
  2024. <value>true</value>
  2025. <description>Don't cache 'har' filesystem instances.</description>
  2026. </property>
  2027. <!--- KMSClientProvider configurations -->
  2028. <property>
  2029. <name>hadoop.security.kms.client.authentication.retry-count</name>
  2030. <value>1</value>
  2031. <description>
  2032. Number of time to retry connecting to KMS on authentication failure
  2033. </description>
  2034. </property>
  2035. <property>
  2036. <name>hadoop.security.kms.client.encrypted.key.cache.size</name>
  2037. <value>500</value>
  2038. <description>
  2039. Size of the EncryptedKeyVersion cache Queue for each key
  2040. </description>
  2041. </property>
  2042. <property>
  2043. <name>hadoop.security.kms.client.encrypted.key.cache.low-watermark</name>
  2044. <value>0.3f</value>
  2045. <description>
  2046. If size of the EncryptedKeyVersion cache Queue falls below the
  2047. low watermark, this cache queue will be scheduled for a refill
  2048. </description>
  2049. </property>
  2050. <property>
  2051. <name>hadoop.security.kms.client.encrypted.key.cache.num.refill.threads</name>
  2052. <value>2</value>
  2053. <description>
  2054. Number of threads to use for refilling depleted EncryptedKeyVersion
  2055. cache Queues
  2056. </description>
  2057. </property>
  2058. <property>
  2059. <name>hadoop.security.kms.client.encrypted.key.cache.expiry</name>
  2060. <value>43200000</value>
  2061. <description>
  2062. Cache expiry time for a Key, after which the cache Queue for this
  2063. key will be dropped. Default = 12hrs
  2064. </description>
  2065. </property>
  2066. <property>
  2067. <name>hadoop.security.kms.client.failover.sleep.base.millis</name>
  2068. <value>100</value>
  2069. <description>
  2070. Expert only. The time to wait, in milliseconds, between failover
  2071. attempts increases exponentially as a function of the number of
  2072. attempts made so far, with a random factor of +/- 50%. This option
  2073. specifies the base value used in the failover calculation. The
  2074. first failover will retry immediately. The 2nd failover attempt
  2075. will delay at least hadoop.security.client.failover.sleep.base.millis
  2076. milliseconds. And so on.
  2077. </description>
  2078. </property>
  2079. <property>
  2080. <name>hadoop.security.kms.client.failover.sleep.max.millis</name>
  2081. <value>2000</value>
  2082. <description>
  2083. Expert only. The time to wait, in milliseconds, between failover
  2084. attempts increases exponentially as a function of the number of
  2085. attempts made so far, with a random factor of +/- 50%. This option
  2086. specifies the maximum value to wait between failovers.
  2087. Specifically, the time between two failover attempts will not
  2088. exceed +/- 50% of hadoop.security.client.failover.sleep.max.millis
  2089. milliseconds.
  2090. </description>
  2091. </property>
  2092. <property>
  2093. <name>ipc.server.max.connections</name>
  2094. <value>0</value>
  2095. <description>The maximum number of concurrent connections a server is allowed
  2096. to accept. If this limit is exceeded, incoming connections will first fill
  2097. the listen queue and then may go to an OS-specific listen overflow queue.
  2098. The client may fail or timeout, but the server can avoid running out of file
  2099. descriptors using this feature. 0 means no limit.
  2100. </description>
  2101. </property>
  2102. <!-- YARN registry -->
  2103. <property>
  2104. <description>
  2105. Is the registry enabled in the YARN Resource Manager?
  2106. If true, the YARN RM will, as needed.
  2107. create the user and system paths, and purge
  2108. service records when containers, application attempts
  2109. and applications complete.
  2110. If false, the paths must be created by other means,
  2111. and no automatic cleanup of service records will take place.
  2112. </description>
  2113. <name>hadoop.registry.rm.enabled</name>
  2114. <value>false</value>
  2115. </property>
  2116. <property>
  2117. <description>
  2118. The root zookeeper node for the registry
  2119. </description>
  2120. <name>hadoop.registry.zk.root</name>
  2121. <value>/registry</value>
  2122. </property>
  2123. <property>
  2124. <description>
  2125. Zookeeper session timeout in milliseconds
  2126. </description>
  2127. <name>hadoop.registry.zk.session.timeout.ms</name>
  2128. <value>60000</value>
  2129. </property>
  2130. <property>
  2131. <description>
  2132. Zookeeper connection timeout in milliseconds
  2133. </description>
  2134. <name>hadoop.registry.zk.connection.timeout.ms</name>
  2135. <value>15000</value>
  2136. </property>
  2137. <property>
  2138. <description>
  2139. Zookeeper connection retry count before failing
  2140. </description>
  2141. <name>hadoop.registry.zk.retry.times</name>
  2142. <value>5</value>
  2143. </property>
  2144. <property>
  2145. <description>
  2146. </description>
  2147. <name>hadoop.registry.zk.retry.interval.ms</name>
  2148. <value>1000</value>
  2149. </property>
  2150. <property>
  2151. <description>
  2152. Zookeeper retry limit in milliseconds, during
  2153. exponential backoff.
  2154. This places a limit even
  2155. if the retry times and interval limit, combined
  2156. with the backoff policy, result in a long retry
  2157. period
  2158. </description>
  2159. <name>hadoop.registry.zk.retry.ceiling.ms</name>
  2160. <value>60000</value>
  2161. </property>
  2162. <property>
  2163. <description>
  2164. List of hostname:port pairs defining the
  2165. zookeeper quorum binding for the registry
  2166. </description>
  2167. <name>hadoop.registry.zk.quorum</name>
  2168. <value>localhost:2181</value>
  2169. </property>
  2170. <property>
  2171. <description>
  2172. Key to set if the registry is secure. Turning it on
  2173. changes the permissions policy from "open access"
  2174. to restrictions on kerberos with the option of
  2175. a user adding one or more auth key pairs down their
  2176. own tree.
  2177. </description>
  2178. <name>hadoop.registry.secure</name>
  2179. <value>false</value>
  2180. </property>
  2181. <property>
  2182. <description>
  2183. A comma separated list of Zookeeper ACL identifiers with
  2184. system access to the registry in a secure cluster.
  2185. These are given full access to all entries.
  2186. If there is an "@" at the end of a SASL entry it
  2187. instructs the registry client to append the default kerberos domain.
  2188. </description>
  2189. <name>hadoop.registry.system.acls</name>
  2190. <value>sasl:yarn@, sasl:mapred@, sasl:hdfs@</value>
  2191. </property>
  2192. <property>
  2193. <description>
  2194. The kerberos realm: used to set the realm of
  2195. system principals which do not declare their realm,
  2196. and any other accounts that need the value.
  2197. If empty, the default realm of the running process
  2198. is used.
  2199. If neither are known and the realm is needed, then the registry
  2200. service/client will fail.
  2201. </description>
  2202. <name>hadoop.registry.kerberos.realm</name>
  2203. <value></value>
  2204. </property>
  2205. <property>
  2206. <description>
  2207. Key to define the JAAS context. Used in secure
  2208. mode
  2209. </description>
  2210. <name>hadoop.registry.jaas.context</name>
  2211. <value>Client</value>
  2212. </property>
  2213. <property>
  2214. <description>
  2215. Enable hdfs shell commands to display warnings if (fs.defaultFS) property
  2216. is not set.
  2217. </description>
  2218. <name>hadoop.shell.missing.defaultFs.warning</name>
  2219. <value>false</value>
  2220. </property>
  2221. <property>
  2222. <name>hadoop.shell.safely.delete.limit.num.files</name>
  2223. <value>100</value>
  2224. <description>Used by -safely option of hadoop fs shell -rm command to avoid
  2225. accidental deletion of large directories. When enabled, the -rm command
  2226. requires confirmation if the number of files to be deleted is greater than
  2227. this limit. The default limit is 100 files. The warning is disabled if
  2228. the limit is 0 or the -safely is not specified in -rm command.
  2229. </description>
  2230. </property>
  2231. <property>
  2232. <name>fs.client.htrace.sampler.classes</name>
  2233. <value></value>
  2234. <description>The class names of the HTrace Samplers to use for Hadoop
  2235. filesystem clients.
  2236. </description>
  2237. </property>
  2238. <property>
  2239. <name>hadoop.htrace.span.receiver.classes</name>
  2240. <value></value>
  2241. <description>The class names of the Span Receivers to use for Hadoop.
  2242. </description>
  2243. </property>
  2244. <property>
  2245. <description>
  2246. Enable the "/logs" endpoint on all Hadoop daemons, which serves local
  2247. logs, but may be considered a security risk due to it listing the contents
  2248. of a directory.
  2249. </description>
  2250. <name>hadoop.http.logs.enabled</name>
  2251. <value>true</value>
  2252. </property>
  2253. <property>
  2254. <name>fs.client.resolve.topology.enabled</name>
  2255. <value>false</value>
  2256. <description>Whether the client machine will use the class specified by
  2257. property net.topology.node.switch.mapping.impl to compute the network
  2258. distance between itself and remote machines of the FileSystem. Additional
  2259. properties might need to be configured depending on the class specified
  2260. in net.topology.node.switch.mapping.impl. For example, if
  2261. org.apache.hadoop.net.ScriptBasedMapping is used, a valid script file
  2262. needs to be specified in net.topology.script.file.name.
  2263. </description>
  2264. </property>
  2265. <!-- Azure Data Lake File System Configurations -->
  2266. <property>
  2267. <name>fs.adl.impl</name>
  2268. <value>org.apache.hadoop.fs.adl.AdlFileSystem</value>
  2269. </property>
  2270. <property>
  2271. <name>fs.AbstractFileSystem.adl.impl</name>
  2272. <value>org.apache.hadoop.fs.adl.Adl</value>
  2273. </property>
  2274. <property>
  2275. <name>adl.feature.ownerandgroup.enableupn</name>
  2276. <value>false</value>
  2277. <description>
  2278. When true : User and Group in FileStatus/AclStatus response is
  2279. represented as user friendly name as per Azure AD profile.
  2280. When false (default) : User and Group in FileStatus/AclStatus
  2281. response is represented by the unique identifier from Azure AD
  2282. profile (Object ID as GUID).
  2283. For optimal performance, false is recommended.
  2284. </description>
  2285. </property>
  2286. <property>
  2287. <name>fs.adl.oauth2.access.token.provider.type</name>
  2288. <value>ClientCredential</value>
  2289. <description>
  2290. Defines Azure Active Directory OAuth2 access token provider type.
  2291. Supported types are ClientCredential, RefreshToken, and Custom.
  2292. The ClientCredential type requires property fs.adl.oauth2.client.id,
  2293. fs.adl.oauth2.credential, and fs.adl.oauth2.refresh.url.
  2294. The RefreshToken type requires property fs.adl.oauth2.client.id and
  2295. fs.adl.oauth2.refresh.token.
  2296. The Custom type requires property fs.adl.oauth2.access.token.provider.
  2297. </description>
  2298. </property>
  2299. <property>
  2300. <name>fs.adl.oauth2.client.id</name>
  2301. <value></value>
  2302. <description>The OAuth2 client id.</description>
  2303. </property>
  2304. <property>
  2305. <name>fs.adl.oauth2.credential</name>
  2306. <value></value>
  2307. <description>The OAuth2 access key.</description>
  2308. </property>
  2309. <property>
  2310. <name>fs.adl.oauth2.refresh.url</name>
  2311. <value></value>
  2312. <description>The OAuth2 token endpoint.</description>
  2313. </property>
  2314. <property>
  2315. <name>fs.adl.oauth2.refresh.token</name>
  2316. <value></value>
  2317. <description>The OAuth2 refresh token.</description>
  2318. </property>
  2319. <property>
  2320. <name>fs.adl.oauth2.access.token.provider</name>
  2321. <value></value>
  2322. <description>
  2323. The class name of the OAuth2 access token provider.
  2324. </description>
  2325. </property>
  2326. <!-- Azure Data Lake File System Configurations Ends Here-->
  2327. <property>
  2328. <name>hadoop.caller.context.enabled</name>
  2329. <value>false</value>
  2330. <description>When the feature is enabled, additional fields are written into
  2331. name-node audit log records for auditing coarse granularity operations.
  2332. </description>
  2333. </property>
  2334. <property>
  2335. <name>hadoop.caller.context.max.size</name>
  2336. <value>128</value>
  2337. <description>The maximum bytes a caller context string can have. If the
  2338. passed caller context is longer than this maximum bytes, client will
  2339. truncate it before sending to server. Note that the server may have a
  2340. different maximum size, and will truncate the caller context to the
  2341. maximum size it allows.
  2342. </description>
  2343. </property>
  2344. <property>
  2345. <name>hadoop.caller.context.signature.max.size</name>
  2346. <value>40</value>
  2347. <description>
  2348. The caller's signature (optional) is for offline validation. If the
  2349. signature exceeds the maximum allowed bytes in server, the caller context
  2350. will be abandoned, in which case the caller context will not be recorded
  2351. in audit logs.
  2352. </description>
  2353. </property>
  2354. <!-- SequenceFile's Sorter properties -->
  2355. <property>
  2356. <name>seq.io.sort.mb</name>
  2357. <value>100</value>
  2358. <description>
  2359. The total amount of buffer memory to use while sorting files,
  2360. while using SequenceFile.Sorter, in megabytes. By default,
  2361. gives each merge stream 1MB, which should minimize seeks.
  2362. </description>
  2363. </property>
  2364. <property>
  2365. <name>seq.io.sort.factor</name>
  2366. <value>100</value>
  2367. <description>
  2368. The number of streams to merge at once while sorting
  2369. files using SequenceFile.Sorter.
  2370. This determines the number of open file handles.
  2371. </description>
  2372. </property>
  2373. </configuration>