hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Weiwei Yang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-11729) Improve NNStorageRetentionManager failure handling.
Date Thu, 08 Jun 2017 06:44:20 GMT

    [ https://issues.apache.org/jira/browse/HDFS-11729?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16042290#comment-16042290
] 

Weiwei Yang commented on HDFS-11729:
------------------------------------

Patch submitted based on the first comment, test case added. Please kindly review. Thanks.

> Improve NNStorageRetentionManager failure handling.
> ---------------------------------------------------
>
>                 Key: HDFS-11729
>                 URL: https://issues.apache.org/jira/browse/HDFS-11729
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: Kihwal Lee
>            Assignee: Weiwei Yang
>         Attachments: HDFS-11729.001.patch, HDFS-11729.002.patch
>
>
> Currently {{NNStorageRetentionManager}} will simply skip a storage directory if a problem
is detected.  Since checkpoint saving does not go through the same set of checks, this can
lead to a space exhaustion seen in HDFS-11714.
> Instead of ignoring errors, it should handle it properly.  One potential improvement
is to catch the exception and report the storage directory failure using {{NNStorage.reportErrorsOnDirectories()}}.
{{attemptRestoreRemovedStorage()}} will need extra checks. E.g. existence of a VERSION file.



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


Mime
View raw message