|
|
-
Re: datanode write forwardingHarsh J 2012-12-18, 22:13
Hi,
The received write packet is directly socket-written to the next node's receiver (async process - we don't wait for it to hit the disk there), and then written onto the disk of self(). You may see HDFS classes BlockReceiver and PacketReceiver in trunk for more information. On Wed, Dec 19, 2012 at 2:26 AM, Jay Vyas <[EMAIL PROTECTED]> wrote: > Hi : > > Do data nodes, when they receive write requests, forward the request to the > next datanode in the chain after appending to a file? Or rather, do the > write and forward asynchronously and at the same time? > > -- > Jay Vyas > http://jayunit100.blogspot.com -- Harsh J |