git-svn-id: https://svn.apache.org/repos/asf/lucene/hadoop/trunk@470096 13f79535-47bb-0310-9956-ffa450edef68
@@ -124,6 +124,9 @@ Trunk (unreleased changes)
places and add more informative thread names.
(omalley via cutting)
+35. HADOOP-669. Fix a problem introduced by HADOOP-90 that can cause
+ DFS to lose files. (Milind Bhandarkar via cutting)
+
Release 0.7.2 - 2006-10-18
@@ -105,7 +105,7 @@ class FSImage {
// Now check all curFiles and see which is the newest
File curFile = null;
- long maxTimeStamp = 0;
+ long maxTimeStamp = Long.MIN_VALUE;
for (int idx = 0; idx < imageDirs.length; idx++) {
File file = new File(imageDirs[idx], FS_IMAGE);
if (file.exists()) {