title: Where is the configuration file for HDFS in Hadoop 2.2.0?
body: <p>I'm studying Hadoop and currently I'm trying to set up an Hadoop 2.2.0 single node. I downloaded the latest distribution, uncompressed it, now I'm trying to set up the Hadoop Distributed File System (HDFS). </p>
  
  <p>Now, I'm trying to follow the Hadoop instructions available <a href="http://hadoop.apache.org/docs/r2.2.0/hadoop-project-dist/hadoop-hdfs/HdfsUserGuide.html#Single_Node_Setup" rel="noreferrer">here</a> but I'm quite lost.</p>
  
  <p>In the left bar you see there are references to the following files:</p>
  
  <ul>
  <li>core-default.xml </li>
  <li>hdfs-default.xml </li>
  <li>mapred-default.xml </li>
  <li>yarn-default.xml</li>
  </ul>
  
  <p>But how those files are ? </p>
  
  <p>I found /etc/hadoop/hdfs-site.xml, but it is empty!</p>
  
  <p>I found /share/doc/hadoop/hadoop-project-dist/hadoop-common/core-default.xml but it is just a piece of doc!</p>
  
  <p>So, what files I have to modify to configure HDFS ? Where the deaults values are read from ?</p>
  
  <p>Thanks in advance for your help.</p>