Status: Patch Available
Affects Version/s: None
Fix Version/s: None
This jira introduces a new balance command 'fedbalance' that is ran by the administrator. The process is:
1. Use distcp and snapshot diff to sync data between src and dst until they are the same.
2. Update mount table in Router.
3. Delete the src to trash.
The patch is too big to review, so I split it into 2 patches:
Phase 1 / The State Machine(BalanceProcedureScheduler): Including the abstraction of job and scheduler model. <See
Phase 2 / The DistCpFedBalance: It's an implementation of BalanceJob. <See HDFS-15346>