hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Allen Wittenauer (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (HDFS-287) should Storage.unlockAll() work through the list of storageDirs before bailing out?
Date Fri, 18 Jul 2014 23:44:39 GMT

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

Mime
View raw message