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

Todd Lipcon updated HDFS-1462:
------------------------------

    Attachment: hdfs-1462.txt

New patch moves all logs in FSEditLog.java to its own log instance. I also 
removed the following log message:
{code}
-        if(FSImage.LOG.isDebugEnabled()) {
-          FSImage.LOG.debug("loggin edits into " + eStream.getName() +
-              " stream");
-        }
{code}
which was added post 0.20 and seems way too verbose to be useful (logs once per 
edit per log stream!). Hope that's OK.

> Refactor edit log loading to a separate class from edit log writing
> -------------------------------------------------------------------
>
>                 Key: HDFS-1462
>                 URL: https://issues.apache.org/jira/browse/HDFS-1462
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: name-node
>    Affects Versions: 0.22.0
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>         Attachments: hdfs-1462.txt, hdfs-1462.txt, hdfs-1462.txt, 
> hdfs-1462.txt
>
>
> Before the major work in HDFS-1073, I'd like to do this refactor to clean up 
> the monster FSEditLog class. We can separate all the functions that take of 
> loading edits into an FSN from the functions that take care of writing edits, 
> rolling, etc.

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

Reply via email to