title: How to change data block allocation algorithm in HDFS?
body: <p>I wrote a program in Java that allocates every node, some blocks of data according to its load (based on data blocks loaded so far).</p>
  
  <p>How can I make the HDFS (in Hadoop 1.2.1) to obey my algorithm and allocate data blocks to each nodes based on this algorithm? </p>
  
  <p>Please help me to fix it.</p>