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

Hudson commented on HADOOP-9618:
--------------------------------

SUCCESS: Integrated in Hadoop-trunk-Commit #4091 (See 
[https://builds.apache.org/job/Hadoop-trunk-Commit/4091/])
HADOOP-9618.  thread which detects GC pauses (Todd Lipcon via Colin Patrick 
McCabe) (cmccabe: 
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1503806)
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
* 
/hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/JvmPauseMonitor.java
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/DataNode.java
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/NameNode.java

                
> Add thread which detects JVM pauses
> -----------------------------------
>
>                 Key: HADOOP-9618
>                 URL: https://issues.apache.org/jira/browse/HADOOP-9618
>             Project: Hadoop Common
>          Issue Type: New Feature
>          Components: util
>    Affects Versions: 3.0.0
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>         Attachments: hadoop-9618.txt
>
>
> Often times users struggle to understand what happened when a long JVM pause 
> (GC or otherwise) causes things to malfunction inside a Hadoop daemon. For 
> example, a long GC pause while logging an edit to the QJM may cause the edit 
> to timeout, or a long GC pause may make other IPCs to the NameNode timeout. 
> We should add a simple thread which loops on 1-second sleeps, and if the 
> sleep ever takes significantly longer than 1 second, log a WARN. This will 
> make GC pauses obvious in logs.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to