[ 
https://issues.apache.org/jira/browse/HADOOP-10111?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13827892#comment-13827892
 ] 

Jonathan Eagles commented on HADOOP-10111:
------------------------------------------

Looks promising for reducing datanode startup time, Kihwal. 
Couple of minor things.
  - Be consistent with the long literal _this(path, interval, -1)_ vs 
_this(path, interval, -1L)_
  - Currently the tests don't test the new functionality of the initial value. 
Is this a better fit here or in HDFS-5498?

> Allow DU to be initialized with an initial value
> ------------------------------------------------
>
>                 Key: HADOOP-10111
>                 URL: https://issues.apache.org/jira/browse/HADOOP-10111
>             Project: Hadoop Common
>          Issue Type: Improvement
>            Reporter: Kihwal Lee
>            Assignee: Kihwal Lee
>         Attachments: HADOOP-10111.patch
>
>
> When a DU object is created, the du command runs right away. If the target 
> directory contains a huge number of files and directories, its constructor 
> may not return for many seconds.  It will be nice if it can be told to delay 
> the initial scan and use a specified initial "used" value.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to