hdfs-site.xml 928 B

123456789101112131415161718192021222324252627282930
  1. <?xml version="1.0"?>
  2. <configuration>
  3. <property>
  4. <name>dfs.http.address</name>
  5. <value>0.0.0.0:50070</value>
  6. </property>
  7. <property>
  8. <name>dfs.secondary.http.address</name>
  9. <value>data-hadoop-slave:50090</value>
  10. </property>
  11. <property>
  12. <name>dfs.namenode.name.dir</name>
  13. <value>file:///root/hdfs/namenode</value>
  14. <description>NameNode directory for namespace and transaction logs storage.</description>
  15. </property>
  16. <property>
  17. <name>dfs.datanode.data.dir</name>
  18. <value>file:///root/hdfs/datanode</value>
  19. <description>DataNode directory</description>
  20. </property>
  21. <property>
  22. <name>dfs.replication</name>
  23. <value>2</value>
  24. </property>
  25. <property>
  26. <name>dfs.block.size</name>
  27. <value>134217728</value>
  28. <!--value>67108864</value-->
  29. </property>
  30. </configuration>