hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Hadoop Wiki] Update of "FAQ" by KonstantinShvachko
Date Fri, 15 Aug 2008 23:03:06 GMT
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.
+ 

Mime
View raw message