core-default.xml 53 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672
  1. <?xml version="1.0"?>
  2. <?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
  3. <!--
  4. Licensed to the Apache Software Foundation (ASF) under one or more
  5. contributor license agreements. See the NOTICE file distributed with
  6. this work for additional information regarding copyright ownership.
  7. The ASF licenses this file to You under the Apache License, Version 2.0
  8. (the "License"); you may not use this file except in compliance with
  9. the License. You may obtain a copy of the License at
  10. http://www.apache.org/licenses/LICENSE-2.0
  11. Unless required by applicable law or agreed to in writing, software
  12. distributed under the License is distributed on an "AS IS" BASIS,
  13. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  14. See the License for the specific language governing permissions and
  15. limitations under the License.
  16. -->
  17. <!-- Do not modify this file directly. Instead, copy entries that you -->
  18. <!-- wish to modify from this file into core-site.xml and change them -->
  19. <!-- there. If core-site.xml does not already exist, create it. -->
  20. <configuration>
  21. <!--- global properties -->
  22. <property>
  23. <name>hadoop.common.configuration.version</name>
  24. <value>0.23.0</value>
  25. <description>version of this configuration file</description>
  26. </property>
  27. <property>
  28. <name>hadoop.tmp.dir</name>
  29. <value>/tmp/hadoop-${user.name}</value>
  30. <description>A base for other temporary directories.</description>
  31. </property>
  32. <property>
  33. <name>io.native.lib.available</name>
  34. <value>true</value>
  35. <description>Should native hadoop libraries, if present, be used.</description>
  36. </property>
  37. <property>
  38. <name>hadoop.http.filter.initializers</name>
  39. <value>org.apache.hadoop.http.lib.StaticUserWebFilter</value>
  40. <description>A comma separated list of class names. Each class in the list
  41. must extend org.apache.hadoop.http.FilterInitializer. The corresponding
  42. Filter will be initialized. Then, the Filter will be applied to all user
  43. facing jsp and servlet web pages. The ordering of the list defines the
  44. ordering of the filters.</description>
  45. </property>
  46. <!--- security properties -->
  47. <property>
  48. <name>hadoop.security.authorization</name>
  49. <value>false</value>
  50. <description>Is service-level authorization enabled?</description>
  51. </property>
  52. <property>
  53. <name>hadoop.security.instrumentation.requires.admin</name>
  54. <value>false</value>
  55. <description>
  56. Indicates if administrator ACLs are required to access
  57. instrumentation servlets (JMX, METRICS, CONF, STACKS).
  58. </description>
  59. </property>
  60. <property>
  61. <name>hadoop.security.authentication</name>
  62. <value>simple</value>
  63. <description>Possible values are simple (no authentication), and kerberos
  64. </description>
  65. </property>
  66. <property>
  67. <name>hadoop.security.group.mapping</name>
  68. <value>org.apache.hadoop.security.JniBasedUnixGroupsMappingWithFallback</value>
  69. <description>
  70. Class for user to group mapping (get groups for a given user) for ACL.
  71. The default implementation,
  72. org.apache.hadoop.security.JniBasedUnixGroupsMappingWithFallback,
  73. will determine if the Java Native Interface (JNI) is available. If JNI is
  74. available the implementation will use the API within hadoop to resolve a
  75. list of groups for a user. If JNI is not available then the shell
  76. implementation, ShellBasedUnixGroupsMapping, is used. This implementation
  77. shells out to the Linux/Unix environment with the
  78. <code>bash -c groups</code> command to resolve a list of groups for a user.
  79. </description>
  80. </property>
  81. <!--
  82. === Multiple group mapping providers configuration sample ===
  83. This sample illustrates a typical use case for CompositeGroupsMapping where
  84. Hadoop authentication uses MIT Kerberos which trusts an AD realm. In this case, service
  85. principals such as hdfs, mapred, hbase, hive, oozie and etc can be placed in In MIT Kerberos,
  86. but end users are just from the trusted AD. For the service principals, ShellBasedUnixGroupsMapping
  87. provider can be used to query their groups for efficiency, and for end users, LdapGroupsMapping
  88. provider can be used. This avoids to add group entries in AD for service principals when only using
  89. LdapGroupsMapping provider.
  90. In case multiple ADs are involved and trusted by the MIT Kerberos in this use case, LdapGroupsMapping
  91. provider can be used more times with different AD specific configurations. This sample also shows how
  92. to do that. Here are the necessary configurations.
  93. <property>
  94. <name>hadoop.security.group.mapping</name>
  95. <value>org.apache.hadoop.security.CompositeGroupsMapping</value>
  96. <description>
  97. Class for user to group mapping (get groups for a given user) for ACL, which
  98. makes use of other multiple providers to provide the service.
  99. </description>
  100. </property>
  101. <property>
  102. <name>hadoop.security.group.mapping.providers</name>
  103. <value>shell4services,ad4usersX,ad4usersY</value>
  104. <description>
  105. Comma separated of names of other providers to provide user to group mapping.
  106. </description>
  107. </property>
  108. <property>
  109. <name>hadoop.security.group.mapping.providers.combined</name>
  110. <value>true</value>
  111. <description>
  112. true or false to indicate whether groups from the providers are combined or not. The default value is true
  113. If true, then all the providers will be tried to get groups and all the groups are combined to return as
  114. the final results. Otherwise, providers are tried one by one in the configured list order, and if any
  115. groups are retrieved from any provider, then the groups will be returned without trying the left ones.
  116. </description>
  117. </property>
  118. <property>
  119. <name>hadoop.security.group.mapping.provider.shell4services</name>
  120. <value>org.apache.hadoop.security.ShellBasedUnixGroupsMapping</value>
  121. <description>
  122. Class for group mapping provider named by 'shell4services'. The name can then be referenced
  123. by hadoop.security.group.mapping.providers property.
  124. </description>
  125. </property>
  126. <property>
  127. <name>hadoop.security.group.mapping.provider.ad4usersX</name>
  128. <value>org.apache.hadoop.security.LdapGroupsMapping</value>
  129. <description>
  130. Class for group mapping provider named by 'ad4usersX'. The name can then be referenced
  131. by hadoop.security.group.mapping.providers property.
  132. </description>
  133. </property>
  134. <property>
  135. <name>hadoop.security.group.mapping.provider.ad4usersY</name>
  136. <value>org.apache.hadoop.security.LdapGroupsMapping</value>
  137. <description>
  138. Class for group mapping provider named by 'ad4usersY'. The name can then be referenced
  139. by hadoop.security.group.mapping.providers property.
  140. </description>
  141. </property>
  142. <property>
  143. <name>hadoop.security.group.mapping.provider.ad4usersX.ldap.url</name>
  144. <value>ldap://ad-host-for-users-X:389</value>
  145. <description>
  146. ldap url for the provider named by 'ad4usersX'. Note this property comes from
  147. 'hadoop.security.group.mapping.ldap.url'.
  148. </description>
  149. </property>
  150. <property>
  151. <name>hadoop.security.group.mapping.provider.ad4usersY.ldap.url</name>
  152. <value>ldap://ad-host-for-users-Y:389</value>
  153. <description>
  154. ldap url for the provider named by 'ad4usersY'. Note this property comes from
  155. 'hadoop.security.group.mapping.ldap.url'.
  156. </description>
  157. </property>
  158. You also need to configure other properties like
  159. hadoop.security.group.mapping.ldap.bind.password.file and etc.
  160. for ldap providers in the same way as above does.
  161. -->
  162. <property>
  163. <name>hadoop.security.groups.cache.secs</name>
  164. <value>300</value>
  165. <description>
  166. This is the config controlling the validity of the entries in the cache
  167. containing the user->group mapping. When this duration has expired,
  168. then the implementation of the group mapping provider is invoked to get
  169. the groups of the user and then cached back.
  170. </description>
  171. </property>
  172. <property>
  173. <name>hadoop.security.groups.negative-cache.secs</name>
  174. <value>30</value>
  175. <description>
  176. Expiration time for entries in the the negative user-to-group mapping
  177. caching, in seconds. This is useful when invalid users are retrying
  178. frequently. It is suggested to set a small value for this expiration, since
  179. a transient error in group lookup could temporarily lock out a legitimate
  180. user.
  181. Set this to zero or negative value to disable negative user-to-group caching.
  182. </description>
  183. </property>
  184. <property>
  185. <name>hadoop.security.groups.cache.warn.after.ms</name>
  186. <value>5000</value>
  187. <description>
  188. If looking up a single user to group takes longer than this amount of
  189. milliseconds, we will log a warning message.
  190. </description>
  191. </property>
  192. <property>
  193. <name>hadoop.security.group.mapping.ldap.url</name>
  194. <value></value>
  195. <description>
  196. The URL of the LDAP server to use for resolving user groups when using
  197. the LdapGroupsMapping user to group mapping.
  198. </description>
  199. </property>
  200. <property>
  201. <name>hadoop.security.group.mapping.ldap.ssl</name>
  202. <value>false</value>
  203. <description>
  204. Whether or not to use SSL when connecting to the LDAP server.
  205. </description>
  206. </property>
  207. <property>
  208. <name>hadoop.security.group.mapping.ldap.ssl.keystore</name>
  209. <value></value>
  210. <description>
  211. File path to the SSL keystore that contains the SSL certificate required
  212. by the LDAP server.
  213. </description>
  214. </property>
  215. <property>
  216. <name>hadoop.security.group.mapping.ldap.ssl.keystore.password.file</name>
  217. <value></value>
  218. <description>
  219. The path to a file containing the password of the LDAP SSL keystore.
  220. IMPORTANT: This file should be readable only by the Unix user running
  221. the daemons.
  222. </description>
  223. </property>
  224. <property>
  225. <name>hadoop.security.group.mapping.ldap.bind.user</name>
  226. <value></value>
  227. <description>
  228. The distinguished name of the user to bind as when connecting to the LDAP
  229. server. This may be left blank if the LDAP server supports anonymous binds.
  230. </description>
  231. </property>
  232. <property>
  233. <name>hadoop.security.group.mapping.ldap.bind.password.file</name>
  234. <value></value>
  235. <description>
  236. The path to a file containing the password of the bind user.
  237. IMPORTANT: This file should be readable only by the Unix user running
  238. the daemons.
  239. </description>
  240. </property>
  241. <property>
  242. <name>hadoop.security.group.mapping.ldap.base</name>
  243. <value></value>
  244. <description>
  245. The search base for the LDAP connection. This is a distinguished name,
  246. and will typically be the root of the LDAP directory.
  247. </description>
  248. </property>
  249. <property>
  250. <name>hadoop.security.group.mapping.ldap.search.filter.user</name>
  251. <value>(&amp;(objectClass=user)(sAMAccountName={0}))</value>
  252. <description>
  253. An additional filter to use when searching for LDAP users. The default will
  254. usually be appropriate for Active Directory installations. If connecting to
  255. an LDAP server with a non-AD schema, this should be replaced with
  256. (&amp;(objectClass=inetOrgPerson)(uid={0}). {0} is a special string used to
  257. denote where the username fits into the filter.
  258. </description>
  259. </property>
  260. <property>
  261. <name>hadoop.security.group.mapping.ldap.search.filter.group</name>
  262. <value>(objectClass=group)</value>
  263. <description>
  264. An additional filter to use when searching for LDAP groups. This should be
  265. changed when resolving groups against a non-Active Directory installation.
  266. posixGroups are currently not a supported group class.
  267. </description>
  268. </property>
  269. <property>
  270. <name>hadoop.security.group.mapping.ldap.search.attr.member</name>
  271. <value>member</value>
  272. <description>
  273. The attribute of the group object that identifies the users that are
  274. members of the group. The default will usually be appropriate for
  275. any LDAP installation.
  276. </description>
  277. </property>
  278. <property>
  279. <name>hadoop.security.group.mapping.ldap.search.attr.group.name</name>
  280. <value>cn</value>
  281. <description>
  282. The attribute of the group object that identifies the group name. The
  283. default will usually be appropriate for all LDAP systems.
  284. </description>
  285. </property>
  286. <property>
  287. <name>hadoop.security.group.mapping.ldap.directory.search.timeout</name>
  288. <value>10000</value>
  289. <description>
  290. The attribute applied to the LDAP SearchControl properties to set a
  291. maximum time limit when searching and awaiting a result.
  292. Set to 0 if infinite wait period is desired.
  293. Default is 10 seconds. Units in milliseconds.
  294. </description>
  295. </property>
  296. <property>
  297. <name>hadoop.security.service.user.name.key</name>
  298. <value></value>
  299. <description>
  300. For those cases where the same RPC protocol is implemented by multiple
  301. servers, this configuration is required for specifying the principal
  302. name to use for the service when the client wishes to make an RPC call.
  303. </description>
  304. </property>
  305. <property>
  306. <name>hadoop.security.uid.cache.secs</name>
  307. <value>14400</value>
  308. <description>
  309. This is the config controlling the validity of the entries in the cache
  310. containing the userId to userName and groupId to groupName used by
  311. NativeIO getFstat().
  312. </description>
  313. </property>
  314. <property>
  315. <name>hadoop.rpc.protection</name>
  316. <value>authentication</value>
  317. <description>A comma-separated list of protection values for secured sasl
  318. connections. Possible values are authentication, integrity and privacy.
  319. authentication means authentication only and no integrity or privacy;
  320. integrity implies authentication and integrity are enabled; and privacy
  321. implies all of authentication, integrity and privacy are enabled.
  322. hadoop.security.saslproperties.resolver.class can be used to override
  323. the hadoop.rpc.protection for a connection at the server side.
  324. </description>
  325. </property>
  326. <property>
  327. <name>hadoop.security.saslproperties.resolver.class</name>
  328. <value></value>
  329. <description>SaslPropertiesResolver used to resolve the QOP used for a
  330. connection. If not specified, the full set of values specified in
  331. hadoop.rpc.protection is used while determining the QOP used for the
  332. connection. If a class is specified, then the QOP values returned by
  333. the class will be used while determining the QOP used for the connection.
  334. </description>
  335. </property>
  336. <property>
  337. <name>hadoop.work.around.non.threadsafe.getpwuid</name>
  338. <value>false</value>
  339. <description>Some operating systems or authentication modules are known to
  340. have broken implementations of getpwuid_r and getpwgid_r, such that these
  341. calls are not thread-safe. Symptoms of this problem include JVM crashes
  342. with a stack trace inside these functions. If your system exhibits this
  343. issue, enable this configuration parameter to include a lock around the
  344. calls as a workaround.
  345. An incomplete list of some systems known to have this issue is available
  346. at http://wiki.apache.org/hadoop/KnownBrokenPwuidImplementations
  347. </description>
  348. </property>
  349. <property>
  350. <name>hadoop.kerberos.kinit.command</name>
  351. <value>kinit</value>
  352. <description>Used to periodically renew Kerberos credentials when provided
  353. to Hadoop. The default setting assumes that kinit is in the PATH of users
  354. running the Hadoop client. Change this to the absolute path to kinit if this
  355. is not the case.
  356. </description>
  357. </property>
  358. <property>
  359. <name>hadoop.security.auth_to_local</name>
  360. <value></value>
  361. <description>Maps kerberos principals to local user names</description>
  362. </property>
  363. <!-- i/o properties -->
  364. <property>
  365. <name>io.file.buffer.size</name>
  366. <value>4096</value>
  367. <description>The size of buffer for use in sequence files.
  368. The size of this buffer should probably be a multiple of hardware
  369. page size (4096 on Intel x86), and it determines how much data is
  370. buffered during read and write operations.</description>
  371. </property>
  372. <property>
  373. <name>io.bytes.per.checksum</name>
  374. <value>512</value>
  375. <description>The number of bytes per checksum. Must not be larger than
  376. io.file.buffer.size.</description>
  377. </property>
  378. <property>
  379. <name>io.skip.checksum.errors</name>
  380. <value>false</value>
  381. <description>If true, when a checksum error is encountered while
  382. reading a sequence file, entries are skipped, instead of throwing an
  383. exception.</description>
  384. </property>
  385. <property>
  386. <name>io.compression.codecs</name>
  387. <value></value>
  388. <description>A comma-separated list of the compression codec classes that can
  389. be used for compression/decompression. In addition to any classes specified
  390. with this property (which take precedence), codec classes on the classpath
  391. are discovered using a Java ServiceLoader.</description>
  392. </property>
  393. <property>
  394. <name>io.compression.codec.bzip2.library</name>
  395. <value>system-native</value>
  396. <description>The native-code library to be used for compression and
  397. decompression by the bzip2 codec. This library could be specified
  398. either by by name or the full pathname. In the former case, the
  399. library is located by the dynamic linker, usually searching the
  400. directories specified in the environment variable LD_LIBRARY_PATH.
  401. The value of "system-native" indicates that the default system
  402. library should be used. To indicate that the algorithm should
  403. operate entirely in Java, specify "java-builtin".</description>
  404. </property>
  405. <property>
  406. <name>io.serializations</name>
  407. <value>org.apache.hadoop.io.serializer.WritableSerialization,org.apache.hadoop.io.serializer.avro.AvroSpecificSerialization,org.apache.hadoop.io.serializer.avro.AvroReflectSerialization</value>
  408. <description>A list of serialization classes that can be used for
  409. obtaining serializers and deserializers.</description>
  410. </property>
  411. <property>
  412. <name>io.seqfile.local.dir</name>
  413. <value>${hadoop.tmp.dir}/io/local</value>
  414. <description>The local directory where sequence file stores intermediate
  415. data files during merge. May be a comma-separated list of
  416. directories on different devices in order to spread disk i/o.
  417. Directories that do not exist are ignored.
  418. </description>
  419. </property>
  420. <property>
  421. <name>io.map.index.skip</name>
  422. <value>0</value>
  423. <description>Number of index entries to skip between each entry.
  424. Zero by default. Setting this to values larger than zero can
  425. facilitate opening large MapFiles using less memory.</description>
  426. </property>
  427. <property>
  428. <name>io.map.index.interval</name>
  429. <value>128</value>
  430. <description>
  431. MapFile consist of two files - data file (tuples) and index file
  432. (keys). For every io.map.index.interval records written in the
  433. data file, an entry (record-key, data-file-position) is written
  434. in the index file. This is to allow for doing binary search later
  435. within the index file to look up records by their keys and get their
  436. closest positions in the data file.
  437. </description>
  438. </property>
  439. <!-- file system properties -->
  440. <property>
  441. <name>fs.defaultFS</name>
  442. <value>file:///</value>
  443. <description>The name of the default file system. A URI whose
  444. scheme and authority determine the FileSystem implementation. The
  445. uri's scheme determines the config property (fs.SCHEME.impl) naming
  446. the FileSystem implementation class. The uri's authority is used to
  447. determine the host, port, etc. for a filesystem.</description>
  448. </property>
  449. <property>
  450. <name>fs.default.name</name>
  451. <value>file:///</value>
  452. <description>Deprecated. Use (fs.defaultFS) property
  453. instead</description>
  454. </property>
  455. <property>
  456. <name>fs.trash.interval</name>
  457. <value>0</value>
  458. <description>Number of minutes after which the checkpoint
  459. gets deleted. If zero, the trash feature is disabled.
  460. This option may be configured both on the server and the
  461. client. If trash is disabled server side then the client
  462. side configuration is checked. If trash is enabled on the
  463. server side then the value configured on the server is
  464. used and the client configuration value is ignored.
  465. </description>
  466. </property>
  467. <property>
  468. <name>fs.trash.checkpoint.interval</name>
  469. <value>0</value>
  470. <description>Number of minutes between trash checkpoints.
  471. Should be smaller or equal to fs.trash.interval. If zero,
  472. the value is set to the value of fs.trash.interval.
  473. Every time the checkpointer runs it creates a new checkpoint
  474. out of current and removes checkpoints created more than
  475. fs.trash.interval minutes ago.
  476. </description>
  477. </property>
  478. <property>
  479. <name>fs.AbstractFileSystem.file.impl</name>
  480. <value>org.apache.hadoop.fs.local.LocalFs</value>
  481. <description>The AbstractFileSystem for file: uris.</description>
  482. </property>
  483. <property>
  484. <name>fs.AbstractFileSystem.har.impl</name>
  485. <value>org.apache.hadoop.fs.HarFs</value>
  486. <description>The AbstractFileSystem for har: uris.</description>
  487. </property>
  488. <property>
  489. <name>fs.AbstractFileSystem.hdfs.impl</name>
  490. <value>org.apache.hadoop.fs.Hdfs</value>
  491. <description>The FileSystem for hdfs: uris.</description>
  492. </property>
  493. <property>
  494. <name>fs.AbstractFileSystem.viewfs.impl</name>
  495. <value>org.apache.hadoop.fs.viewfs.ViewFs</value>
  496. <description>The AbstractFileSystem for view file system for viewfs: uris
  497. (ie client side mount table:).</description>
  498. </property>
  499. <property>
  500. <name>fs.ftp.host</name>
  501. <value>0.0.0.0</value>
  502. <description>FTP filesystem connects to this server</description>
  503. </property>
  504. <property>
  505. <name>fs.ftp.host.port</name>
  506. <value>21</value>
  507. <description>
  508. FTP filesystem connects to fs.ftp.host on this port
  509. </description>
  510. </property>
  511. <property>
  512. <name>fs.df.interval</name>
  513. <value>60000</value>
  514. <description>Disk usage statistics refresh interval in msec.</description>
  515. </property>
  516. <property>
  517. <name>fs.du.interval</name>
  518. <value>600000</value>
  519. <description>File space usage statistics refresh interval in msec.</description>
  520. </property>
  521. <property>
  522. <name>fs.s3.block.size</name>
  523. <value>67108864</value>
  524. <description>Block size to use when writing files to S3.</description>
  525. </property>
  526. <property>
  527. <name>fs.s3.buffer.dir</name>
  528. <value>${hadoop.tmp.dir}/s3</value>
  529. <description>Determines where on the local filesystem the S3 filesystem
  530. should store files before sending them to S3
  531. (or after retrieving them from S3).
  532. </description>
  533. </property>
  534. <property>
  535. <name>fs.s3.maxRetries</name>
  536. <value>4</value>
  537. <description>The maximum number of retries for reading or writing files to S3,
  538. before we signal failure to the application.
  539. </description>
  540. </property>
  541. <property>
  542. <name>fs.s3.sleepTimeSeconds</name>
  543. <value>10</value>
  544. <description>The number of seconds to sleep between each S3 retry.
  545. </description>
  546. </property>
  547. <property>
  548. <name>fs.swift.impl</name>
  549. <value>org.apache.hadoop.fs.swift.snative.SwiftNativeFileSystem</value>
  550. <description>The implementation class of the OpenStack Swift Filesystem</description>
  551. </property>
  552. <property>
  553. <name>fs.automatic.close</name>
  554. <value>true</value>
  555. <description>By default, FileSystem instances are automatically closed at program
  556. exit using a JVM shutdown hook. Setting this property to false disables this
  557. behavior. This is an advanced option that should only be used by server applications
  558. requiring a more carefully orchestrated shutdown sequence.
  559. </description>
  560. </property>
  561. <property>
  562. <name>fs.s3n.block.size</name>
  563. <value>67108864</value>
  564. <description>Block size to use when reading files using the native S3
  565. filesystem (s3n: URIs).</description>
  566. </property>
  567. <property>
  568. <name>fs.s3n.multipart.uploads.enabled</name>
  569. <value>false</value>
  570. <description>Setting this property to true enables multiple uploads to
  571. native S3 filesystem. When uploading a file, it is split into blocks
  572. if the size is larger than fs.s3n.multipart.uploads.block.size.
  573. </description>
  574. </property>
  575. <property>
  576. <name>fs.s3n.multipart.uploads.block.size</name>
  577. <value>67108864</value>
  578. <description>The block size for multipart uploads to native S3 filesystem.
  579. Default size is 64MB.
  580. </description>
  581. </property>
  582. <property>
  583. <name>fs.s3n.multipart.copy.block.size</name>
  584. <value>5368709120</value>
  585. <description>The block size for multipart copy in native S3 filesystem.
  586. Default size is 5GB.
  587. </description>
  588. </property>
  589. <property>
  590. <name>fs.s3n.server-side-encryption-algorithm</name>
  591. <value></value>
  592. <description>Specify a server-side encryption algorithm for S3.
  593. The default is NULL, and the only other currently allowable value is AES256.
  594. </description>
  595. </property>
  596. <property>
  597. <name>fs.s3a.access.key</name>
  598. <description>AWS access key ID. Omit for Role-based authentication.</description>
  599. </property>
  600. <property>
  601. <name>fs.s3a.secret.key</name>
  602. <description>AWS secret key. Omit for Role-based authentication.</description>
  603. </property>
  604. <property>
  605. <name>fs.s3a.connection.maximum</name>
  606. <value>15</value>
  607. <description>Controls the maximum number of simultaneous connections to S3.</description>
  608. </property>
  609. <property>
  610. <name>fs.s3a.connection.ssl.enabled</name>
  611. <value>true</value>
  612. <description>Enables or disables SSL connections to S3.</description>
  613. </property>
  614. <property>
  615. <name>fs.s3a.attempts.maximum</name>
  616. <value>10</value>
  617. <description>How many times we should retry commands on transient errors.</description>
  618. </property>
  619. <property>
  620. <name>fs.s3a.connection.timeout</name>
  621. <value>50000</value>
  622. <description>Socket connection timeout in seconds.</description>
  623. </property>
  624. <property>
  625. <name>fs.s3a.paging.maximum</name>
  626. <value>5000</value>
  627. <description>How many keys to request from S3 when doing
  628. directory listings at a time.</description>
  629. </property>
  630. <property>
  631. <name>fs.s3a.multipart.size</name>
  632. <value>104857600</value>
  633. <description>How big (in bytes) to split upload or copy operations up into.</description>
  634. </property>
  635. <property>
  636. <name>fs.s3a.multipart.threshold</name>
  637. <value>2147483647</value>
  638. <description>Threshold before uploads or copies use parallel multipart operations.</description>
  639. </property>
  640. <property>
  641. <name>fs.s3a.acl.default</name>
  642. <description>Set a canned ACL for newly created and copied objects. Value may be private,
  643. public-read, public-read-write, authenticated-read, log-delivery-write,
  644. bucket-owner-read, or bucket-owner-full-control.</description>
  645. </property>
  646. <property>
  647. <name>fs.s3a.multipart.purge</name>
  648. <value>false</value>
  649. <description>True if you want to purge existing multipart uploads that may not have been
  650. completed/aborted correctly</description>
  651. </property>
  652. <property>
  653. <name>fs.s3a.multipart.purge.age</name>
  654. <value>86400</value>
  655. <description>Minimum age in seconds of multipart uploads to purge</description>
  656. </property>
  657. <property>
  658. <name>fs.s3a.buffer.dir</name>
  659. <value>${hadoop.tmp.dir}/s3a</value>
  660. <description>Comma separated list of directories that will be used to buffer file
  661. uploads to.</description>
  662. </property>
  663. <property>
  664. <name>fs.s3a.impl</name>
  665. <value>org.apache.hadoop.fs.s3a.S3AFileSystem</value>
  666. <description>The implementation class of the S3A Filesystem</description>
  667. </property>
  668. <property>
  669. <name>io.seqfile.compress.blocksize</name>
  670. <value>1000000</value>
  671. <description>The minimum block size for compression in block compressed
  672. SequenceFiles.
  673. </description>
  674. </property>
  675. <property>
  676. <name>io.seqfile.lazydecompress</name>
  677. <value>true</value>
  678. <description>Should values of block-compressed SequenceFiles be decompressed
  679. only when necessary.
  680. </description>
  681. </property>
  682. <property>
  683. <name>io.seqfile.sorter.recordlimit</name>
  684. <value>1000000</value>
  685. <description>The limit on number of records to be kept in memory in a spill
  686. in SequenceFiles.Sorter
  687. </description>
  688. </property>
  689. <property>
  690. <name>io.mapfile.bloom.size</name>
  691. <value>1048576</value>
  692. <description>The size of BloomFilter-s used in BloomMapFile. Each time this many
  693. keys is appended the next BloomFilter will be created (inside a DynamicBloomFilter).
  694. Larger values minimize the number of filters, which slightly increases the performance,
  695. but may waste too much space if the total number of keys is usually much smaller
  696. than this number.
  697. </description>
  698. </property>
  699. <property>
  700. <name>io.mapfile.bloom.error.rate</name>
  701. <value>0.005</value>
  702. <description>The rate of false positives in BloomFilter-s used in BloomMapFile.
  703. As this value decreases, the size of BloomFilter-s increases exponentially. This
  704. value is the probability of encountering false positives (default is 0.5%).
  705. </description>
  706. </property>
  707. <property>
  708. <name>hadoop.util.hash.type</name>
  709. <value>murmur</value>
  710. <description>The default implementation of Hash. Currently this can take one of the
  711. two values: 'murmur' to select MurmurHash and 'jenkins' to select JenkinsHash.
  712. </description>
  713. </property>
  714. <!-- ipc properties -->
  715. <property>
  716. <name>ipc.client.idlethreshold</name>
  717. <value>4000</value>
  718. <description>Defines the threshold number of connections after which
  719. connections will be inspected for idleness.
  720. </description>
  721. </property>
  722. <property>
  723. <name>ipc.client.kill.max</name>
  724. <value>10</value>
  725. <description>Defines the maximum number of clients to disconnect in one go.
  726. </description>
  727. </property>
  728. <property>
  729. <name>ipc.client.connection.maxidletime</name>
  730. <value>10000</value>
  731. <description>The maximum time in msec after which a client will bring down the
  732. connection to the server.
  733. </description>
  734. </property>
  735. <property>
  736. <name>ipc.client.connect.max.retries</name>
  737. <value>10</value>
  738. <description>Indicates the number of retries a client will make to establish
  739. a server connection.
  740. </description>
  741. </property>
  742. <property>
  743. <name>ipc.client.connect.retry.interval</name>
  744. <value>1000</value>
  745. <description>Indicates the number of milliseconds a client will wait for
  746. before retrying to establish a server connection.
  747. </description>
  748. </property>
  749. <property>
  750. <name>ipc.client.connect.timeout</name>
  751. <value>20000</value>
  752. <description>Indicates the number of milliseconds a client will wait for the
  753. socket to establish a server connection.
  754. </description>
  755. </property>
  756. <property>
  757. <name>ipc.client.connect.max.retries.on.timeouts</name>
  758. <value>45</value>
  759. <description>Indicates the number of retries a client will make on socket timeout
  760. to establish a server connection.
  761. </description>
  762. </property>
  763. <property>
  764. <name>ipc.server.listen.queue.size</name>
  765. <value>128</value>
  766. <description>Indicates the length of the listen queue for servers accepting
  767. client connections.
  768. </description>
  769. </property>
  770. <!-- Proxy Configuration -->
  771. <property>
  772. <name>hadoop.security.impersonation.provider.class</name>
  773. <value></value>
  774. <description>A class which implements ImpersonationProvider interface, used to
  775. authorize whether one user can impersonate a specific user.
  776. If not specified, the DefaultImpersonationProvider will be used.
  777. If a class is specified, then that class will be used to determine
  778. the impersonation capability.
  779. </description>
  780. </property>
  781. <property>
  782. <name>hadoop.rpc.socket.factory.class.default</name>
  783. <value>org.apache.hadoop.net.StandardSocketFactory</value>
  784. <description> Default SocketFactory to use. This parameter is expected to be
  785. formatted as "package.FactoryClassName".
  786. </description>
  787. </property>
  788. <property>
  789. <name>hadoop.rpc.socket.factory.class.ClientProtocol</name>
  790. <value></value>
  791. <description> SocketFactory to use to connect to a DFS. If null or empty, use
  792. hadoop.rpc.socket.class.default. This socket factory is also used by
  793. DFSClient to create sockets to DataNodes.
  794. </description>
  795. </property>
  796. <property>
  797. <name>hadoop.socks.server</name>
  798. <value></value>
  799. <description> Address (host:port) of the SOCKS server to be used by the
  800. SocksSocketFactory.
  801. </description>
  802. </property>
  803. <!-- Topology Configuration -->
  804. <property>
  805. <name>net.topology.node.switch.mapping.impl</name>
  806. <value>org.apache.hadoop.net.ScriptBasedMapping</value>
  807. <description> The default implementation of the DNSToSwitchMapping. It
  808. invokes a script specified in net.topology.script.file.name to resolve
  809. node names. If the value for net.topology.script.file.name is not set, the
  810. default value of DEFAULT_RACK is returned for all node names.
  811. </description>
  812. </property>
  813. <property>
  814. <name>net.topology.impl</name>
  815. <value>org.apache.hadoop.net.NetworkTopology</value>
  816. <description> The default implementation of NetworkTopology which is classic three layer one.
  817. </description>
  818. </property>
  819. <property>
  820. <name>net.topology.script.file.name</name>
  821. <value></value>
  822. <description> The script name that should be invoked to resolve DNS names to
  823. NetworkTopology names. Example: the script would take host.foo.bar as an
  824. argument, and return /rack1 as the output.
  825. </description>
  826. </property>
  827. <property>
  828. <name>net.topology.script.number.args</name>
  829. <value>100</value>
  830. <description> The max number of args that the script configured with
  831. net.topology.script.file.name should be run with. Each arg is an
  832. IP address.
  833. </description>
  834. </property>
  835. <property>
  836. <name>net.topology.table.file.name</name>
  837. <value></value>
  838. <description> The file name for a topology file, which is used when the
  839. net.topology.node.switch.mapping.impl property is set to
  840. org.apache.hadoop.net.TableMapping. The file format is a two column text
  841. file, with columns separated by whitespace. The first column is a DNS or
  842. IP address and the second column specifies the rack where the address maps.
  843. If no entry corresponding to a host in the cluster is found, then
  844. /default-rack is assumed.
  845. </description>
  846. </property>
  847. <!-- Local file system -->
  848. <property>
  849. <name>file.stream-buffer-size</name>
  850. <value>4096</value>
  851. <description>The size of buffer to stream files.
  852. The size of this buffer should probably be a multiple of hardware
  853. page size (4096 on Intel x86), and it determines how much data is
  854. buffered during read and write operations.</description>
  855. </property>
  856. <property>
  857. <name>file.bytes-per-checksum</name>
  858. <value>512</value>
  859. <description>The number of bytes per checksum. Must not be larger than
  860. file.stream-buffer-size</description>
  861. </property>
  862. <property>
  863. <name>file.client-write-packet-size</name>
  864. <value>65536</value>
  865. <description>Packet size for clients to write</description>
  866. </property>
  867. <property>
  868. <name>file.blocksize</name>
  869. <value>67108864</value>
  870. <description>Block size</description>
  871. </property>
  872. <property>
  873. <name>file.replication</name>
  874. <value>1</value>
  875. <description>Replication factor</description>
  876. </property>
  877. <!-- s3 File System -->
  878. <property>
  879. <name>s3.stream-buffer-size</name>
  880. <value>4096</value>
  881. <description>The size of buffer to stream files.
  882. The size of this buffer should probably be a multiple of hardware
  883. page size (4096 on Intel x86), and it determines how much data is
  884. buffered during read and write operations.</description>
  885. </property>
  886. <property>
  887. <name>s3.bytes-per-checksum</name>
  888. <value>512</value>
  889. <description>The number of bytes per checksum. Must not be larger than
  890. s3.stream-buffer-size</description>
  891. </property>
  892. <property>
  893. <name>s3.client-write-packet-size</name>
  894. <value>65536</value>
  895. <description>Packet size for clients to write</description>
  896. </property>
  897. <property>
  898. <name>s3.blocksize</name>
  899. <value>67108864</value>
  900. <description>Block size</description>
  901. </property>
  902. <property>
  903. <name>s3.replication</name>
  904. <value>3</value>
  905. <description>Replication factor</description>
  906. </property>
  907. <!-- s3native File System -->
  908. <property>
  909. <name>s3native.stream-buffer-size</name>
  910. <value>4096</value>
  911. <description>The size of buffer to stream files.
  912. The size of this buffer should probably be a multiple of hardware
  913. page size (4096 on Intel x86), and it determines how much data is
  914. buffered during read and write operations.</description>
  915. </property>
  916. <property>
  917. <name>s3native.bytes-per-checksum</name>
  918. <value>512</value>
  919. <description>The number of bytes per checksum. Must not be larger than
  920. s3native.stream-buffer-size</description>
  921. </property>
  922. <property>
  923. <name>s3native.client-write-packet-size</name>
  924. <value>65536</value>
  925. <description>Packet size for clients to write</description>
  926. </property>
  927. <property>
  928. <name>s3native.blocksize</name>
  929. <value>67108864</value>
  930. <description>Block size</description>
  931. </property>
  932. <property>
  933. <name>s3native.replication</name>
  934. <value>3</value>
  935. <description>Replication factor</description>
  936. </property>
  937. <!-- FTP file system -->
  938. <property>
  939. <name>ftp.stream-buffer-size</name>
  940. <value>4096</value>
  941. <description>The size of buffer to stream files.
  942. The size of this buffer should probably be a multiple of hardware
  943. page size (4096 on Intel x86), and it determines how much data is
  944. buffered during read and write operations.</description>
  945. </property>
  946. <property>
  947. <name>ftp.bytes-per-checksum</name>
  948. <value>512</value>
  949. <description>The number of bytes per checksum. Must not be larger than
  950. ftp.stream-buffer-size</description>
  951. </property>
  952. <property>
  953. <name>ftp.client-write-packet-size</name>
  954. <value>65536</value>
  955. <description>Packet size for clients to write</description>
  956. </property>
  957. <property>
  958. <name>ftp.blocksize</name>
  959. <value>67108864</value>
  960. <description>Block size</description>
  961. </property>
  962. <property>
  963. <name>ftp.replication</name>
  964. <value>3</value>
  965. <description>Replication factor</description>
  966. </property>
  967. <!-- Tfile -->
  968. <property>
  969. <name>tfile.io.chunk.size</name>
  970. <value>1048576</value>
  971. <description>
  972. Value chunk size in bytes. Default to
  973. 1MB. Values of the length less than the chunk size is
  974. guaranteed to have known value length in read time (See also
  975. TFile.Reader.Scanner.Entry.isValueLengthKnown()).
  976. </description>
  977. </property>
  978. <property>
  979. <name>tfile.fs.output.buffer.size</name>
  980. <value>262144</value>
  981. <description>
  982. Buffer size used for FSDataOutputStream in bytes.
  983. </description>
  984. </property>
  985. <property>
  986. <name>tfile.fs.input.buffer.size</name>
  987. <value>262144</value>
  988. <description>
  989. Buffer size used for FSDataInputStream in bytes.
  990. </description>
  991. </property>
  992. <!-- HTTP web-consoles Authentication -->
  993. <property>
  994. <name>hadoop.http.authentication.type</name>
  995. <value>simple</value>
  996. <description>
  997. Defines authentication used for Oozie HTTP endpoint.
  998. Supported values are: simple | kerberos | #AUTHENTICATION_HANDLER_CLASSNAME#
  999. </description>
  1000. </property>
  1001. <property>
  1002. <name>hadoop.http.authentication.token.validity</name>
  1003. <value>36000</value>
  1004. <description>
  1005. Indicates how long (in seconds) an authentication token is valid before it has
  1006. to be renewed.
  1007. </description>
  1008. </property>
  1009. <property>
  1010. <name>hadoop.http.authentication.signature.secret.file</name>
  1011. <value>${user.home}/hadoop-http-auth-signature-secret</value>
  1012. <description>
  1013. The signature secret for signing the authentication tokens.
  1014. The same secret should be used for JT/NN/DN/TT configurations.
  1015. </description>
  1016. </property>
  1017. <property>
  1018. <name>hadoop.http.authentication.cookie.domain</name>
  1019. <value></value>
  1020. <description>
  1021. The domain to use for the HTTP cookie that stores the authentication token.
  1022. In order to authentiation to work correctly across all Hadoop nodes web-consoles
  1023. the domain must be correctly set.
  1024. IMPORTANT: when using IP addresses, browsers ignore cookies with domain settings.
  1025. For this setting to work properly all nodes in the cluster must be configured
  1026. to generate URLs with hostname.domain names on it.
  1027. </description>
  1028. </property>
  1029. <property>
  1030. <name>hadoop.http.authentication.simple.anonymous.allowed</name>
  1031. <value>true</value>
  1032. <description>
  1033. Indicates if anonymous requests are allowed when using 'simple' authentication.
  1034. </description>
  1035. </property>
  1036. <property>
  1037. <name>hadoop.http.authentication.kerberos.principal</name>
  1038. <value>HTTP/_HOST@LOCALHOST</value>
  1039. <description>
  1040. Indicates the Kerberos principal to be used for HTTP endpoint.
  1041. The principal MUST start with 'HTTP/' as per Kerberos HTTP SPNEGO specification.
  1042. </description>
  1043. </property>
  1044. <property>
  1045. <name>hadoop.http.authentication.kerberos.keytab</name>
  1046. <value>${user.home}/hadoop.keytab</value>
  1047. <description>
  1048. Location of the keytab file with the credentials for the principal.
  1049. Referring to the same keytab file Oozie uses for its Kerberos credentials for Hadoop.
  1050. </description>
  1051. </property>
  1052. <property>
  1053. <name>dfs.ha.fencing.methods</name>
  1054. <value></value>
  1055. <description>
  1056. List of fencing methods to use for service fencing. May contain
  1057. builtin methods (eg shell and sshfence) or user-defined method.
  1058. </description>
  1059. </property>
  1060. <property>
  1061. <name>dfs.ha.fencing.ssh.connect-timeout</name>
  1062. <value>30000</value>
  1063. <description>
  1064. SSH connection timeout, in milliseconds, to use with the builtin
  1065. sshfence fencer.
  1066. </description>
  1067. </property>
  1068. <property>
  1069. <name>dfs.ha.fencing.ssh.private-key-files</name>
  1070. <value></value>
  1071. <description>
  1072. The SSH private key files to use with the builtin sshfence fencer.
  1073. </description>
  1074. </property>
  1075. <!-- Static Web User Filter properties. -->
  1076. <property>
  1077. <description>
  1078. The user name to filter as, on static web filters
  1079. while rendering content. An example use is the HDFS
  1080. web UI (user to be used for browsing files).
  1081. </description>
  1082. <name>hadoop.http.staticuser.user</name>
  1083. <value>dr.who</value>
  1084. </property>
  1085. <property>
  1086. <name>ha.zookeeper.quorum</name>
  1087. <description>
  1088. A list of ZooKeeper server addresses, separated by commas, that are
  1089. to be used by the ZKFailoverController in automatic failover.
  1090. </description>
  1091. </property>
  1092. <property>
  1093. <name>ha.zookeeper.session-timeout.ms</name>
  1094. <value>5000</value>
  1095. <description>
  1096. The session timeout to use when the ZKFC connects to ZooKeeper.
  1097. Setting this value to a lower value implies that server crashes
  1098. will be detected more quickly, but risks triggering failover too
  1099. aggressively in the case of a transient error or network blip.
  1100. </description>
  1101. </property>
  1102. <property>
  1103. <name>ha.zookeeper.parent-znode</name>
  1104. <value>/hadoop-ha</value>
  1105. <description>
  1106. The ZooKeeper znode under which the ZK failover controller stores
  1107. its information. Note that the nameservice ID is automatically
  1108. appended to this znode, so it is not normally necessary to
  1109. configure this, even in a federated environment.
  1110. </description>
  1111. </property>
  1112. <property>
  1113. <name>ha.zookeeper.acl</name>
  1114. <value>world:anyone:rwcda</value>
  1115. <description>
  1116. A comma-separated list of ZooKeeper ACLs to apply to the znodes
  1117. used by automatic failover. These ACLs are specified in the same
  1118. format as used by the ZooKeeper CLI.
  1119. If the ACL itself contains secrets, you may instead specify a
  1120. path to a file, prefixed with the '@' symbol, and the value of
  1121. this configuration will be loaded from within.
  1122. </description>
  1123. </property>
  1124. <property>
  1125. <name>ha.zookeeper.auth</name>
  1126. <value></value>
  1127. <description>
  1128. A comma-separated list of ZooKeeper authentications to add when
  1129. connecting to ZooKeeper. These are specified in the same format
  1130. as used by the &quot;addauth&quot; command in the ZK CLI. It is
  1131. important that the authentications specified here are sufficient
  1132. to access znodes with the ACL specified in ha.zookeeper.acl.
  1133. If the auths contain secrets, you may instead specify a
  1134. path to a file, prefixed with the '@' symbol, and the value of
  1135. this configuration will be loaded from within.
  1136. </description>
  1137. </property>
  1138. <!-- SSLFactory configuration -->
  1139. <property>
  1140. <name>hadoop.ssl.keystores.factory.class</name>
  1141. <value>org.apache.hadoop.security.ssl.FileBasedKeyStoresFactory</value>
  1142. <description>
  1143. The keystores factory to use for retrieving certificates.
  1144. </description>
  1145. </property>
  1146. <property>
  1147. <name>hadoop.ssl.require.client.cert</name>
  1148. <value>false</value>
  1149. <description>Whether client certificates are required</description>
  1150. </property>
  1151. <property>
  1152. <name>hadoop.ssl.hostname.verifier</name>
  1153. <value>DEFAULT</value>
  1154. <description>
  1155. The hostname verifier to provide for HttpsURLConnections.
  1156. Valid values are: DEFAULT, STRICT, STRICT_I6, DEFAULT_AND_LOCALHOST and
  1157. ALLOW_ALL
  1158. </description>
  1159. </property>
  1160. <property>
  1161. <name>hadoop.ssl.server.conf</name>
  1162. <value>ssl-server.xml</value>
  1163. <description>
  1164. Resource file from which ssl server keystore information will be extracted.
  1165. This file is looked up in the classpath, typically it should be in Hadoop
  1166. conf/ directory.
  1167. </description>
  1168. </property>
  1169. <property>
  1170. <name>hadoop.ssl.client.conf</name>
  1171. <value>ssl-client.xml</value>
  1172. <description>
  1173. Resource file from which ssl client keystore information will be extracted
  1174. This file is looked up in the classpath, typically it should be in Hadoop
  1175. conf/ directory.
  1176. </description>
  1177. </property>
  1178. <property>
  1179. <name>hadoop.ssl.enabled</name>
  1180. <value>false</value>
  1181. <description>
  1182. Deprecated. Use dfs.http.policy and yarn.http.policy instead.
  1183. </description>
  1184. </property>
  1185. <property>
  1186. <name>hadoop.ssl.enabled.protocols</name>
  1187. <value>TLSv1</value>
  1188. <description>
  1189. Protocols supported by the ssl.
  1190. </description>
  1191. </property>
  1192. <property>
  1193. <name>hadoop.jetty.logs.serve.aliases</name>
  1194. <value>true</value>
  1195. <description>
  1196. Enable/Disable aliases serving from jetty
  1197. </description>
  1198. </property>
  1199. <property>
  1200. <name>fs.permissions.umask-mode</name>
  1201. <value>022</value>
  1202. <description>
  1203. The umask used when creating files and directories.
  1204. Can be in octal or in symbolic. Examples are:
  1205. "022" (octal for u=rwx,g=r-x,o=r-x in symbolic),
  1206. or "u=rwx,g=rwx,o=" (symbolic for 007 in octal).
  1207. </description>
  1208. </property>
  1209. <!-- ha properties -->
  1210. <property>
  1211. <name>ha.health-monitor.connect-retry-interval.ms</name>
  1212. <value>1000</value>
  1213. <description>
  1214. How often to retry connecting to the service.
  1215. </description>
  1216. </property>
  1217. <property>
  1218. <name>ha.health-monitor.check-interval.ms</name>
  1219. <value>1000</value>
  1220. <description>
  1221. How often to check the service.
  1222. </description>
  1223. </property>
  1224. <property>
  1225. <name>ha.health-monitor.sleep-after-disconnect.ms</name>
  1226. <value>1000</value>
  1227. <description>
  1228. How long to sleep after an unexpected RPC error.
  1229. </description>
  1230. </property>
  1231. <property>
  1232. <name>ha.health-monitor.rpc-timeout.ms</name>
  1233. <value>45000</value>
  1234. <description>
  1235. Timeout for the actual monitorHealth() calls.
  1236. </description>
  1237. </property>
  1238. <property>
  1239. <name>ha.failover-controller.new-active.rpc-timeout.ms</name>
  1240. <value>60000</value>
  1241. <description>
  1242. Timeout that the FC waits for the new active to become active
  1243. </description>
  1244. </property>
  1245. <property>
  1246. <name>ha.failover-controller.graceful-fence.rpc-timeout.ms</name>
  1247. <value>5000</value>
  1248. <description>
  1249. Timeout that the FC waits for the old active to go to standby
  1250. </description>
  1251. </property>
  1252. <property>
  1253. <name>ha.failover-controller.graceful-fence.connection.retries</name>
  1254. <value>1</value>
  1255. <description>
  1256. FC connection retries for graceful fencing
  1257. </description>
  1258. </property>
  1259. <property>
  1260. <name>ha.failover-controller.cli-check.rpc-timeout.ms</name>
  1261. <value>20000</value>
  1262. <description>
  1263. Timeout that the CLI (manual) FC waits for monitorHealth, getServiceState
  1264. </description>
  1265. </property>
  1266. <property>
  1267. <name>ipc.client.fallback-to-simple-auth-allowed</name>
  1268. <value>false</value>
  1269. <description>
  1270. When a client is configured to attempt a secure connection, but attempts to
  1271. connect to an insecure server, that server may instruct the client to
  1272. switch to SASL SIMPLE (unsecure) authentication. This setting controls
  1273. whether or not the client will accept this instruction from the server.
  1274. When false (the default), the client will not allow the fallback to SIMPLE
  1275. authentication, and will abort the connection.
  1276. </description>
  1277. </property>
  1278. <property>
  1279. <name>fs.client.resolve.remote.symlinks</name>
  1280. <value>true</value>
  1281. <description>
  1282. Whether to resolve symlinks when accessing a remote Hadoop filesystem.
  1283. Setting this to false causes an exception to be thrown upon encountering
  1284. a symlink. This setting does not apply to local filesystems, which
  1285. automatically resolve local symlinks.
  1286. </description>
  1287. </property>
  1288. <property>
  1289. <name>nfs.exports.allowed.hosts</name>
  1290. <value>* rw</value>
  1291. <description>
  1292. By default, the export can be mounted by any client. The value string
  1293. contains machine name and access privilege, separated by whitespace
  1294. characters. The machine name format can be a single host, a Java regular
  1295. expression, or an IPv4 address. The access privilege uses rw or ro to
  1296. specify read/write or read-only access of the machines to exports. If the
  1297. access privilege is not provided, the default is read-only. Entries are separated by ";".
  1298. For example: "192.168.0.0/22 rw ; host.*\.example\.com ; host1.test.org ro;".
  1299. Only the NFS gateway needs to restart after this property is updated.
  1300. </description>
  1301. </property>
  1302. <property>
  1303. <name>hadoop.user.group.static.mapping.overrides</name>
  1304. <value>dr.who=;</value>
  1305. <description>
  1306. Static mapping of user to groups. This will override the groups if
  1307. available in the system for the specified user. In otherwords, groups
  1308. look-up will not happen for these users, instead groups mapped in this
  1309. configuration will be used.
  1310. Mapping should be in this format.
  1311. user1=group1,group2;user2=;user3=group2;
  1312. Default, "dr.who=;" will consider "dr.who" as user without groups.
  1313. </description>
  1314. </property>
  1315. <property>
  1316. <name>rpc.metrics.quantile.enable</name>
  1317. <value>false</value>
  1318. <description>
  1319. Setting this property to true and rpc.metrics.percentiles.intervals
  1320. to a comma-separated list of the granularity in seconds, the
  1321. 50/75/90/95/99th percentile latency for rpc queue/processing time in
  1322. milliseconds are added to rpc metrics.
  1323. </description>
  1324. </property>
  1325. <property>
  1326. <name>rpc.metrics.percentiles.intervals</name>
  1327. <value></value>
  1328. <description>
  1329. A comma-separated list of the granularity in seconds for the metrics which
  1330. describe the 50/75/90/95/99th percentile latency for rpc queue/processing
  1331. time. The metrics are outputted if rpc.metrics.quantile.enable is set to
  1332. true.
  1333. </description>
  1334. </property>
  1335. <property>
  1336. <name>hadoop.security.crypto.codec.classes.EXAMPLECIPHERSUITE</name>
  1337. <value></value>
  1338. <description>
  1339. The prefix for a given crypto codec, contains a comma-separated
  1340. list of implementation classes for a given crypto codec (eg EXAMPLECIPHERSUITE).
  1341. The first implementation will be used if available, others are fallbacks.
  1342. </description>
  1343. </property>
  1344. <property>
  1345. <name>hadoop.security.crypto.codec.classes.aes.ctr.nopadding</name>
  1346. <value>org.apache.hadoop.crypto.OpensslAesCtrCryptoCodec,org.apache.hadoop.crypto.JceAesCtrCryptoCodec</value>
  1347. <description>
  1348. Comma-separated list of crypto codec implementations for AES/CTR/NoPadding.
  1349. The first implementation will be used if available, others are fallbacks.
  1350. </description>
  1351. </property>
  1352. <property>
  1353. <name>hadoop.security.crypto.cipher.suite</name>
  1354. <value>AES/CTR/NoPadding</value>
  1355. <description>
  1356. Cipher suite for crypto codec.
  1357. </description>
  1358. </property>
  1359. <property>
  1360. <name>hadoop.security.crypto.jce.provider</name>
  1361. <value></value>
  1362. <description>
  1363. The JCE provider name used in CryptoCodec.
  1364. </description>
  1365. </property>
  1366. <property>
  1367. <name>hadoop.security.crypto.buffer.size</name>
  1368. <value>8192</value>
  1369. <description>
  1370. The buffer size used by CryptoInputStream and CryptoOutputStream.
  1371. </description>
  1372. </property>
  1373. <property>
  1374. <name>hadoop.security.java.secure.random.algorithm</name>
  1375. <value>SHA1PRNG</value>
  1376. <description>
  1377. The java secure random algorithm.
  1378. </description>
  1379. </property>
  1380. <property>
  1381. <name>hadoop.security.secure.random.impl</name>
  1382. <value></value>
  1383. <description>
  1384. Implementation of secure random.
  1385. </description>
  1386. </property>
  1387. <property>
  1388. <name>hadoop.security.random.device.file.path</name>
  1389. <value>/dev/urandom</value>
  1390. <description>
  1391. OS security random device file path.
  1392. </description>
  1393. </property>
  1394. <property>
  1395. <name>fs.har.impl.disable.cache</name>
  1396. <value>true</value>
  1397. <description>Don't cache 'har' filesystem instances.</description>
  1398. </property>
  1399. <!--- KMSClientProvider configurations -->
  1400. <property>
  1401. <name>hadoop.security.kms.client.authentication.retry-count</name>
  1402. <value>1</value>
  1403. <description>
  1404. Number of time to retry connecting to KMS on authentication failure
  1405. </description>
  1406. </property>
  1407. <property>
  1408. <name>hadoop.security.kms.client.encrypted.key.cache.size</name>
  1409. <value>500</value>
  1410. <description>
  1411. Size of the EncryptedKeyVersion cache Queue for each key
  1412. </description>
  1413. </property>
  1414. <property>
  1415. <name>hadoop.security.kms.client.encrypted.key.cache.low-watermark</name>
  1416. <value>0.3f</value>
  1417. <description>
  1418. If size of the EncryptedKeyVersion cache Queue falls below the
  1419. low watermark, this cache queue will be scheduled for a refill
  1420. </description>
  1421. </property>
  1422. <property>
  1423. <name>hadoop.security.kms.client.encrypted.key.cache.num.refill.threads</name>
  1424. <value>2</value>
  1425. <description>
  1426. Number of threads to use for refilling depleted EncryptedKeyVersion
  1427. cache Queues
  1428. </description>
  1429. </property>
  1430. <property>
  1431. <name>hadoop.security.kms.client.encrypted.key.cache.expiry</name>
  1432. <value>43200000</value>
  1433. <description>
  1434. Cache expiry time for a Key, after which the cache Queue for this
  1435. key will be dropped. Default = 12hrs
  1436. </description>
  1437. </property>
  1438. <property>
  1439. <name>hadoop.htrace.spanreceiver.classes</name>
  1440. <value></value>
  1441. <description>
  1442. A comma separated list of the fully-qualified class name of classes
  1443. implementing SpanReceiver. The tracing system works by collecting
  1444. information in structs called 'Spans'. It is up to you to choose
  1445. how you want to receive this information by implementing the
  1446. SpanReceiver interface.
  1447. </description>
  1448. </property>
  1449. <property>
  1450. <name>ipc.server.max.connections</name>
  1451. <value>0</value>
  1452. <description>The maximum number of concurrent connections a server is allowed
  1453. to accept. If this limit is exceeded, incoming connections will first fill
  1454. the listen queue and then may go to an OS-specific listen overflow queue.
  1455. The client may fail or timeout, but the server can avoid running out of file
  1456. descriptors using this feature. 0 means no limit.
  1457. </description>
  1458. </property>
  1459. </configuration>