Home | About | Sematext search-lucene.com search-hadoop.com
 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

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

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