[
https://issues.apache.org/jira/browse/HDFS-12190?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16102769#comment-16102769
]
Wei-Chiu Chuang commented on HDFS-12190:
----------------------------------------
Hi [~yzhangal] the code looks mostly good to me.
Could you also verify the output of atime in the test?
For example,
{code}
final String atime1 = fmt.format(new Date(status1.getAccessTime()));
...
assertTrue(out.toString(), out.toString().contains(atime1));
{code}
> Enable 'hdfs dfs -stat' to display access time
> ----------------------------------------------
>
> Key: HDFS-12190
> URL: https://issues.apache.org/jira/browse/HDFS-12190
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: hdfs, shell
> Reporter: Yongjun Zhang
> Assignee: Yongjun Zhang
> Attachments: HDFS-12190.001.patch, HDFS-12190.002.patch,
> HDFS-12190.003.patch
>
>
> "hdfs dfs -stat" currently only can show modification time of a file but not
> access time. Sometimes it's useful to show access time.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]