You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oozie.apache.org by "Robert Kanter (JIRA)" <ji...@apache.org> on 2014/05/11 00:03:44 UTC
[jira] [Updated] (OOZIE-1826) Add thread which detects JVM pauses
[ https://issues.apache.org/jira/browse/OOZIE-1826?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robert Kanter updated OOZIE-1826:
---------------------------------
Attachment: OOZIE-1826.patch
The patch adds a new "JvmPauseMonitorService". Most of the code is copy-pasted from HADOOP-9618; I made some changes for the configs, to make it an Oozie Service, added instrumentation, and formatting.
There's two config properties that let you set the threshold for logging a WARN level message and an INFO level message. There's also instrumentation counters for each of them. I also added an instrumentation counter for the total amount of extra time sleeping.
No tests because it would be difficult to write a unit test for this, but I did verify that it appeared to be working properly; plus Hadoop and HBase have been using it.
> Add thread which detects JVM pauses
> -----------------------------------
>
> Key: OOZIE-1826
> URL: https://issues.apache.org/jira/browse/OOZIE-1826
> Project: Oozie
> Issue Type: Improvement
> Components: core
> Affects Versions: trunk
> Reporter: Robert Kanter
> Assignee: Robert Kanter
> Attachments: OOZIE-1826.patch
>
>
> It would be helpful for debugging to add a thread which detects JVM pauses and logs them and indicates them in the instrumentation/metrics). This was added to Hadoop by HADOOP-9618 (and also HBASE by HBASE-9630), so we can adapt that for Oozie.
--
This message was sent by Atlassian JIRA
(v6.2#6252)