Description
HDDS-242 provides a new class ContainerReportHandler which could handle the ContainerReports from the SCMHeartbeatDispatchere.
HDDS-228 introduces a new map to store the container -> datanode[] mapping
HDDS-199 implements the ReplicationManager which could send commands to the datanodes to copy the datanode.
To wire all these components, we need to put implementation to the ContainerReportHandler (created in HDDS-242).
The ContainerReportHandler should process the new ContainerReportForDatanode events, update the containerStateMap and node2ContainerMap and calculate the missing/duplicate containers and send the ReplicateCommand to the ReplicateManager.