[
https://issues.apache.org/jira/browse/HDFS-11140?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15666191#comment-15666191
]
Yiqun Lin edited comment on HDFS-11140 at 11/15/16 5:48 AM:
------------------------------------------------------------
Thanks for reporting this, [~xiaochen]. Attach a patch to make a quick fix. The
test result in my local:
{code}
INFO datanode.DirectoryScanner (DirectoryScanner.java:start(284)) - Periodic
Directory Tree Verification scan starting at 2016-11-15 17:35:30 with interval
of 21600000ms
{code}
was (Author: linyiqun):
Thanks for reporting this, [~xiaochen]. Attach a patch to make a quick, The
test result in my local:
{code}
INFO datanode.DirectoryScanner (DirectoryScanner.java:start(284)) - Periodic
Directory Tree Verification scan starting at 2016-11-15 17:35:30 with interval
of 21600000ms
{code}
> Directory Scanner should log startup message time correctly
> -----------------------------------------------------------
>
> Key: HDFS-11140
> URL: https://issues.apache.org/jira/browse/HDFS-11140
> Project: Hadoop HDFS
> Issue Type: Bug
> Affects Versions: 2.7.1
> Reporter: Xiao Chen
> Assignee: Yiqun Lin
> Priority: Trivial
> Labels: newbie
> Attachments: HDFS-11140.001.patch
>
>
> When DirectoryScanner is enabled, one can see the following log:
> {noformat}
> INFO org.apache.hadoop.hdfs.server.datanode.DirectoryScanner: Periodic
> Directory Tree Verification scan starting at 1479189895562ms with interval of
> 21600000ms
> {noformat}
> The first is epoch time and should not have 'ms'. Or better yet, we can
> change it to a human-readable format.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]