This is a trick question. In HDFS, it is not allowed to update a file at an arbitrary location. All the files are written in append only mode. It means all writes are done at the end of a file.
So there is no possibility of updating the files at any random location.Read the full book at www.amazon.com