You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Xiaoyu Yao (JIRA)" <ji...@apache.org> on 2017/03/09 22:31:38 UTC
[jira] [Updated] (HDFS-11524) Ozone: Fix TestContainerPersistence
failures
[ https://issues.apache.org/jira/browse/HDFS-11524?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Xiaoyu Yao updated HDFS-11524:
------------------------------
Attachment: HDFS-11524-HDFS-7240.001.patch
Attach a patch that does not reinterpret StorageContainerException in Dispatcher.java.
> 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
> Attachments: HDFS-11524-HDFS-7240.001.patch
>
>
> 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-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org