浏览代码

HUE-58. Add atime field to the stat dictionary returned by hadoop.fs.stats and hadoop.fs.listdir_stats

Aaron T. Myers 16 年之前
父节点
当前提交
8fa613351e
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      desktop/libs/hadoop/src/hadoop/fs/hadoopfs.py

+ 1 - 0
desktop/libs/hadoop/src/hadoop/fs/hadoopfs.py

@@ -447,6 +447,7 @@ class HadoopFileSystem(object):
       'mode': mode,
       'user': stat.owner,
       'group': stat.group,
+      'atime': stat.atime
       }
 
   @staticmethod