HDFS-5560. Trash configuration log statements prints incorrect units. Contributed by Josh Elser.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1547266 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
c58ae266e9
commit
9b08654536
|
@ -519,6 +519,9 @@ Release 2.3.0 - UNRELEASED
|
||||||
HADOOP-10130. RawLocalFS::LocalFSFileInputStream.pread does not track
|
HADOOP-10130. RawLocalFS::LocalFSFileInputStream.pread does not track
|
||||||
FS::Statistics (Binglin Chang via Colin Patrick McCabe)
|
FS::Statistics (Binglin Chang via Colin Patrick McCabe)
|
||||||
|
|
||||||
|
HDFS-5560. Trash configuration log statements prints incorrect units.
|
||||||
|
(Josh Elser via Andrew Wang)
|
||||||
|
|
||||||
Release 2.2.0 - 2013-10-13
|
Release 2.2.0 - 2013-10-13
|
||||||
|
|
||||||
INCOMPATIBLE CHANGES
|
INCOMPATIBLE CHANGES
|
||||||
|
|
|
@ -90,8 +90,8 @@ public class TrashPolicyDefault extends TrashPolicy {
|
||||||
FS_TRASH_CHECKPOINT_INTERVAL_KEY, FS_TRASH_CHECKPOINT_INTERVAL_DEFAULT)
|
FS_TRASH_CHECKPOINT_INTERVAL_KEY, FS_TRASH_CHECKPOINT_INTERVAL_DEFAULT)
|
||||||
* MSECS_PER_MINUTE);
|
* MSECS_PER_MINUTE);
|
||||||
LOG.info("Namenode trash configuration: Deletion interval = " +
|
LOG.info("Namenode trash configuration: Deletion interval = " +
|
||||||
this.deletionInterval + " minutes, Emptier interval = " +
|
(this.deletionInterval / MSECS_PER_MINUTE) + " minutes, Emptier interval = " +
|
||||||
this.emptierInterval + " minutes.");
|
(this.emptierInterval / MSECS_PER_MINUTE) + " minutes.");
|
||||||
}
|
}
|
||||||
|
|
||||||
private Path makeTrashRelativePath(Path basePath, Path rmFilePath) {
|
private Path makeTrashRelativePath(Path basePath, Path rmFilePath) {
|
||||||
|
|
Loading…
Reference in New Issue