Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <configuration>
- <property>
- <name>dfs.replication</name>
- <value>1</value>
- </property>
- <!-- Immediately exit safemode as soon as one DataNode checks in.
- On a multi-node cluster, these configurations must be removed. -->
- <property>
- <name>dfs.safemode.extension</name>
- <value>0</value>
- </property>
- <property>
- <name>dfs.safemode.min.datanodes</name>
- <value>1</value>
- </property>
- <property>
- <name>hadoop.tmp.dir</name>
- <value>/var/cache/hadoop-hdfs/${user.name}</value>
- </property>
- <property>
- <name>dfs.namenode.name.dir</name>
- <value>file:///var/cache/hadoop-hdfs/hdfs/dfs/namenode</value>
- </property>
- <property>
- <name>dfs.namenode.checkpoint.dir</name>
- <value>file:///var/cache/hadoop-hdfs/hdfs/dfs/secondarynamenode</value>
- </property>
- <property>
- <name>dfs.datanode.data.dir</name>
- <value>file:///var/cache/hadoop-hdfs/hdfs/dfs/datanode</value>
- </property>
- <property>
- <name>dfs.http.address</name>
- <value>0.0.0.0:50070</value>
- </property>
- <property>
- <name>dfs.datanode.address</name>
- <value>0.0.0.0:50010</value>
- </property>
- <property>
- <name>dfs.datanode.http.address</name>
- <value>0.0.0.0:50075</value>
- </property>
- <property>
- <name>dfs.datanode.ipc.address</name>
- <value>0.0.0.0:50020</value>
- </property>
- <property>
- <name>dfs.data.dir</name>
- <value>file:///var/cache/hadoop-hdfs/hdfs/tmp/dfs/name/data</value>
- <final>true</final>
- </property>
- <property>
- <name>dfs.name.dir</name>
- <value>file:///var/cache/hadoop-hdfs/hdfs/tmp/dfs/name</value>
- <final>true</final>
- </property>
- </configuration>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement