Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Hadoop Wiki" for change 
notification.

The following page has been changed by KonstantinShvachko:
http://wiki.apache.org/hadoop/FAQ

------------------------------------------------------------------------------
  
  Text files are handled similarly, using newlines instead of sync marks.
  
+ [[BR]]
+ [[Anchor(24)]]
+ '''24. [#24 HDFS. What happens when two clients try to write into the same 
HDFS file?]'''
+ 
+ HDFS supports exclusive writes only. [[BR]]
+ When the first client contacts the name-node to open the file for writing,
+ the name-node grants a lease to the client to create this file. 
+ When the second client tries to open the same file for writing, the name-node 
+ will see that the lease for the file is already granted to another client,
+ and will reject the open request for the second client.
+ 

Reply via email to