Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
Change DFS block placement to allocate the first replica locally, the second off-rack, and the third intra-rack from the second.
Description
Currently, when writing out a block, dfs will place one copy to a local data node, one copy to a rack local node
and another one to a remote node. This leads to a number of undesired properties:
1. The block will be rack-local to two tacks instead of three, reducing the advantage of rack locality based scheduling by 1/3.
2. The Blocks of a file (especiallya large file) are unevenly distributed over the nodes: One third will be on the local node, and two thirds on the nodes on the same rack. This may make some nodes full much faster than others,
increasing the need of rebalancing. Furthermore, this also make some nodes become "hot spots" if those big
files are popular and accessed by many applications.
Attachments
Attachments
Issue Links
- is depended upon by
-
HDFS-325 DFS should not use round robin policy in determing on which volume (file system partition) to allocate for the next block
-
- Reopened
-