[jira] [Comment Edited] (HDFS-11140) Directory Scanner should log startup message time correctly

2016-11-15 Thread Xiaoyu Yao (JIRA)

[ 
https://issues.apache.org/jira/browse/HDFS-11140?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15669080#comment-15669080
 ] 

Xiaoyu Yao edited comment on HDFS-11140 at 11/16/16 2:08 AM:
-

Thanks [~linyiqun] for the update. +1 for v2 patch pending Jenkins.


was (Author: xyao):
Thanks [~linyiqun] for the udpate. +1 for v2 patch pending Jenkins.

> 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, HDFS-11140.002.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 
> 2160ms
> {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: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org



[jira] [Comment Edited] (HDFS-11140) Directory Scanner should log startup message time correctly

2016-11-15 Thread Yiqun Lin (JIRA)

[ 
https://issues.apache.org/jira/browse/HDFS-11140?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15669017#comment-15669017
 ] 

Yiqun Lin edited comment on HDFS-11140 at 11/16/16 1:44 AM:


Thanks the comment, [~xyao]. Post the new patch to address the comment.


was (Author: linyiqun):
Thanks the comment, [~xyao]. Post the comments to address the comment.

> 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, HDFS-11140.002.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 
> 2160ms
> {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: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org



[jira] [Comment Edited] (HDFS-11140) Directory Scanner should log startup message time correctly

2016-11-14 Thread Yiqun Lin (JIRA)

[ 
https://issues.apache.org/jira/browse/HDFS-11140?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=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 2160ms
{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 2160ms
{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 
> 2160ms
> {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: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org