hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Zhuge (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-12855) Add option to disable JVMPauseMonitor across services
Date Mon, 21 Mar 2016 05:54:25 GMT

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

John Zhuge commented on HADOOP-12855:

Hi [[~steve_l], please kindly review the 3 choices:
* This jira: Add option {{jvm.pause.monitor.enabled}} to turn on/off the monitor thread
* HADOOP-12946: Ensure at most one monitor thread when there are multiple JvmPauseMonitor
* HADOOP-12908: Make JvmPauseMonitor a singleton thus only one monitor thread is running.
Multiple services can share the singleton in mini clusters. Add a reusable class {{AbstractSharedService}}.

> Add option to disable JVMPauseMonitor across services
> -----------------------------------------------------
>                 Key: HADOOP-12855
>                 URL: https://issues.apache.org/jira/browse/HADOOP-12855
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: performance, test
>    Affects Versions: 2.8.0
>         Environment: JVMs with miniHDFS and miniYarn clusters
>            Reporter: Steve Loughran
>            Assignee: John Zhuge
>         Attachments: HADOOP-12855-001.patch, HADOOP-12855-002.patch, HADOOP-12855-003.patch,
HADOOP-12855-004.patch, HADOOP-12855-005.patch, HADOOP-12855-option-001.patch, HADOOP-12855-option-002.patch
> Now that the YARN and HDFS services automatically start a JVM pause monitor, if you start
up the mini HDFS and YARN clusters, with history server, you are spinning off 5 + threads,
all looking for JVM pauses, all printing things out when it happens.
> We do not need these monitors in minicluster testing; they merely add load and noise
to tests.
> Rather than retrofit new options everywhere, how about having a "jvm.pause.monitor.enabled"
flag (default true), which, when set, starts off the monitor thread.
> That way, the existing code is unchanged, there is always a JVM pause monitor for the
various services —it just isn't spinning up threads.

This message was sent by Atlassian JIRA

View raw message