hdfs-site.xml 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
  3. <configuration>
  4. <property>
  5. <name>dfs.balance.bandwidthPerSec</name>
  6. <value>10485760</value>
  7. </property>
  8. <property>
  9. <name>dfs.block.access.token.enable</name>
  10. <value>true</value>
  11. </property>
  12. <property>
  13. <name>dfs.blockdfs.webhdfs.enabled.access.token.enable</name>
  14. <value>true</value>
  15. </property>
  16. <property>
  17. <name>dfs.blocksize</name>
  18. <value>134217728</value>
  19. </property>
  20. <property>
  21. <name>dfs.client.block.write.replace-datanode-on-failure.enable</name>
  22. <value>true</value>
  23. </property>
  24. <property>
  25. <name>dfs.client.failover.proxy.provider.HDFS84854</name>
  26. <value>org.apache.hadoop.hdfs.server.namenode.ha.ConfiguredFailoverProxyProvider</value>
  27. </property>
  28. <property>
  29. <name>dfs.client.file-block-storage-locations.timeout.millis</name>
  30. <value>10000</value>
  31. </property>
  32. <property>
  33. <name>dfs.client.read.shortcircuit</name>
  34. <value>true</value>
  35. </property>
  36. <property>
  37. <name>dfs.client.slow.io.warning.threshold.ms</name>
  38. <value>900000</value>
  39. </property>
  40. <property>
  41. <name>dfs.client.socket-timeout</name>
  42. <value>60000</value>
  43. </property>
  44. <property>
  45. <name>dfs.client.use.datanode.hostname</name>
  46. <value>true</value>
  47. </property>
  48. <property>
  49. <name>dfs.datanode.handler.count</name>
  50. <value>128</value>
  51. </property>
  52. <property>
  53. <name>dfs.datanode.hdfs-blocks-metadata.enabled</name>
  54. <value>true</value>
  55. </property>
  56. <property>
  57. <name>dfs.datanode.kerberos.principal</name>
  58. <value>hadoop/_HOST@EMR-56L6ZNTS</value>
  59. </property>
  60. <property>
  61. <name>dfs.datanode.keytab.file</name>
  62. <value>/var/krb5kdc/emr.keytab</value>
  63. </property>
  64. <property>
  65. <name>dfs.datanode.max.transfer.threads</name>
  66. <value>16480</value>
  67. </property>
  68. <property>
  69. <name>dfs.datanode.max.xcievers</name>
  70. <value>8000</value>
  71. </property>
  72. <property>
  73. <name>dfs.datanode.slow.io.warning.threshold.ms</name>
  74. <value>90000</value>
  75. </property>
  76. <property>
  77. <name>dfs.datanode.socket.write.timeout</name>
  78. <value>480000</value>
  79. </property>
  80. <property>
  81. <name>dfs.datanode.use.datanode.hostname</name>
  82. <value>false</value>
  83. </property>
  84. <property>
  85. <name>dfs.domain.socket.path</name>
  86. <value>/var/lib/hadoop/dn</value>
  87. </property>
  88. <property>
  89. <name>dfs.encryption.key.provider.uri</name>
  90. <value></value>
  91. </property>
  92. <property>
  93. <name>dfs.ha.automatic-failover.enabled</name>
  94. <value>true</value>
  95. </property>
  96. <property>
  97. <name>dfs.ha.fencing.methods</name>
  98. <value>shell(/bin/true)</value>
  99. </property>
  100. <property>
  101. <name>dfs.ha.namenodes.HDFS84854</name>
  102. <value>nn1,nn2</value>
  103. </property>
  104. <property>
  105. <name>dfs.heartbeat.interval</name>
  106. <value>2</value>
  107. </property>
  108. <property>
  109. <name>dfs.hosts</name>
  110. <value>/usr/local/service/hadoop/etc/hadoop/hdfshosts</value>
  111. </property>
  112. <property>
  113. <name>dfs.hosts.exclude</name>
  114. <value>/usr/local/service/hadoop/etc/hadoop/hdfsexcludedhosts</value>
  115. </property>
  116. <property>
  117. <name>dfs.journalnode.edits.dir</name>
  118. <value>/data/emr/hdfs/journalnode</value>
  119. </property>
  120. <property>
  121. <name>dfs.journalnode.kerberos.internal.spnego.principal</name>
  122. <value>HTTP/_HOST@EMR-56L6ZNTS</value>
  123. </property>
  124. <property>
  125. <name>dfs.journalnode.kerberos.principal</name>
  126. <value>hadoop/_HOST@EMR-56L6ZNTS</value>
  127. </property>
  128. <property>
  129. <name>dfs.journalnode.keytab.file</name>
  130. <value>/var/krb5kdc/emr.keytab</value>
  131. </property>
  132. <property>
  133. <name>dfs.namenode.datanode.registration.ip-hostname-check</name>
  134. <value>false</value>
  135. </property>
  136. <property>
  137. <name>dfs.namenode.handler.count</name>
  138. <value>64</value>
  139. </property>
  140. <property>
  141. <name>dfs.namenode.heartbeat.recheck-interval</name>
  142. <value>90000</value>
  143. </property>
  144. <property>
  145. <name>dfs.namenode.http-address.HDFS84854.nn1</name>
  146. <value>172.23.21.7:4008</value>
  147. </property>
  148. <property>
  149. <name>dfs.namenode.http-address.HDFS84854.nn2</name>
  150. <value>172.23.21.8:4008</value>
  151. </property>
  152. <property>
  153. <name>dfs.namenode.https-address.HDFS84854.nn1</name>
  154. <value>172.23.21.7:4009</value>
  155. </property>
  156. <property>
  157. <name>dfs.namenode.https-address.HDFS84854.nn2</name>
  158. <value>172.23.21.8:4009</value>
  159. </property>
  160. <property>
  161. <name>dfs.namenode.inode.attributes.provider.class</name>
  162. <value>org.apache.ranger.authorization.hadoop.RangerHdfsAuthorizer</value>
  163. </property>
  164. <property>
  165. <name>dfs.namenode.kerberos.internal.spnego.principal</name>
  166. <value>HTTP/_HOST@EMR-56L6ZNTS</value>
  167. </property>
  168. <property>
  169. <name>dfs.namenode.kerberos.principal</name>
  170. <value>hadoop/_HOST@EMR-56L6ZNTS</value>
  171. </property>
  172. <property>
  173. <name>dfs.namenode.keytab.file</name>
  174. <value>/var/krb5kdc/emr.keytab</value>
  175. </property>
  176. <property>
  177. <name>dfs.namenode.name.dir</name>
  178. <value>/data/emr/hdfs/namenode</value>
  179. </property>
  180. <property>
  181. <name>dfs.namenode.rpc-address.HDFS84854.nn1</name>
  182. <value>172.23.21.7:4007</value>
  183. </property>
  184. <property>
  185. <name>dfs.namenode.rpc-address.HDFS84854.nn2</name>
  186. <value>172.23.21.8:4007</value>
  187. </property>
  188. <property>
  189. <name>dfs.namenode.shared.edits.dir</name>
  190. <value>qjournal://172.23.21.17:4005;172.23.21.15:4005;172.23.21.10:4005/hadoop</value>
  191. </property>
  192. <property>
  193. <name>dfs.nameservices</name>
  194. <value>HDFS84854</value>
  195. </property>
  196. <property>
  197. <name>dfs.permissions</name>
  198. <value>true</value>
  199. </property>
  200. <property>
  201. <name>dfs.permissions.umask-mode</name>
  202. <value>077</value>
  203. </property>
  204. <property>
  205. <name>dfs.replication</name>
  206. <value>3</value>
  207. </property>
  208. <property>
  209. <name>dfs.secondary.namenode.kerberos.internal.spnego.principal</name>
  210. <value>HTTP/_HOST@EMR-56L6ZNTS</value>
  211. </property>
  212. <property>
  213. <name>dfs.secondary.namenode.kerberos.principal</name>
  214. <value>hadoop/_HOST@EMR-56L6ZNTS</value>
  215. </property>
  216. <property>
  217. <name>dfs.secondary.namenode.keytab.file</name>
  218. <value>/var/krb5kdc/emr.keytab</value>
  219. </property>
  220. <property>
  221. <name>dfs.socket.timeout</name>
  222. <value>60000</value>
  223. </property>
  224. <property>
  225. <name>dfs.web.authentication.kerberos.keytab</name>
  226. <value>/var/krb5kdc/emr.keytab</value>
  227. </property>
  228. <property>
  229. <name>dfs.web.authentication.kerberos.principal</name>
  230. <value>HTTP/_HOST@EMR-56L6ZNTS</value>
  231. </property>
  232. <property>
  233. <name>dfs.webhdfs.enabled</name>
  234. <value>true</value>
  235. </property>
  236. <property>
  237. <name>ha.zookeeper.quorum</name>
  238. <value>172.23.21.17:2181,172.23.21.15:2181,172.23.21.10:2181</value>
  239. </property>
  240. <property>
  241. <name>ignore.secure.ports.for.testing</name>
  242. <value>true</value>
  243. </property>
  244. <property>
  245. <name>output.replace-datanode-on-failure</name>
  246. <value>false</value>
  247. </property>
  248. </configuration>