回复 2#baggioss
说明文档写的是:
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.
这里的block不是packet呀,您说的那个packet我也了解一点,那个默认是64k没错,是在流水线往datanode上写的时候的buffer大小。
不知道我的理解对不对吗?