Return-Path: X-Original-To: apmail-hbase-dev-archive@www.apache.org Delivered-To: apmail-hbase-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DC4A610AB4 for ; Wed, 24 Dec 2014 19:49:14 +0000 (UTC) Received: (qmail 77419 invoked by uid 500); 24 Dec 2014 19:49:14 -0000 Delivered-To: apmail-hbase-dev-archive@hbase.apache.org Received: (qmail 77264 invoked by uid 500); 24 Dec 2014 19:49:13 -0000 Mailing-List: contact dev-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hbase.apache.org Delivered-To: mailing list dev@hbase.apache.org Received: (qmail 76965 invoked by uid 99); 24 Dec 2014 19:49:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Dec 2014 19:49:13 +0000 Date: Wed, 24 Dec 2014 19:49:13 +0000 (UTC) From: "Andrew Purtell (JIRA)" To: dev@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (HBASE-3336) Make GC pauses more obvious to users MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HBASE-3336?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrew Purtell resolved HBASE-3336. ----------------------------------- Resolution: Implemented Recent versions of HBase have a sleeper that will warn if it misses scheduled wakeup substantially, and will print GC collection times by collector. > Make GC pauses more obvious to users > ------------------------------------ > > Key: HBASE-3336 > URL: https://issues.apache.org/jira/browse/HBASE-3336 > Project: HBase > Issue Type: Improvement > Components: regionserver > Affects Versions: 0.92.0 > Reporter: Todd Lipcon > > We often see users hit GC pauses, but it's not obvious to them what happened. I propose we add a "GCMonitor" thread which wakes up every few seconds and checks (a) that it slept for around the right amount of time, and (b) uses the JVM GC metrics to see if there was a long pause. If a long pause is detected we should output a very loud and obnoxious message to the logs indicating that a length GC pause occurred, and point to a wiki page on the topic. -- This message was sent by Atlassian JIRA (v6.3.4#6332)