hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eli Collins (Assigned) (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (HADOOP-7551) LocalDirAllocator should incorporate LocalStorage
Date Thu, 03 Nov 2011 20:19:32 GMT

     [ https://issues.apache.org/jira/browse/HADOOP-7551?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Eli Collins reassigned HADOOP-7551:

    Assignee: Eli Collins
> LocalDirAllocator should incorporate LocalStorage
> -------------------------------------------------
>                 Key: HADOOP-7551
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7551
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: fs
>    Affects Versions:
>            Reporter: Eli Collins
>            Assignee: Eli Collins
> The o.a.h.fs.LocalDirAllocator is not aware of o.a.h.m.t.LocalStorage (introduced in
MAPREDUCE-2413) - it always considers the configured local dirs, not just the ones that happen
to be good. Therefore if there's a disk failure then *every* call to get a local path will
result in LocalDirAllocator#confChanged doing a disk check of *all* the configured local dirs.
It seems like LocalStorage should be a private class to LocalAllocator so that all users of
LocalDirAllocator benefit from the disk failure handling and all the various users of LocalDirAllocator
don't have to be modified to handle disk failures. Note that LocalDirAllocator already handles
faulty directories.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message