hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Todd Lipcon (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-2941) Add an administrative command to download a copy of the fsimage from the NN
Date Sat, 24 Mar 2012 01:03:24 GMT

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

Todd Lipcon commented on HDFS-2941:

- Rather than using INVALID_TXID as the URL parameter, I think it makes more sense to use
a string like "latest". Right now there's some ambiguity if we had a bug elsewhere that accidentally
- Rather than adding a new validateStorageInfo parameter, can you just skip validation when
no storage info is specified?
- Right now there's no way of knowing the txid of the downloaded image. I think the best solution
is to add a header like:
Content-Disposition: attachment; filename=fsimage_000000012345
this would allow the HTTP endpoint to be used from a browser or a tool like wget with the
correct results. You'd then have to change the argument of the fetchImage tool to specify
a target directory instead, but I think that's reasonable.

> Add an administrative command to download a copy of the fsimage from the NN
> ---------------------------------------------------------------------------
>                 Key: HDFS-2941
>                 URL: https://issues.apache.org/jira/browse/HDFS-2941
>             Project: Hadoop HDFS
>          Issue Type: New Feature
>          Components: hdfs client, name-node
>    Affects Versions: 0.24.0
>            Reporter: Aaron T. Myers
>            Assignee: Aaron T. Myers
>         Attachments: HDFS-2941.patch
> It would be nice to be able to download a copy of the fsimage from the NN, e.g. for backup

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