[ 
https://issues.apache.org/jira/browse/HDDS-245?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16560125#comment-16560125
 ] 

Bharat Viswanadham edited comment on HDDS-245 at 7/27/18 6:43 PM:
------------------------------------------------------------------

I think for emitiReplicationRequestEvent, we need to check chillmode Status. As 
there is a proposal to use the percentage of container reports(HDDS-2), and 
then come out of chill mode. So, after exiting chill mode, we can check under 
replicated containers, and schedule the replication. Correct me if I am missing 
something here.

 


was (Author: bharatviswa):
I think for emitiReplicationRequestEvent, we need to check chillmode Status. As 
there is a proposal to use the percentage of container reports(HDDS-2), and 
then come out of chill mode. So, after exit chill mode status, we can check 
under replicated containers, and schedule the replication. Correct me if I am 
missing something here.

 

> Handle ContainerReports in the SCM
> ----------------------------------
>
>                 Key: HDDS-245
>                 URL: https://issues.apache.org/jira/browse/HDDS-245
>             Project: Hadoop Distributed Data Store
>          Issue Type: Improvement
>          Components: SCM
>            Reporter: Elek, Marton
>            Assignee: Elek, Marton
>            Priority: Major
>             Fix For: 0.2.1
>
>         Attachments: HDDS-245.001.patch, HDDS-245.002.patch, 
> HDDS-245.003.patch, HDDS-245.004.patch
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to