hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zhe Zhang (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-8996) Consolidate validateLog and scanLog in FJM#EditLogFile
Date Fri, 11 Sep 2015 22:52:45 GMT

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

Zhe Zhang updated HDFS-8996:
----------------------------
    Attachment: HDFS-8996.01.patch

Thanks Colin. Updating the patch to eliminate {{validateLog}} and {{validateEditLog}} from
all places. To do that we need to add a switch to {{scanLog}} controlling whether to verify
layout version. Based on existing logic I guess JN shouldn't try to verify layout version.

> Consolidate validateLog and scanLog in FJM#EditLogFile
> ------------------------------------------------------
>
>                 Key: HDFS-8996
>                 URL: https://issues.apache.org/jira/browse/HDFS-8996
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: journal-node, namenode
>    Affects Versions: 2.0.0-alpha
>            Reporter: Zhe Zhang
>            Assignee: Zhe Zhang
>         Attachments: HDFS-8996.00.patch, HDFS-8996.01.patch
>
>
> After HDFS-8965 is committed, {{scanEditLog}} will be identical to {{validateEditLog}}
in {{EditLogInputStream}} and {{FSEditlogLoader}}. This is a place holder for us to remove
the redundant {{scanEditLog}} code.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message