[ https://issues.apache.org/jira/browse/HDDS-971?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16745249#comment-16745249 ]
Lokesh Jain commented on HDDS-971: ---------------------------------- [~bharatviswa] Thanks for reviewing and committing the patch! I will create a new Jira for fixing TestContainerDataYaml. > ContainerDataConstructor throws exception on QUASI_CLOSED and UNHEALTHY > container state > --------------------------------------------------------------------------------------- > > Key: HDDS-971 > URL: https://issues.apache.org/jira/browse/HDDS-971 > Project: Hadoop Distributed Data Store > Issue Type: Bug > Reporter: Lokesh Jain > Assignee: Lokesh Jain > Priority: Major > Fix For: 0.4.0 > > Attachments: HDDS-971.001.patch > > > We need to define QUASI_CLOSED and UNHEALTHY state in > ContainerDataConstructor class logic. Currently the code uses switch-case for > determining the state. The logic can be replaced with > {code:java} > ContainerProtos.ContainerDataProto.State.valueOf(state) > {code} > call. The Jira also fixes test failure TestKeys#testPutAndGetKeyWithDnRestart. -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org