Re: how does hdfs client write a file .

2014-03-24 Thread Azuryy Yu
Can you give the URL where you looked at? On Mon, Mar 24, 2014 at 4:49 PM, 张建伟 connerlyzh...@gmail.com wrote: 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

Re: how does hdfs client write a file .

2014-03-24 Thread 张建伟
http://hadoop.apache.org/docs/r1.2.1/hdfs_design.html Staging 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

Re: how does hdfs client write a file .

2014-03-24 Thread Azuryy Yu
Thanks, I think this was deperecated. I'll file a JIRA for this. On Mon, Mar 24, 2014 at 5:46 PM, 张建伟 connerlyzh...@gmail.com wrote: http://hadoop.apache.org/docs/r1.2.1/hdfs_design.html Staging A client request to create a file does not reach the NameNode immediately. In fact, initially