core-default.xml 77 KB

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