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

Wei-Chiu Chuang commented on HDFS-14485:
----------------------------------------

Ah. You're definitely right. I'll close it.

I don't really care about MiniDFSCluster. My use case is I want to load a big 
fsimage with say 100 million files, and this thread takes up too much resources 
walking through all files. It's not a problem in unit test.

> Optionally disable LazyPersistFileScrubber thread
> -------------------------------------------------
>
>                 Key: HDFS-14485
>                 URL: https://issues.apache.org/jira/browse/HDFS-14485
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: namenode
>            Reporter: Wei-Chiu Chuang
>            Priority: Major
>
> NameNode automatically starts a LazyPersistFileScrubber thread to remove 
> missing block files from namespace.
> However, for testing/dev purposes, if I simply want to load a NameNode with a 
> fsimage, the thread would still kick off and consume CPU resources. That's 
> quite annoying.
>  
> I would like to propose an option to disable this thread if a developer knows 
> exact what he/she is doing.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to