Thanks you all for the reply. ~Kartheek On Tue, Nov 29, 2011 at 6:30 PM, Uma Maheswara Rao G <[email protected]>wrote:
> you can find the code directly in FSNameSystem#allocateBlock > It is just a random long number and will ensure that blockid is not > created already by NN. > Regards, > Uma > ________________________________________ > From: kartheek muthyala [[email protected]] > Sent: Tuesday, November 29, 2011 6:07 PM > To: [email protected]; hdfs-user > Subject: blockID generation > > Hi all, > I am interested in exploring how the blockID is generated in hadoop world > by the namenode. Any pointers to the class/method which takes care of this > generation? > Thanks in advance, > ~Kartheek. >
