[
https://issues.apache.org/jira/browse/HDDS-971?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16744600#comment-16744600
]
Bharat Viswanadham commented on HDDS-971:
-----------------------------------------
Hi [~ljain]
I have missed that test failure is related to the patch.
There is one test failure related to this, TestContainerDataYaml, could you
have a look into this.
I have committed this, we can open a new Jira to fix this test case.
> 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: [email protected]
For additional commands, e-mail: [email protected]