title: Accessing a file that is being written
body: <pre><code>You use the hadoop fs –put command to write a 300 MB file using and HDFS block size of 64 MB. Just after this command has finished writing 200 MB of this file, what would another user see when trying to access this file?
  
  a.) They would see Hadoop throw an ConcurrentFileAccessException when they try to access this file.
  b.) They would see the current state of the file, up to the last bit written by the command.
  c.) They would see the current of the file through the last completed block.
  d.) They would see no content until the whole file written and closed.
  </code></pre>
  
  <p>From what I understand about the <code>hadoop fs -put</code> command the answer is D, however some say it is C.</p>
  
  <p>Could anyone provide a constructive explanation for either of the options?</p>
  
  <p>Thanks xx</p>