You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Ajay Kumar (JIRA)" <ji...@apache.org> on 2018/09/10 18:46:00 UTC
[jira] [Created] (HDDS-427) For containers with no replica
ContainerStateMap#getContainerReplicas should return empty map
Ajay Kumar created HDDS-427:
-------------------------------
Summary: 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: Improvement
Reporter: Ajay Kumar
Callers of an API ContainerStateMap#getContainerReplicas should be allowed to decide if its voilaton of some condition (warranting exception) instead of it being implicit to every caller. ContainerStateMap#getContainerReplicas should return empty map. Callers can decide if no replicas for given container is a volition of a 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
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org