You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Arpit Agarwal (Jira)" <ji...@apache.org> on 2020/06/02 16:36:00 UTC
[jira] [Resolved] (HDDS-427) For containers with no replica
ContainerStateMap#getContainerReplicas should return empty map
[ https://issues.apache.org/jira/browse/HDDS-427?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Arpit Agarwal resolved HDDS-427.
--------------------------------
Resolution: Won't Fix
Closing due to the -1, doesn't look like we have any plans to revisit this.
> For containers with no replica ContainerStateMap#getContainerReplicas should return empty map
> ---------------------------------------------------------------------------------------------
>
> Key: HDDS-427
> URL: https://issues.apache.org/jira/browse/HDDS-427
> Project: Hadoop Distributed Data Store
> Issue Type: Bug
> Reporter: Ajay Kumar
> Assignee: Ajay Kumar
> Priority: Major
> Attachments: HDDS-427.00.patch
>
>
> Callers of API ContainerStateMap#getContainerReplicas should be allowed to decide if its violation of some condition (when there are no replicas, warranting exception) instead of it being implicit to every caller. Instead ContainerStateMap#getContainerReplicas should return empty map for no replicas. Callers can decide if no replicas for given container is a volition of business condition. Throwing exception in this API also results in a subtle bug in ContainerReportHandler where exception for one container may result in whole container list being skipped.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: ozone-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: ozone-issues-help@hadoop.apache.org