core-default.xml 80 KB

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