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 "Xiaoyu Yao (JIRA)" <ji...@apache.org> on 2017/03/09 22:25:38 UTC

[jira] [Created] (HDFS-11524) Ozone: Fix TestContainerPersistence failures

Xiaoyu Yao created HDFS-11524:
---------------------------------

             Summary: Ozone: Fix TestContainerPersistence failures
                 Key: HDFS-11524
                 URL: https://issues.apache.org/jira/browse/HDFS-11524
             Project: Hadoop HDFS
          Issue Type: Sub-task
    Affects Versions: HDFS-7240
            Reporter: Xiaoyu Yao
            Assignee: Xiaoyu Yao


testInvalidKeyRead/testDeleteKeyTwice/testDeleteKey expect the following exception from KeyManagerImpl.java.
{code}
StorageContainerException("Unable to find the key.", NO_SUCH_KEY);
{code}

The expected exception was caught and reinterpreted to a different StorageContainerException in Dispatcher#handleGetSmallFile() as below
{code}
 catch (IOException e) {
      throw new StorageContainerException("Unable to decode protobuf", e,
          GET_SMALL_FILE_ERROR);
    }
{code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org