From 575158ab9f4d4a89043a5e7e18246e9080258772 Mon Sep 17 00:00:00 2001 From: Greg Farnum Date: Thu, 20 Aug 2009 13:39:52 -0700 Subject: [PATCH] Hadoop: Fixed time modification in getFileStatus. No wonder I hadn't noticed an issue with statting! --- src/client/hadoop/ceph/CephFileSystem.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/client/hadoop/ceph/CephFileSystem.java b/src/client/hadoop/ceph/CephFileSystem.java index a411f20180527..03bffddfe383a 100644 --- a/src/client/hadoop/ceph/CephFileSystem.java +++ b/src/client/hadoop/ceph/CephFileSystem.java @@ -369,9 +369,8 @@ public class CephFileSystem extends FileSystem { status = new FileStatus(lstat.size, lstat.is_dir, ceph_replication(abs_path.toString()), lstat.block_size, - //these times in seconds get converted to millis - lstat.mod_time*1000, - lstat.access_time*1000, + lstat.mod_time, + lstat.access_time, new FsPermission((short)lstat.mode), null, null, -- 2.39.5