[ https://issues.apache.org/jira/browse/HADOOP-10840?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14064258#comment-14064258 ]
Hadoop QA commented on HADOOP-10840: ------------------------------------ {color:green}+1 overall{color}. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12656152/HADOOP-10840.1.patch against trunk revision . {color:green}+1 @author{color}. The patch does not contain any @author tags. {color:green}+1 tests included{color}. The patch appears to include 1 new or modified test files. {color:green}+1 javac{color}. The applied patch does not increase the total number of javac compiler warnings. {color:green}+1 javadoc{color}. There were no new javadoc warning messages. {color:green}+1 eclipse:eclipse{color}. The patch built with eclipse:eclipse. {color:green}+1 findbugs{color}. The patch does not introduce any new Findbugs (version 2.0.3) warnings. {color:green}+1 release audit{color}. The applied patch does not increase the total number of release audit warnings. {color:green}+1 core tests{color}. The patch passed unit tests in hadoop-tools/hadoop-azure. {color:green}+1 contrib tests{color}. The patch passed contrib unit tests. Test results: https://builds.apache.org/job/PreCommit-HADOOP-Build/4297//testReport/ Console output: https://builds.apache.org/job/PreCommit-HADOOP-Build/4297//console This message is automatically generated. > Fix OutOfMemoryError caused by metrics system in Azure File System > ------------------------------------------------------------------ > > Key: HADOOP-10840 > URL: https://issues.apache.org/jira/browse/HADOOP-10840 > Project: Hadoop Common > Issue Type: Bug > Components: metrics > Affects Versions: 2.4.1 > Reporter: shanyu zhao > Assignee: shanyu zhao > Attachments: HADOOP-10840.1.patch, HADOOP-10840.patch > > > In Hadoop 2.x the Hadoop File System framework changed and no cache is > implemented (refer to HADOOP-6356). This means for every WASB access, a new > NativeAzureFileSystem is created, along which a Metrics source created and > added to MetricsSystemImpl. Over time the sources accumulated, eating memory > and causing Java OutOfMemoryError. > The fix is to utilize the unregisterSource() method added to MetricsSystem in > HADOOP-10839. -- This message was sent by Atlassian JIRA (v6.2#6252)