[
https://issues.apache.org/jira/browse/HDFS-2941?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Aaron T. Myers updated HDFS-2941:
---------------------------------
Attachment: HDFS-2941.patch
Thanks a lot for the review, Todd. Here's a patch which should address all of
your feedback.
bq. 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:
I added a Content-Disposition header in all cases of downloading an fsimage or
edits file so that third-party HTTP requests will work, and added a
Hadoop-specific header in the case of fetching the latest image, so as to avoid
having to parse the Content-Disposition header.
> 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, HDFS-2941.patch
>
>
> It would be nice to be able to download a copy of the fsimage from the NN,
> e.g. for backup purposes.
--
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