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 "Allen Wittenauer (JIRA)" <ji...@apache.org> on 2014/07/19 01:44:39 UTC
[jira] [Resolved] (HDFS-287) should Storage.unlockAll() work
through the list of storageDirs before bailing out?
[ https://issues.apache.org/jira/browse/HDFS-287?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Allen Wittenauer resolved HDFS-287.
-----------------------------------
Resolution: Incomplete
> should Storage.unlockAll() work through the list of storageDirs before bailing out?
> -----------------------------------------------------------------------------------
>
> Key: HDFS-287
> URL: https://issues.apache.org/jira/browse/HDFS-287
> Project: Hadoop HDFS
> Issue Type: Improvement
> Reporter: Steve Loughran
> Priority: Minor
>
> Storage.unlockAll will forward any exception raised while trying to unlock a storage directory. However, it may be more robust to catch the exception and run through the remaining directories before relaying any (non-null) exception. That way a single directory playing up (it may be offline) won't stop the rest of the filesystem being released when a name node shuts down.
--
This message was sent by Atlassian JIRA
(v6.2#6252)