Lokesh Jain created HDDS-971:
--------------------------------

             Summary: 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


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-dev-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-h...@hadoop.apache.org

Reply via email to