[jira] [Commented] (HDFS-2941) Add an administrative command to download a copy of the fsimage from the NN

2012-03-27 Thread Hudson (Commented) (JIRA)

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

Hudson commented on HDFS-2941:
--

Integrated in Hadoop-Mapreduce-trunk #1032 (See 
[https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1032/])
Move CHANGES.txt entry for HDFS-2941 to the right version. (Revision 
1305453)
HDFS-2941. Add an administrative command to download a copy of the fsimage from 
the NN. Contributed by Aaron T. Myers. (Revision 1305447)

 Result = SUCCESS
atm : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1305453
Files : 
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt

atm : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1305447
Files : 
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/HAUtil.java
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/GetImageServlet.java
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/NNStorage.java
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/TransferFsImage.java
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/tools/DFSAdmin.java
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/tools/DFSck.java
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestFetchImage.java


> 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
> Fix For: 0.23.3
>
> Attachments: HDFS-2941.patch, HDFS-2941.patch, 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




[jira] [Commented] (HDFS-2941) Add an administrative command to download a copy of the fsimage from the NN

2012-03-27 Thread Hudson (Commented) (JIRA)

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

Hudson commented on HDFS-2941:
--

Integrated in Hadoop-Hdfs-trunk #997 (See 
[https://builds.apache.org/job/Hadoop-Hdfs-trunk/997/])
Move CHANGES.txt entry for HDFS-2941 to the right version. (Revision 
1305453)
HDFS-2941. Add an administrative command to download a copy of the fsimage from 
the NN. Contributed by Aaron T. Myers. (Revision 1305447)

 Result = FAILURE
atm : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1305453
Files : 
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt

atm : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1305447
Files : 
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/HAUtil.java
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/GetImageServlet.java
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/NNStorage.java
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/TransferFsImage.java
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/tools/DFSAdmin.java
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/tools/DFSck.java
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestFetchImage.java


> 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
> Fix For: 0.23.3
>
> Attachments: HDFS-2941.patch, HDFS-2941.patch, 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




[jira] [Commented] (HDFS-2941) Add an administrative command to download a copy of the fsimage from the NN

2012-03-26 Thread Hudson (Commented) (JIRA)

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

Hudson commented on HDFS-2941:
--

Integrated in Hadoop-Mapreduce-0.23-Commit #737 (See 
[https://builds.apache.org/job/Hadoop-Mapreduce-0.23-Commit/737/])
HDFS-2941. Add an administrative command to download a copy of the fsimage 
from the NN. Contributed by Aaron T. Myers. (Revision 1305450)

 Result = ABORTED
atm : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1305450
Files : 
* 
/hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* 
/hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/HAUtil.java
* 
/hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/GetImageServlet.java
* 
/hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/NNStorage.java
* 
/hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/TransferFsImage.java
* 
/hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/tools/DFSAdmin.java
* 
/hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/tools/DFSck.java
* 
/hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestFetchImage.java


> 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
> Fix For: 0.23.3
>
> Attachments: HDFS-2941.patch, HDFS-2941.patch, 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




[jira] [Commented] (HDFS-2941) Add an administrative command to download a copy of the fsimage from the NN

2012-03-26 Thread Hudson (Commented) (JIRA)

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

Hudson commented on HDFS-2941:
--

Integrated in Hadoop-Mapreduce-trunk-Commit #1940 (See 
[https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/1940/])
Move CHANGES.txt entry for HDFS-2941 to the right version. (Revision 
1305453)
HDFS-2941. Add an administrative command to download a copy of the fsimage from 
the NN. Contributed by Aaron T. Myers. (Revision 1305447)

 Result = ABORTED
atm : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1305453
Files : 
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt

atm : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1305447
Files : 
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/HAUtil.java
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/GetImageServlet.java
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/NNStorage.java
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/TransferFsImage.java
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/tools/DFSAdmin.java
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/tools/DFSck.java
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestFetchImage.java


> 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
> Fix For: 0.23.3
>
> Attachments: HDFS-2941.patch, HDFS-2941.patch, 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




[jira] [Commented] (HDFS-2941) Add an administrative command to download a copy of the fsimage from the NN

2012-03-26 Thread Hudson (Commented) (JIRA)

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

Hudson commented on HDFS-2941:
--

Integrated in Hadoop-Common-trunk-Commit #1930 (See 
[https://builds.apache.org/job/Hadoop-Common-trunk-Commit/1930/])
Move CHANGES.txt entry for HDFS-2941 to the right version. (Revision 
1305453)
HDFS-2941. Add an administrative command to download a copy of the fsimage from 
the NN. Contributed by Aaron T. Myers. (Revision 1305447)

 Result = SUCCESS
atm : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1305453
Files : 
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt

atm : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1305447
Files : 
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/HAUtil.java
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/GetImageServlet.java
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/NNStorage.java
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/TransferFsImage.java
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/tools/DFSAdmin.java
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/tools/DFSck.java
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestFetchImage.java


> 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
> Fix For: 0.23.3
>
> Attachments: HDFS-2941.patch, HDFS-2941.patch, 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




[jira] [Commented] (HDFS-2941) Add an administrative command to download a copy of the fsimage from the NN

2012-03-26 Thread Hudson (Commented) (JIRA)

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

Hudson commented on HDFS-2941:
--

Integrated in Hadoop-Common-0.23-Commit #728 (See 
[https://builds.apache.org/job/Hadoop-Common-0.23-Commit/728/])
HDFS-2941. Add an administrative command to download a copy of the fsimage 
from the NN. Contributed by Aaron T. Myers. (Revision 1305450)

 Result = SUCCESS
atm : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1305450
Files : 
* 
/hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* 
/hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/HAUtil.java
* 
/hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/GetImageServlet.java
* 
/hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/NNStorage.java
* 
/hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/TransferFsImage.java
* 
/hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/tools/DFSAdmin.java
* 
/hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/tools/DFSck.java
* 
/hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestFetchImage.java


> 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
> Fix For: 0.23.3
>
> Attachments: HDFS-2941.patch, HDFS-2941.patch, 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




[jira] [Commented] (HDFS-2941) Add an administrative command to download a copy of the fsimage from the NN

2012-03-26 Thread Hudson (Commented) (JIRA)

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

Hudson commented on HDFS-2941:
--

Integrated in Hadoop-Hdfs-trunk-Commit #2004 (See 
[https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/2004/])
Move CHANGES.txt entry for HDFS-2941 to the right version. (Revision 
1305453)
HDFS-2941. Add an administrative command to download a copy of the fsimage from 
the NN. Contributed by Aaron T. Myers. (Revision 1305447)

 Result = SUCCESS
atm : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1305453
Files : 
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt

atm : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1305447
Files : 
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/HAUtil.java
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/GetImageServlet.java
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/NNStorage.java
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/TransferFsImage.java
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/tools/DFSAdmin.java
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/tools/DFSck.java
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestFetchImage.java


> 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
> Fix For: 0.23.3
>
> Attachments: HDFS-2941.patch, HDFS-2941.patch, 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




[jira] [Commented] (HDFS-2941) Add an administrative command to download a copy of the fsimage from the NN

2012-03-26 Thread Hudson (Commented) (JIRA)

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

Hudson commented on HDFS-2941:
--

Integrated in Hadoop-Hdfs-0.23-Commit #718 (See 
[https://builds.apache.org/job/Hadoop-Hdfs-0.23-Commit/718/])
HDFS-2941. Add an administrative command to download a copy of the fsimage 
from the NN. Contributed by Aaron T. Myers. (Revision 1305450)

 Result = SUCCESS
atm : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1305450
Files : 
* 
/hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* 
/hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/HAUtil.java
* 
/hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/GetImageServlet.java
* 
/hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/NNStorage.java
* 
/hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/TransferFsImage.java
* 
/hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/tools/DFSAdmin.java
* 
/hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/tools/DFSck.java
* 
/hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestFetchImage.java


> 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
> Fix For: 0.23.3
>
> Attachments: HDFS-2941.patch, HDFS-2941.patch, 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




[jira] [Commented] (HDFS-2941) Add an administrative command to download a copy of the fsimage from the NN

2012-03-26 Thread Hadoop QA (Commented) (JIRA)

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

Hadoop QA commented on HDFS-2941:
-

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12519913/HDFS-2941.patch
  against trunk revision .

+1 @author.  The patch does not contain any @author tags.

+1 tests included.  The patch appears to include 2 new or modified tests.

+1 javadoc.  The javadoc tool did not generate any warning messages.

+1 javac.  The applied patch does not increase the total number of javac 
compiler warnings.

+1 eclipse:eclipse.  The patch built with eclipse:eclipse.

+1 findbugs.  The patch does not introduce any new Findbugs (version 1.3.9) 
warnings.

+1 release audit.  The applied patch does not increase the total number of 
release audit warnings.

-1 core tests.  The patch failed these unit tests:
  org.apache.hadoop.cli.TestHDFSCLI
  org.apache.hadoop.hdfs.TestGetBlocks

+1 contrib tests.  The patch passed contrib unit tests.

Test results: 
https://builds.apache.org/job/PreCommit-HDFS-Build/2098//testReport/
Console output: https://builds.apache.org/job/PreCommit-HDFS-Build/2098//console

This message is automatically generated.

> 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, 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




[jira] [Commented] (HDFS-2941) Add an administrative command to download a copy of the fsimage from the NN

2012-03-26 Thread Todd Lipcon (Commented) (JIRA)

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

Todd Lipcon commented on HDFS-2941:
---

Seems reasonable, thanks.

> 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, 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




[jira] [Commented] (HDFS-2941) Add an administrative command to download a copy of the fsimage from the NN

2012-03-25 Thread Hadoop QA (Commented) (JIRA)

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

Hadoop QA commented on HDFS-2941:
-

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12519907/HDFS-2941.patch
  against trunk revision .

+1 @author.  The patch does not contain any @author tags.

+1 tests included.  The patch appears to include 2 new or modified tests.

+1 javadoc.  The javadoc tool did not generate any warning messages.

+1 javac.  The applied patch does not increase the total number of javac 
compiler warnings.

+1 eclipse:eclipse.  The patch built with eclipse:eclipse.

+1 findbugs.  The patch does not introduce any new Findbugs (version 1.3.9) 
warnings.

+1 release audit.  The applied patch does not increase the total number of 
release audit warnings.

-1 core tests.  The patch failed these unit tests:
  org.apache.hadoop.hdfs.server.namenode.TestBackupNode
  org.apache.hadoop.hdfs.server.namenode.TestStartup
  org.apache.hadoop.hdfs.server.namenode.TestNameEditsConfigs
  org.apache.hadoop.hdfs.TestGetBlocks
  org.apache.hadoop.hdfs.server.namenode.TestStorageRestore
  org.apache.hadoop.cli.TestHDFSCLI

+1 contrib tests.  The patch passed contrib unit tests.

Test results: 
https://builds.apache.org/job/PreCommit-HDFS-Build/2096//testReport/
Console output: https://builds.apache.org/job/PreCommit-HDFS-Build/2096//console

This message is automatically generated.

> 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, 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




[jira] [Commented] (HDFS-2941) Add an administrative command to download a copy of the fsimage from the NN

2012-03-25 Thread Todd Lipcon (Commented) (JIRA)

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

Todd Lipcon commented on HDFS-2941:
---

+1 pending jenkins results

> 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, 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




[jira] [Commented] (HDFS-2941) Add an administrative command to download a copy of the fsimage from the NN

2012-03-25 Thread Todd Lipcon (Commented) (JIRA)

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

Todd Lipcon commented on HDFS-2941:
---

Looks pretty good. A few more small comments:
- I'd rather see the HADOOP_FSIMAGE_HEADER header be added in all cases -- not 
just when it's the latest -- just for consistency.
- Given that, I think the code in TransferFsImage will make a little more 
sense. Right now, the "localPaths" variable is either a file (when not getting 
latest) or a directory (when getting latest) which seems inconsistent. If you 
send the header in all cases, then the code can change to something like:
{code}
String fsImageName = connection.getHeaderField(HADOOP_FSIMAGE_HEADER);
// If the local paths refer to directories, use the server-provided header
// as the filename within that directory
List newLocalPaths = new ArrayList();
for (File localPath : localPaths) {
  if (localPath.isDirectory()) {
if (fsImageName == null) {
  throw new IOException("No filename header provided by server");
}
newLocalPaths.add(new File(localPath, fsImageName));
  } else {
newLocalPaths.add(localPath);
  }
}
localPaths = newLocalPaths;
{code}


> 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




[jira] [Commented] (HDFS-2941) Add an administrative command to download a copy of the fsimage from the NN

2012-03-25 Thread Aaron T. Myers (Commented) (JIRA)

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

Aaron T. Myers commented on HDFS-2941:
--

I'm confident that the failed tests are unrelated to this patch.

> 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




[jira] [Commented] (HDFS-2941) Add an administrative command to download a copy of the fsimage from the NN

2012-03-24 Thread Hadoop QA (Commented) (JIRA)

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

Hadoop QA commented on HDFS-2941:
-

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12519841/HDFS-2941.patch
  against trunk revision .

+1 @author.  The patch does not contain any @author tags.

+1 tests included.  The patch appears to include 2 new or modified tests.

+1 javadoc.  The javadoc tool did not generate any warning messages.

+1 javac.  The applied patch does not increase the total number of javac 
compiler warnings.

+1 eclipse:eclipse.  The patch built with eclipse:eclipse.

+1 findbugs.  The patch does not introduce any new Findbugs (version 1.3.9) 
warnings.

+1 release audit.  The applied patch does not increase the total number of 
release audit warnings.

-1 core tests.  The patch failed these unit tests:
  org.apache.hadoop.cli.TestHDFSCLI
  org.apache.hadoop.hdfs.tools.TestDFSHAAdmin
  org.apache.hadoop.hdfs.tools.TestDFSHAAdminMiniCluster
  org.apache.hadoop.hdfs.TestGetBlocks

+1 contrib tests.  The patch passed contrib unit tests.

Test results: 
https://builds.apache.org/job/PreCommit-HDFS-Build/2094//testReport/
Console output: https://builds.apache.org/job/PreCommit-HDFS-Build/2094//console

This message is automatically generated.

> 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




[jira] [Commented] (HDFS-2941) Add an administrative command to download a copy of the fsimage from the NN

2012-03-23 Thread Hadoop QA (Commented) (JIRA)

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

Hadoop QA commented on HDFS-2941:
-

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12519765/HDFS-2941.patch
  against trunk revision .

+1 @author.  The patch does not contain any @author tags.

+1 tests included.  The patch appears to include 2 new or modified tests.

+1 javadoc.  The javadoc tool did not generate any warning messages.

+1 javac.  The applied patch does not increase the total number of javac 
compiler warnings.

+1 eclipse:eclipse.  The patch built with eclipse:eclipse.

+1 findbugs.  The patch does not introduce any new Findbugs (version 1.3.9) 
warnings.

+1 release audit.  The applied patch does not increase the total number of 
release audit warnings.

-1 core tests.  The patch failed these unit tests:
  org.apache.hadoop.cli.TestHDFSCLI
  org.apache.hadoop.hdfs.server.namenode.TestCheckpoint
  org.apache.hadoop.hdfs.TestGetBlocks

+1 contrib tests.  The patch passed contrib unit tests.

Test results: 
https://builds.apache.org/job/PreCommit-HDFS-Build/2090//testReport/
Console output: https://builds.apache.org/job/PreCommit-HDFS-Build/2090//console

This message is automatically generated.

> 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 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




[jira] [Commented] (HDFS-2941) Add an administrative command to download a copy of the fsimage from the NN

2012-03-23 Thread Todd Lipcon (Commented) (JIRA)

[ 
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 passed INVALID_TXID.
- 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:
{code}
Content-Disposition: attachment; filename=fsimage_00012345
{code}
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 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




[jira] [Commented] (HDFS-2941) Add an administrative command to download a copy of the fsimage from the NN

2012-02-12 Thread Aaron T. Myers (Commented) (JIRA)

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

Aaron T. Myers commented on HDFS-2941:
--

I'm envisioning something like `hdfs dfsadmin -fetchimage ' which 
would use the existing GetImageServlet to download the fsimage over HTTP, 
saving it at .

> 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
>
> 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