Core-site.xml
<?XML version= "1.0" encoding= "UTF-8"?><?xml-stylesheet type= "text/xsl" href= "configuration.xsl "?>
<Configuration> < Property> <name>Hadoop.tmp.dir</name> <value>File:/home/hadoop/tmp</value> <Description>Abase for other temporary directories.</Description> </ Property> < Property> <name>Fs.defaultfs</name> <value>hdfs://localhost:9000</value> </ Property></Configuration>
Hdfs-site.xml
<?XML version= "1.0" encoding= "UTF-8"?><?xml-stylesheet type= "text/xsl" href= "configuration.xsl "?><Configuration> < Property> <name>Dfs.replication</name> <value>1</value> </ Property> < Property> <name>Dfs.namenode.name.dir</name> <value>File:/home/hadoop/tmp/dfs/name</value> </ Property> < Property> <name>Dfs.datanode.data.dir</name> <value>File:/home/hadoop/tmp/dfs/data</value> </ Property></Configuration>
"Common Configuration" Hadoop-2.6.5 pseudo-distributed configuration under Ubuntu14.04