What happens,when client try to read from HDFS file already opened for writing?
-
-
Does HDFS allow a client to read a file which is already opened for writing?
-
It depend upon the block size, Lets say 500MB of file is uploading in HDFS and 100 MB of data is uploaded successfully. At this time client is trying to read the file. Now lets say you have 64 MB of block size. It means 1 block is uploaded successfully. So this block is available for client and another block will be available when its uploaded to HDFS successfully.
- You must be logged in to reply to this topic.