Okay.. I was going dumb by misreading some source code. Please ignore my question regarding this. Sorry about this.
Sangmin On Wed, May 20, 2009 at 9:52 AM, Sangmin Lee <sangmin....@gmail.com> wrote: > Hi all, > > I have some question regarding the hdfs recovery mechanism. > > I see that INodeFileUnderConstruction has a "targets" field that stores > list of datanodes which store its last block. > However, I don't see them being used at all except that > "internalReleaseLease" function uses the length of the datanode list. > Is there any other use of the "target" fields rather than checking its > length? > > Could anyone shed some light on this? > > Thanks, > Sangmin