hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "dhruba borthakur (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HDFS-1509) Resync discarded directories in fs.name.dir during saveNamespace command
Date Mon, 06 Dec 2010 06:10:11 GMT

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

dhruba borthakur updated HDFS-1509:
-----------------------------------

    Attachment: resyncBadNameDir2.txt

With a little help from Hairong, I could write a unit test using the mockito framework to
test this out. The actual code fix is only one line because the hard-work of resync bad edits
was already done by Boris via HADOOP-4885.

Review comments welcome.

> Resync discarded directories in fs.name.dir during saveNamespace command
> ------------------------------------------------------------------------
>
>                 Key: HDFS-1509
>                 URL: https://issues.apache.org/jira/browse/HDFS-1509
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: name-node
>            Reporter: dhruba borthakur
>            Assignee: dhruba borthakur
>         Attachments: resyncBadNameDir1.txt, resyncBadNameDir2.txt
>
>
> In the current implementation, if the Namenode encounters an error while writing to a
fs.name.dir directory it stops writing new edits to that directory. My proposal is to make
 the namenode write the fsimage to all configured directories in fs.name.dir, and from then
on, continue writing fsedits to all configured directories.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message