HDFS-2347. Fix checkpointTxnCount's comment about editlog size. Contributed by Uma Maheswara Rao G.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1172916 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Matthew Foley 2011-09-20 00:26:32 +00:00
parent bbfd81503c
commit 9d14f100c8
2 changed files with 6 additions and 2 deletions

View File

@ -758,6 +758,9 @@ Release 0.23.0 - Unreleased
BUG FIXES BUG FIXES
HDFS-2347. Fix checkpointTxnCount's comment about editlog size.
(Uma Maheswara Rao G via mattf)
HDFS-2011. Removal and restoration of storage directories on checkpointing HDFS-2011. Removal and restoration of storage directories on checkpointing
failure doesn't work properly. (Ravi Prakash via mattf) failure doesn't work properly. (Ravi Prakash via mattf)

View File

@ -60,7 +60,8 @@ class Checkpointer extends Daemon {
private BackupNode backupNode; private BackupNode backupNode;
volatile boolean shouldRun; volatile boolean shouldRun;
private long checkpointPeriod; // in seconds private long checkpointPeriod; // in seconds
private long checkpointTxnCount; // size (in MB) of current Edit Log // Transactions count to trigger the checkpoint
private long checkpointTxnCount;
private String infoBindAddress; private String infoBindAddress;
@ -108,7 +109,7 @@ class Checkpointer extends Daemon {
LOG.info("Checkpoint Period : " + checkpointPeriod + " secs " + LOG.info("Checkpoint Period : " + checkpointPeriod + " secs " +
"(" + checkpointPeriod/60 + " min)"); "(" + checkpointPeriod/60 + " min)");
LOG.info("Log Size Trigger : " + checkpointTxnCount + " txns "); LOG.info("Transactions count is : " + checkpointTxnCount + ", to trigger checkpoint");
} }
/** /**