hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Harsh J <ha...@cloudera.com>
Subject Re: blockID generation
Date Tue, 29 Nov 2011 12:45:21 GMT
Kartheek,

(- hdfs-user (bcc'd))

Its simple enough to trace back a FileSystem -> DFSClient -> NameNode call in code,
for the operation of creating a file (and thereafter a block).

What you are looking for, specifically, is in FSNamesystem#allocateBlock(…).

On 29-Nov-2011, at 6:07 PM, kartheek muthyala wrote:

> 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