hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nanda kumar (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDDS-245) Handle ContainerReports in the SCM
Date Mon, 30 Jul 2018 14:52:00 GMT

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

Nanda kumar commented on HDDS-245:

Overall the patch looks good.
{quote}we can commit this patch and go rewrite containerMapping.processContainerReports function
Created HDDS-303 for this

 {{replicationStatus.isReplicationEnabled()}} is checked twice, 128 & 135, one can be

Line:60, 61: {{new HashSet<>()}} can be replaced with {{Collections.emptySet()}}

> 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

To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org

View raw message