Package org.apache.hadoop.hdfs.server.balancer
package org.apache.hadoop.hdfs.server.balancer
The Balancer is a tool for balancing the data across
the storage devices of an HDFS cluster.
Over time, the data in the HDFS storage can become skewed,
The Balancer moves data blocks between DataNodes to balance data distribution.
-
ClassDescriptionThe balancer is a tool that balances disk space usage on an HDFS cluster when some datanodes become full or when new empty nodes join the cluster.Dispatching block replica moves between datanodes.A class for keeping track of block locations in the dispatcher.A class that keeps track of a datanode.Exit status - The values associated with each exit status is directly mapped to the process's exit code in command line.The class provides utilities for key and token management.A matcher interface for matching nodes.MovedBlocks<L>This window makes sure to keep blocks that have been moved within a fixed time interval (default is 1.5 hour).A class for keeping track of a block and its locationsThe class provides utilities for accessing a NameNode.