[ https://issues.apache.org/jira/browse/HDFS-17605?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stephen O'Donnell resolved HDFS-17605. -------------------------------------- Fix Version/s: 3.5.0 Resolution: Fixed > Reduced memory overhead of TestBPOfferService > --------------------------------------------- > > Key: HDFS-17605 > URL: https://issues.apache.org/jira/browse/HDFS-17605 > Project: Hadoop HDFS > Issue Type: Bug > Components: test > Reporter: Stephen O'Donnell > Assignee: Stephen O'Donnell > Priority: Major > Labels: pull-request-available > Fix For: 3.5.0 > > > With default memory settings TestBPOfferService often errors with GC overhead > / OOM errors. After analysing the heap dump, this is due to Mockito holding > lots of references to invocations on a datanode mock. > This mock is never checked for invocations so we can mark it as stubonly and > allow Mockito to drop the invocations. This small change allows the test to > consistently pass on my local environment. -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-dev-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-dev-h...@hadoop.apache.org