You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Hudson (Jira)" <ji...@apache.org> on 2020/06/08 21:02:00 UTC

[jira] [Commented] (MAPREDUCE-7277) IndexCache totalMemoryUsed differs from cache contents.

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

Hudson commented on MAPREDUCE-7277:
-----------------------------------

SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #18339 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/18339/])
Revert "MAPREDUCE-7277. IndexCache totalMemoryUsed differs from cache (ebadger: rev fbb8775430666e99264f357599cf73ae93313377)
* (edit) hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapred/IndexCache.java
* (edit) hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/test/java/org/apache/hadoop/mapred/TestIndexCache.java


> IndexCache totalMemoryUsed differs from cache contents.
> -------------------------------------------------------
>
>                 Key: MAPREDUCE-7277
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-7277
>             Project: Hadoop Map/Reduce
>          Issue Type: Improvement
>            Reporter: Jonathan Turner Eagles
>            Assignee: Jonathan Turner Eagles
>            Priority: Major
>         Attachments: IndexCacheActualSize.png, MAPREDUCE-7277.001.patch, MAPREDUCE-7277.002.patch, MAPREDUCE-7277.003.patch, MAPREDUCE-7277.004-branch-2.10.patch, MAPREDUCE-7277.004.patch
>
>
> It was observed recently in a nodemanager OOM that the memory was filled with SpillRecords. However, the IndexCache was only 15% full (1.5MB used on a 10MB configured cache size). In particular was noted that the booking variable totalMemoryUsed, was out of sync with the contents of the cache showing 96% full, thereby drastically reducing the effectiveness of the cache.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: mapreduce-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: mapreduce-issues-help@hadoop.apache.org