Return-Path: X-Original-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B13EF1815F for ; Thu, 10 Mar 2016 21:33:41 +0000 (UTC) Received: (qmail 80789 invoked by uid 500); 10 Mar 2016 21:33:41 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 80746 invoked by uid 500); 10 Mar 2016 21:33:41 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-issues@hadoop.apache.org Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 80586 invoked by uid 99); 10 Mar 2016 21:33:41 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Mar 2016 21:33:41 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id DE1B42C1F6D for ; Thu, 10 Mar 2016 21:33:40 +0000 (UTC) Date: Thu, 10 Mar 2016 21:33:40 +0000 (UTC) From: "John Zhuge (JIRA)" To: common-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HADOOP-12855) Add option to disable JVMPauseMonitor across services MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HADOOP-12855?page=3Dcom.atlassi= an.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D15= 189973#comment-15189973 ]=20 John Zhuge commented on HADOOP-12855: ------------------------------------- [~steve_l], please compare with the patch for HADOOP-12908: https://issues.= apache.org/jira/secure/attachment/12792590/HADOOP-12908-002.patch. Thanks. > 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, HADO= OP-12855-003.patch, HADOOP-12855-004.patch > > > Now that the YARN and HDFS services automatically start a JVM pause monit= or, if you start up the mini HDFS and YARN clusters, with history server, y= ou are spinning off 5 + threads, all looking for JVM pauses, all printing t= hings out when it happens. > We do not need these monitors in minicluster testing; they merely add loa= d and noise to tests. > Rather than retrofit new options everywhere, how about having a "jvm.paus= e.monitor.enabled" flag (default true), which, when set, starts off the mon= itor thread. > That way, the existing code is unchanged, there is always a JVM pause mon= itor for the various services =E2=80=94it just isn't spinning up threads. -- This message was sent by Atlassian JIRA (v6.3.4#6332)