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 >> About Block related classes in hdfs package


Copy link to this message
-
About Block related classes in hdfs package
When we see the source code of hdfs especially FSNamesystem, there is so
many block related types are used such as Block, LocatedBLocks,
BlocksWithLocations. And this makes me very unclear about the system.

In addition, BlocksMap just maps Block and BlockInfo, but Block becomes
LocatedBlock with DatanodeInfo. With several locateBlock, these become
LocatedBlocks.

Also, Combining INode related classes with Block related classes makes me
unhappy.

Is there anyone who let me know about the motto of this kind of complex
structure of HDFS block management and give more specific and detail
information?

Thanks!

 

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