[jira] [Commented] (HDFS-2698) BackupNode is downloading image from NameNode for every checkpoint

2011-12-29 Thread Hudson (Commented) (JIRA)

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

Hudson commented on HDFS-2698:
--

Integrated in Hadoop-Hdfs-22-branch #124 (See 
[https://builds.apache.org/job/Hadoop-Hdfs-22-branch/124/])
HDFS-2698. BackupNode is downloading image from NameNode for every 
checkpoint. Contributed by Konstantin Shvachko.

shv : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1225340
Files : 
* /hadoop/common/branches/branch-0.22/hdfs/CHANGES.txt
* 
/hadoop/common/branches/branch-0.22/hdfs/src/java/org/apache/hadoop/hdfs/server/namenode/FSImage.java
* 
/hadoop/common/branches/branch-0.22/hdfs/src/test/hdfs/org/apache/hadoop/hdfs/server/namenode/TestBackupNode.java


> BackupNode is downloading image from NameNode for every checkpoint
> --
>
> Key: HDFS-2698
> URL: https://issues.apache.org/jira/browse/HDFS-2698
> Project: Hadoop HDFS
>  Issue Type: Bug
>  Components: name-node
>Affects Versions: 0.22.0
>Reporter: Konstantin Shvachko
>Assignee: Konstantin Shvachko
> Fix For: 0.22.1
>
> Attachments: rollFSImage.patch, rollFSImage.patch
>
>
> BackupNode can make periodic checkpoints without downloading image and edits 
> files from the NameNode, but with just saving the namespace to local disks. 
> This is not happening because NN renews checkpoint time after every 
> checkpoint, thus making its image ahead of the BN's even though they are in 
> sync.

--
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-2698) BackupNode is downloading image from NameNode for every checkpoint

2011-12-28 Thread Hudson (Commented) (JIRA)

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

Hudson commented on HDFS-2698:
--

Integrated in Hadoop-Hdfs-22-branch #123 (See 
[https://builds.apache.org/job/Hadoop-Hdfs-22-branch/123/])
HDFS-2698. BackupNode is downloading image from NameNode for every 
checkpoint. Contributed by Konstantin Shvachko.

shv : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1225340
Files : 
* /hadoop/common/branches/branch-0.22/hdfs/CHANGES.txt
* 
/hadoop/common/branches/branch-0.22/hdfs/src/java/org/apache/hadoop/hdfs/server/namenode/FSImage.java
* 
/hadoop/common/branches/branch-0.22/hdfs/src/test/hdfs/org/apache/hadoop/hdfs/server/namenode/TestBackupNode.java


> BackupNode is downloading image from NameNode for every checkpoint
> --
>
> Key: HDFS-2698
> URL: https://issues.apache.org/jira/browse/HDFS-2698
> Project: Hadoop HDFS
>  Issue Type: Bug
>  Components: name-node
>Affects Versions: 0.22.0
>Reporter: Konstantin Shvachko
>Assignee: Konstantin Shvachko
> Fix For: 0.22.1
>
> Attachments: rollFSImage.patch, rollFSImage.patch
>
>
> BackupNode can make periodic checkpoints without downloading image and edits 
> files from the NameNode, but with just saving the namespace to local disks. 
> This is not happening because NN renews checkpoint time after every 
> checkpoint, thus making its image ahead of the BN's even though they are in 
> sync.

--
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-2698) BackupNode is downloading image from NameNode for every checkpoint

2011-12-28 Thread Konstantin Shvachko (Commented) (JIRA)

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

Konstantin Shvachko commented on HDFS-2698:
---

I ran tests. All passed.

> BackupNode is downloading image from NameNode for every checkpoint
> --
>
> Key: HDFS-2698
> URL: https://issues.apache.org/jira/browse/HDFS-2698
> Project: Hadoop HDFS
>  Issue Type: Bug
>  Components: name-node
>Affects Versions: 0.22.0
>Reporter: Konstantin Shvachko
>Assignee: Konstantin Shvachko
> Attachments: rollFSImage.patch, rollFSImage.patch
>
>
> BackupNode can make periodic checkpoints without downloading image and edits 
> files from the NameNode, but with just saving the namespace to local disks. 
> This is not happening because NN renews checkpoint time after every 
> checkpoint, thus making its image ahead of the BN's even though they are in 
> sync.

--
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-2698) BackupNode is downloading image from NameNode for every checkpoint

2011-12-27 Thread Konstantin Boudnik (Commented) (JIRA)

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

Konstantin Boudnik commented on HDFS-2698:
--

+1 patch looks correct.

> BackupNode is downloading image from NameNode for every checkpoint
> --
>
> Key: HDFS-2698
> URL: https://issues.apache.org/jira/browse/HDFS-2698
> Project: Hadoop HDFS
>  Issue Type: Bug
>  Components: name-node
>Affects Versions: 0.22.0
>Reporter: Konstantin Shvachko
>Assignee: Konstantin Shvachko
> Attachments: rollFSImage.patch, rollFSImage.patch
>
>
> BackupNode can make periodic checkpoints without downloading image and edits 
> files from the NameNode, but with just saving the namespace to local disks. 
> This is not happening because NN renews checkpoint time after every 
> checkpoint, thus making its image ahead of the BN's even though they are in 
> sync.

--
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-2698) BackupNode is downloading image from NameNode for every checkpoint

2011-12-23 Thread Konstantin Shvachko (Commented) (JIRA)

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

Konstantin Shvachko commented on HDFS-2698:
---

This is specific for 0.22 as trunk doesn't have rollFSImage() and no checkpoint 
time.

> BackupNode is downloading image from NameNode for every checkpoint
> --
>
> Key: HDFS-2698
> URL: https://issues.apache.org/jira/browse/HDFS-2698
> Project: Hadoop HDFS
>  Issue Type: Bug
>  Components: name-node
>Affects Versions: 0.22.0
>Reporter: Konstantin Shvachko
>Assignee: Konstantin Shvachko
> Attachments: rollFSImage.patch, rollFSImage.patch
>
>
> BackupNode can make periodic checkpoints without downloading image and edits 
> files from the NameNode, but with just saving the namespace to local disks. 
> This is not happening because NN renews checkpoint time after every 
> checkpoint, thus making its image ahead of the BN's even though they are in 
> sync.

--
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-2698) BackupNode is downloading image from NameNode for every checkpoint

2011-12-21 Thread Zhihong Yu (Commented) (JIRA)

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

Zhihong Yu commented on HDFS-2698:
--

Patch looks good to me.

> BackupNode is downloading image from NameNode for every checkpoint
> --
>
> Key: HDFS-2698
> URL: https://issues.apache.org/jira/browse/HDFS-2698
> Project: Hadoop HDFS
>  Issue Type: Bug
>  Components: name-node
>Affects Versions: 0.22.0
>Reporter: Konstantin Shvachko
>Assignee: Konstantin Shvachko
> Attachments: rollFSImage.patch, rollFSImage.patch
>
>
> BackupNode can make periodic checkpoints without downloading image and edits 
> files from the NameNode, but with just saving the namespace to local disks. 
> This is not happening because NN renews checkpoint time after every 
> checkpoint, thus making its image ahead of the BN's even though they are in 
> sync.

--
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-2698) BackupNode is downloading image from NameNode for every checkpoint

2011-12-18 Thread SreeHari (Commented) (JIRA)

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

SreeHari commented on HDFS-2698:


Isnt this same as [https://issues.apache.org/jira/browse/HDFS-2007] ?

> BackupNode is downloading image from NameNode for every checkpoint
> --
>
> Key: HDFS-2698
> URL: https://issues.apache.org/jira/browse/HDFS-2698
> Project: Hadoop HDFS
>  Issue Type: Bug
>  Components: name-node
>Affects Versions: 0.22.0
>Reporter: Konstantin Shvachko
>Assignee: Konstantin Shvachko
> Attachments: rollFSImage.patch, rollFSImage.patch
>
>
> BackupNode can make periodic checkpoints without downloading image and edits 
> files from the NameNode, but with just saving the namespace to local disks. 
> This is not happening because NN renews checkpoint time after every 
> checkpoint, thus making its image ahead of the BN's even though they are in 
> sync.

--
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-2698) BackupNode is downloading image from NameNode for every checkpoint

2011-12-16 Thread Konstantin Shvachko (Commented) (JIRA)

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

Konstantin Shvachko commented on HDFS-2698:
---

This is because NN calles {{FSImage.rollFSImage()}} with {{renewCheckpoint}} 
parameter set to {{true}} unconditionally.

> BackupNode is downloading image from NameNode for every checkpoint
> --
>
> Key: HDFS-2698
> URL: https://issues.apache.org/jira/browse/HDFS-2698
> Project: Hadoop HDFS
>  Issue Type: Bug
>  Components: name-node
>Affects Versions: 0.22.0
>Reporter: Konstantin Shvachko
>Assignee: Konstantin Shvachko
>
> BackupNode can make periodic checkpoints without downloading image and edits 
> files from the NameNode, but with just saving the namespace to local disks. 
> This is not happening because NN renews checkpoint time after every 
> checkpoint, thus making its image ahead of the BN's even though they are in 
> sync.

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