You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Erik Krogen (JIRA)" <ji...@apache.org> on 2018/09/04 14:54:00 UTC

[jira] [Commented] (HDFS-13265) MiniDFSCluster should set reasonable defaults to reduce resource consumption

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

Erik Krogen commented on HDFS-13265:
------------------------------------

Seems that the [branch-2 precommit|https://builds.apache.org/job/PreCommit-HDFS-Build/24928] still times out on HDFS unit tests even with this patch applied

> MiniDFSCluster should set reasonable defaults to reduce resource consumption
> ----------------------------------------------------------------------------
>
>                 Key: HDFS-13265
>                 URL: https://issues.apache.org/jira/browse/HDFS-13265
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: datanode, namenode, test
>            Reporter: Erik Krogen
>            Assignee: Erik Krogen
>            Priority: Major
>         Attachments: HDFS-13265-branch-2.000.patch, HDFS-13265-branch-2.000.patch, HDFS-13265-branch-2.001.patch, HDFS-13265.000.patch, HDFS-13265.001.patch, HDFS-13265.002.patch, TestMiniDFSClusterThreads.java
>
>
> MiniDFSCluster takes its defaults from {{DFSConfigKeys}} defaults, but many of these are not suitable for a unit test environment. For example, the default handler thread count of 10 is definitely more than necessary for (almost?) any unit test. We should set reasonable, lower defaults unless a test specifically requires more.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org