You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by Sid Wagle <sw...@hortonworks.com> on 2015/08/22 01:47:29 UTC

Review Request 37698: AMS cache could result in OOM in ambari server

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/37698/
-----------------------------------------------------------

Review request for Ambari, Alejandro Fernandez, Mahadev Konar, Sumit Mohanty, and Srimanth Gunturi.


Bugs: AMBARI-12859
    https://issues.apache.org/jira/browse/AMBARI-12859


Repository: ambari


Description
-------

Requesting metrics for 1 week resulted in:
{noformat}
Java HotSpot(TM) 64-Bit Server VM warning: INFO: os::commit_memory(0x00000000d28b2000, 216981504, 0) failed; error='Cannot allocate memory' (errno=12)
#
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (mmap) failed to map 216981504 bytes for committing reserved memory.
# An error report file with more information is saved as:
# //hs_err_pid15931.log
{noformat}


Diffs
-----

  ambari-server/pom.xml da4977c 
  ambari-server/src/main/java/org/apache/ambari/server/configuration/Configuration.java 08c835f 
  ambari-server/src/main/java/org/apache/ambari/server/controller/metrics/timeline/cache/TimelineMetricCache.java 47b2c4a 
  ambari-server/src/main/java/org/apache/ambari/server/controller/metrics/timeline/cache/TimelineMetricCacheProvider.java 8df957e 
  ambari-server/src/test/java/org/apache/ambari/server/controller/metrics/timeline/cache/TimelineMetricCacheTest.java b16024b 

Diff: https://reviews.apache.org/r/37698/diff/


Testing
-------

All relevant unit test passed.
Manual verification in progress


Thanks,

Sid Wagle