title: How to put files to specific node?
body: <p>Is it possible to tell HDFS <strong>where to store</strong> particular files? </p>
  
  <p><strong>Use case</strong> </p>
  
  <p>I've just loaded batch #1 of files into HDFS and want to <strong>run job/application on these data</strong>. However, I also have batch #2 that <strong>is still to be loaded</strong>. It would be nice if I could run job/application on first batch on, say, nodes from 1 to 10, and load new data to nodes, say, 11 to 20, completely in parallel. </p>
  
  <p>Initially I thought that <a href="http://www.slideshare.net/hortonworks/hdfs-futures-namenode-federation-for-improved-efficiency-and-scalability" rel="nofollow"><strong>NameNode federation</strong></a> (Hadoop 2.x) does exactly that, but it looks like federation only splits namespace, while DataNodes still provide blocks for all connected NameNodes. </p>
  
  <p>So, is there a way to <strong>control the distribution of data</strong> in HDFS? And does it make sense at all? </p>