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-3203) Currently,The Checkpointer is controled by time.in this way,it must be checkponit in that it is only one transaction in checkpoint period.I think it need add file size to control checkpoint
Date Fri, 06 Apr 2012 04:13:22 GMT

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

Todd Lipcon commented on HDFS-3203:
-----------------------------------

bq. 1.dfs.namenode.checkpoint.txns is not used in ha

It is supposed to be used. See this code:
{code}
          if (uncheckpointed >= checkpointConf.getTxnCount()) {
            LOG.info("Triggering checkpoint because there have been " + 
                uncheckpointed + " txns since the last checkpoint, which " +
                "exceeds the configured threshold " +
                checkpointConf.getTxnCount());
            needCheckpoint = true;
          } else if (secsSinceLast >= checkpointConf.getPeriod()) {
            LOG.info("Triggering checkpoint because it has been " +
                secsSinceLast + " seconds since the last checkpoint, which " +
                "exceeds the configured interval " + checkpointConf.getPeriod());
            needCheckpoint = true;
          }
{code}
If it is not working, please explain how to reproduce.

bq. 2.why standbyCheckpointer is running in active namenode and standby namenode?

The daemon only runs when the node is in standby mode. When it becomes active, it stops the
checkpointer.

                
> Currently,The Checkpointer is controled by time.in this way,it must be checkponit in
that it is only one transaction in checkpoint period.I think it need add file size to control
 checkpoint
> ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HDFS-3203
>                 URL: https://issues.apache.org/jira/browse/HDFS-3203
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: name-node
>    Affects Versions: 0.24.0, 2.0.0
>            Reporter: liaowenrui
>


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

       

Mime
View raw message