[
https://issues.apache.org/jira/browse/HADOOP-3694?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12611542#action_12611542
]
Steve Loughran commented on HADOOP-3694:
----------------------------------------
well, the only thing in there that would be slow is
this.dir.loadFSImage(getNamespaceDirs(conf), startOpt);
and the startopt appears to be FORMAT in most miniDFS operations, so its time
to format a test filesystem that is causing the delays.
Possibilities:
* improve this time for very small fileystems (e.g. the test ones)
* create a ready to roll image during part of the test run; reuse this later.
The other thing to look at is shutdown time...how long does it take for
everything to go away?
> if MiniDFS startup time could be improved, testing time would be reduced
> ------------------------------------------------------------------------
>
> Key: HADOOP-3694
> URL: https://issues.apache.org/jira/browse/HADOOP-3694
> Project: Hadoop Core
> Issue Type: Improvement
> Components: test
> Affects Versions: 0.19.0
> Reporter: Steve Loughran
>
> Its taking me 140 minutes to run a test build; looking into the test results
> its the 20s startup delay of every MiniDFS cluster that is slowing things
> down. If we could find out why it is taking so long and cut it down, every
> test case that relied on a cluster would be speeded up.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.