Advertisement
Guest User

hdfs-site.xml

a guest
Oct 21st, 2014
142
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.71 KB | None | 0 0
  1. <configuration>
  2. <property>
  3. <name>dfs.replication</name>
  4. <value>1</value>
  5. </property>
  6. <!-- Immediately exit safemode as soon as one DataNode checks in.
  7. On a multi-node cluster, these configurations must be removed. -->
  8. <property>
  9. <name>dfs.safemode.extension</name>
  10. <value>0</value>
  11. </property>
  12. <property>
  13. <name>dfs.safemode.min.datanodes</name>
  14. <value>1</value>
  15. </property>
  16. <property>
  17. <name>hadoop.tmp.dir</name>
  18. <value>/var/cache/hadoop-hdfs/${user.name}</value>
  19. </property>
  20. <property>
  21. <name>dfs.namenode.name.dir</name>
  22. <value>file:///var/cache/hadoop-hdfs/hdfs/dfs/namenode</value>
  23. </property>
  24. <property>
  25. <name>dfs.namenode.checkpoint.dir</name>
  26. <value>file:///var/cache/hadoop-hdfs/hdfs/dfs/secondarynamenode</value>
  27. </property>
  28. <property>
  29. <name>dfs.datanode.data.dir</name>
  30. <value>file:///var/cache/hadoop-hdfs/hdfs/dfs/datanode</value>
  31. </property>
  32. <property>
  33. <name>dfs.http.address</name>
  34. <value>0.0.0.0:50070</value>
  35. </property>
  36. <property>
  37. <name>dfs.datanode.address</name>
  38. <value>0.0.0.0:50010</value>
  39. </property>
  40. <property>
  41. <name>dfs.datanode.http.address</name>
  42. <value>0.0.0.0:50075</value>
  43. </property>
  44. <property>
  45. <name>dfs.datanode.ipc.address</name>
  46. <value>0.0.0.0:50020</value>
  47. </property>
  48. <property>
  49. <name>dfs.data.dir</name>
  50. <value>file:///var/cache/hadoop-hdfs/hdfs/tmp/dfs/name/data</value>
  51. <final>true</final>
  52. </property>
  53. <property>
  54. <name>dfs.name.dir</name>
  55. <value>file:///var/cache/hadoop-hdfs/hdfs/tmp/dfs/name</value>
  56. <final>true</final>
  57. </property>
  58. </configuration>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement