July 2017
Intermediate to advanced
796 pages
18h 55m
English
Five properties (that is, dfs.replication , dfs.namenode.name.dir , fs.checkpoint.dir , fs.checkpoint.edits.dir, and dfs.datanode.data.dir) need to be set to the etc/hadoop/ hdfs-site.xml file. Just copy the following lines of codes:
<configuration> <property> <name>dfs.replication</name> <value>1</value> </property> <property> <name>dfs.namenode.name.dir</name> <value>file:/var/data/hadoop/hdfs/nn</value> </property> <property> <name>fs.checkpoint.dir</name> <value>file:/var/data/hadoop/hdfs/snn</value> </property> <property> <name>fs.checkpoint.edits.dir</name> <value>file:/var/data/hadoop/hdfs/snn</value> </property> <property> <name>dfs.datanode.data.dir</name> <value>file:/var/data/hadoop/hdfs/dn</value> ...
Read now
Unlock full access