[
https://issues.apache.org/jira/browse/HDFS-11907?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16045776#comment-16045776
]
Arpit Agarwal commented on HDFS-11907:
--------------------------------------
The TestNameNodeMetrics failure looks related. I think the unit test needs to
use a separate MiniDFSCluster instance, since the {{@Before}} method already
started another one that is leaked by testResourceCheck.
Also while you are fixing that, could you please add the log message that was
in an earlier patch revision. i.e. if the resource check takes > 5 seconds, log
a warning in {{FSNameSystem#checkAvailableResources}}?
> Add metric for time taken by NameNode resource check
> ----------------------------------------------------
>
> Key: HDFS-11907
> URL: https://issues.apache.org/jira/browse/HDFS-11907
> Project: Hadoop HDFS
> Issue Type: Improvement
> Reporter: Chen Liang
> Assignee: Chen Liang
> Attachments: HDFS-11907.001.patch, HDFS-11907.002.patch,
> HDFS-11907.003.patch, HDFS-11907.004.patch, HDFS-11907.005.patch,
> HDFS-11907.006.patch
>
>
> Add a metric to measure the time taken by the NameNode Resource Check.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]