Auf eine Datei zugreifen, die geschrieben wird
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.
Von was ich über das @ verstehadoop fs -put
Befehl die Antwort ist D, aber einige sagen, es ist C.
Kann jemand eine konstruktive Erklärung für eine der beiden Optionen liefern?
Danke xx