Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
Reviewed
-
Add a feature for replica pinning so that when a replica is pinned in a datanode, it will not be moved by Balancer/Mover. The replica pinning feature can be enabled/disabled by "dfs.datanode.block-pinning.enabled", where the default is false.
Description
Currently, run Balancer will destroying Regionserver's data locality.
If getBlocks could exclude blocks belongs to files which have specific path prefix, like "/hbase", then we can run Balancer without destroying Regionserver's data locality.
Attachments
Attachments
Issue Links
- breaks
-
HDFS-7954 TestBalancer#testBalancerWithPinnedBlocks failed on Windows
- Closed
- is related to
-
HBASE-21014 Improve Stochastic Balancer to write HDFS favoured node hints for region primary blocks to avoid destroying data locality if needing to use HDFS Balancer
- Open
-
HDFS-4420 Provide a way to exclude subtree from balancing process
- Resolved
-
HDFS-11401 Reduce verbosity of logs with favored nodes and block pinning enabled
- Patch Available
- relates to
-
HBASE-4755 HBase based block placement in DFS
- Closed
-
HDFS-9889 Update balancer/mover document about HDFS-6133 feature
- Resolved
-
HDFS-7849 Update documentation for enabling a new feature in rolling upgrade
- Closed
-
HDFS-7759 Provide existence-of-a-second-file implementation for pinning blocks on Datanode
- Patch Available