hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Uma Maheswara Rao G <mahesw...@huawei.com>
Subject RE: blockID generation
Date Tue, 29 Nov 2011 13:00:04 GMT
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 [kartheek0274@gmail.com]
Sent: Tuesday, November 29, 2011 6:07 PM
To: hdfs-dev@hadoop.apache.org; 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.

Mime
View raw message