hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Luke Lu (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (HADOOP-9128) MetricsDynamicMBeanBase can cause high cpu load
Date Thu, 20 Dec 2012 06:19:15 GMT

     [ https://issues.apache.org/jira/browse/HADOOP-9128?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Luke Lu resolved HADOOP-9128.
-----------------------------

       Resolution: Fixed
    Fix Version/s: 1.0.0
                   0.23.0
                   2.0.0-alpha
    
> MetricsDynamicMBeanBase can cause high cpu load
> -----------------------------------------------
>
>                 Key: HADOOP-9128
>                 URL: https://issues.apache.org/jira/browse/HADOOP-9128
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: metrics
>    Affects Versions: 0.20.2
>         Environment: cdh3u4
>            Reporter: Nate Putnam
>             Fix For: 2.0.0-alpha, 0.23.0, 1.0.0
>
>
> I noticed high load on some of our Hadoop services. On closer inspection we found several
threads that were consuming cpu (80-90% of a core) doing : 
> java.lang.Thread.State: RUNNABLE
> at java.util.HashMap.get(HashMap.java:303)
> at org.apache.hadoop.metrics.util.MetricsDynamicMBeanBase.getAttribute(MetricsDynamicMBeanBase.java:135)
> at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getAttribute(DefaultMBeanServerInterceptor.java:666)
> This is a known issue in java when using a non thread safe hash map from multiple threads.


--
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

Mime
View raw message