Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
HDFS >> mail # dev >> blockID generation


Copy link to this message
-
RE: blockID generation
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.
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB