hdfs-site.xml 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  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>cdhproddn03.yili.com:2181,cdhproddn04.yili.com:2181,cdhproddn05.yili.com:2181,cdhproddn06.yili.com:2181,cdhproddn07.yili.com:2181</value>
  19. </property>
  20. <property>
  21. <name>dfs.ha.namenodes.nameservice1</name>
  22. <value>namenode149,namenode208</value>
  23. </property>
  24. <property>
  25. <name>dfs.namenode.rpc-address.nameservice1.namenode149</name>
  26. <value>cdhprodnm01.yili.com:8020</value>
  27. </property>
  28. <property>
  29. <name>dfs.namenode.servicerpc-address.nameservice1.namenode149</name>
  30. <value>cdhprodnm01.yili.com:8022</value>
  31. </property>
  32. <property>
  33. <name>dfs.namenode.http-address.nameservice1.namenode149</name>
  34. <value>cdhprodnm01.yili.com:9870</value>
  35. </property>
  36. <property>
  37. <name>dfs.namenode.https-address.nameservice1.namenode149</name>
  38. <value>cdhprodnm01.yili.com:9871</value>
  39. </property>
  40. <property>
  41. <name>dfs.namenode.rpc-address.nameservice1.namenode208</name>
  42. <value>cdhprodnm02.yili.com:8020</value>
  43. </property>
  44. <property>
  45. <name>dfs.namenode.servicerpc-address.nameservice1.namenode208</name>
  46. <value>cdhprodnm02.yili.com:8022</value>
  47. </property>
  48. <property>
  49. <name>dfs.namenode.http-address.nameservice1.namenode208</name>
  50. <value>cdhprodnm02.yili.com:9870</value>
  51. </property>
  52. <property>
  53. <name>dfs.namenode.https-address.nameservice1.namenode208</name>
  54. <value>cdhprodnm02.yili.com:9871</value>
  55. </property>
  56. <property>
  57. <name>dfs.replication</name>
  58. <value>3</value>
  59. </property>
  60. <property>
  61. <name>dfs.blocksize</name>
  62. <value>134217728</value>
  63. </property>
  64. <property>
  65. <name>dfs.client.use.datanode.hostname</name>
  66. <value>false</value>
  67. </property>
  68. <property>
  69. <name>fs.permissions.umask-mode</name>
  70. <value>022</value>
  71. </property>
  72. <property>
  73. <name>dfs.client.block.write.locateFollowingBlock.retries</name>
  74. <value>7</value>
  75. </property>
  76. <property>
  77. <name>dfs.namenode.acls.enabled</name>
  78. <value>true</value>
  79. </property>
  80. <property>
  81. <name>dfs.client.read.shortcircuit</name>
  82. <value>false</value>
  83. </property>
  84. <property>
  85. <name>dfs.domain.socket.path</name>
  86. <value>/var/run/hdfs-sockets/dn</value>
  87. </property>
  88. <property>
  89. <name>dfs.client.read.shortcircuit.skip.checksum</name>
  90. <value>false</value>
  91. </property>
  92. <property>
  93. <name>dfs.client.domain.socket.data.traffic</name>
  94. <value>false</value>
  95. </property>
  96. <property>
  97. <name>dfs.datanode.hdfs-blocks-metadata.enabled</name>
  98. <value>true</value>
  99. </property>
  100. </configuration>