core-default.xml 100 KB

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