hdfs-site.xml 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--Autogenerated by Cloudera Manager-->
  3. <configuration>
  4. <property>
  5. <name>dfs.nameservices</name>
  6. <value>nameservice1</value>
  7. </property>
  8. <property>
  9. <name>dfs.client.failover.proxy.provider.nameservice1</name>
  10. <value>org.apache.hadoop.hdfs.server.namenode.ha.ConfiguredFailoverProxyProvider</value>
  11. </property>
  12. <property>
  13. <name>dfs.ha.automatic-failover.enabled.nameservice1</name>
  14. <value>true</value>
  15. </property>
  16. <property>
  17. <name>ha.zookeeper.quorum</name>
  18. <value>10.116.1.76,10.116.1.77,10.116.1.78</value>
  19. <!-- <value>cdhtestdn06.yili.com:2181,cdhtestdn07.yili.com:2181,cdhtestdn08.yili.com:2181</value> -->
  20. </property>
  21. <property>
  22. <name>dfs.ha.namenodes.nameservice1</name>
  23. <value>namenode96,namenode163</value>
  24. </property>
  25. <property>
  26. <name>dfs.namenode.rpc-address.nameservice1.namenode96</name>
  27. <value>10.119.14.67:8020</value>
  28. <!-- <value>cdhtestnm01.yili.com:8020</value> -->
  29. </property>
  30. <property>
  31. <name>dfs.namenode.servicerpc-address.nameservice1.namenode96</name>
  32. <value>10.119.14.67:8022</value>
  33. <!-- <value>cdhtestnm01.yili.com:8022</value> -->
  34. </property>
  35. <property>
  36. <name>dfs.namenode.http-address.nameservice1.namenode96</name>
  37. <value>10.119.14.67:9870</value>
  38. <!-- <value>cdhtestnm01.yili.com:9870</value> -->
  39. </property>
  40. <property>
  41. <name>dfs.namenode.https-address.nameservice1.namenode96</name>
  42. <value>10.119.14.67:9871</value>
  43. <!-- <value>cdhtestnm01.yili.com:9871</value> -->
  44. </property>
  45. <property>
  46. <name>dfs.namenode.rpc-address.nameservice1.namenode163</name>
  47. <value>10.119.14.68:8020</value>
  48. <!-- <value>cdhtestnm02.yili.com:8020</value> -->
  49. </property>
  50. <property>
  51. <name>dfs.namenode.servicerpc-address.nameservice1.namenode163</name>
  52. <value>10.119.14.68:9871</value>
  53. <!-- <value>cdhtestnm02.yili.com:8022</value> -->
  54. </property>
  55. <property>
  56. <name>dfs.namenode.http-address.nameservice1.namenode163</name>
  57. <value>10.119.14.68:9870</value>
  58. <!-- <value>cdhtestnm02.yili.com:9870</value> -->
  59. </property>
  60. <property>
  61. <name>dfs.namenode.https-address.nameservice1.namenode163</name>
  62. <value>10.119.14.68:9871</value>
  63. <!-- <value>cdhtestnm02.yili.com:9871</value> -->
  64. </property>
  65. <property>
  66. <name>dfs.replication</name>
  67. <value>2</value>
  68. </property>
  69. <property>
  70. <name>dfs.blocksize</name>
  71. <value>134217728</value>
  72. </property>
  73. <property>
  74. <name>dfs.client.use.datanode.hostname</name>
  75. <value>false</value>
  76. </property>
  77. <property>
  78. <name>fs.permissions.umask-mode</name>
  79. <value>022</value>
  80. </property>
  81. <!--'dfs.client.block.write.locateFollowingBlock.retries', originally set to '7' (non-final), is overridden below by a safety valve-->
  82. <property>
  83. <name>dfs.namenode.acls.enabled</name>
  84. <value>true</value>
  85. </property>
  86. <property>
  87. <name>dfs.client.read.shortcircuit</name>
  88. <value>false</value>
  89. </property>
  90. <property>
  91. <name>dfs.domain.socket.path</name>
  92. <value>/var/run/hdfs-sockets/dn</value>
  93. </property>
  94. <property>
  95. <name>dfs.client.read.shortcircuit.skip.checksum</name>
  96. <value>false</value>
  97. </property>
  98. <property>
  99. <name>dfs.client.domain.socket.data.traffic</name>
  100. <value>false</value>
  101. </property>
  102. <property>
  103. <name>dfs.datanode.hdfs-blocks-metadata.enabled</name>
  104. <value>true</value>
  105. </property>
  106. <property>
  107. <name>dfs.client.block.write.locateFollowingBlock.retries</name>
  108. <value>15</value>
  109. </property>
  110. </configuration>