hadoop-mapreduce-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From 张建伟 <connerlyzh...@gmail.com>
Subject how does hdfs client write a file .
Date Mon, 24 Mar 2014 08:49:40 GMT
hi,

In the apache site,I find a document said :

"A client request to create a file does not reach the NameNode immediately.
In fact, initially the HDFS client caches the file data into a temporary
local file. Application writes are transparently redirected to this
temporary local file. When the local file accumulates data worth over one
HDFS block size, the client contacts the NameNode. "

does it still right in 2.2.0 and 1.2.1 version? why write a file like this?

Mime
View raw message