hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Todd Lipcon (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HDFS-1024) SecondaryNamenode fails to checkpoint because namenode fails with CancelledKeyException
Date Thu, 11 Mar 2010 23:46:27 GMT

    [ https://issues.apache.org/jira/browse/HDFS-1024?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12844274#action_12844274

Todd Lipcon commented on HDFS-1024:

Hi Dmytro,

A few comments:
- in the test, rather than assertTrue(false) can you use fail("Did not get expected exception")?
- perhaps add a String constant for "Content-Length'
- Do we care about getFileClient() working against a server that may not provide the Content-Length
header? We may want to at least fail with a better error message (instead of NPE or NFE) if
the header is not present. Alternatively, we could issue a WARN and just disable this check
if the header is not present.
- The error message and the variable name "imageName" imply that it's always the fsImage being
transferred. The same code path is used to download the edits. Perhaps best to include the
URL in the exception message?


> SecondaryNamenode fails to checkpoint because namenode fails with CancelledKeyException
> ---------------------------------------------------------------------------------------
>                 Key: HDFS-1024
>                 URL: https://issues.apache.org/jira/browse/HDFS-1024
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 0.20.2
>            Reporter: dhruba borthakur
>            Assignee: Dmytro Molkov
>         Attachments: HDFS-1024.patch
> The secondary namenode fails to retrieve the entire fsimage from the Namenode. It fetches
a part of the fsimage but believes that it has fetched the entire fsimage file and proceeds
ahead with the checkpointing. Stack traces will be attached below.

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

View raw message