[
https://issues.apache.org/jira/browse/HDFS-3588?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13405132#comment-13405132
]
Todd Lipcon commented on HDFS-3588:
-----------------------------------
You need to specify which image you want to download. Rather than using wget,
you can use the new {{dfsadmin -fetchImage}} command.
> Wget retrieval of fsimage fails
> -------------------------------
>
> Key: HDFS-3588
> URL: https://issues.apache.org/jira/browse/HDFS-3588
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: name-node
> Affects Versions: 2.0.0-alpha
> Reporter: Jeff Lord
>
> jlord$ wget http://localhost:50070/getimage?getimage=1
> --2012-06-28 17:45:48-- http://localhost:50070/getimage?getimage=1
> Resolving localhost... 127.0.0.1, ::1, fe80::1
> Connecting to localhost|127.0.0.1|:50070... connected.
> HTTP request sent, awaiting response... 410 GetImage failed.
> java.io.IOException: Invalid request has no txid parameter \tat
> org.apache.hadoop.hdfs.server.namenode.GetImageServlet$GetImageParams.parseLongParam(GetImageServlet.java:414)
> \tat
> org.apache.hadoop.hdfs.server.namenode.GetImageServlet$GetImageParams.<init>(GetImageServlet.java:338)
> \tat
> org.apache.hadoop.hdfs.server.namenode.GetImageServlet.doGet(GetImageServlet.java:85)
> \tat javax.servlet.http.HttpServlet.service(HttpServlet.java:707) \tat
> javax.servlet.http.HttpServlet.service(HttpServlet.java:820) \tat
> org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511) \tat
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1221)
> \tat org.apache.hadoop.http.HttpServe
--
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