ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmytro Sen" <d...@hortonworks.com>
Subject Review Request 36159: Ambari defaults to -Xms10M heap, failing JDK8 GC initialization
Date Fri, 03 Jul 2015 07:47:56 GMT

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

Review request for Ambari, Andrew Onischuk and Vitalyi Brodetskyi.


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


Repository: ambari


Description
-------

from default hive-env.sh
     export HADOOP_OPTS="$HADOOP_OPTS -XX:NewRatio=12 -Xms10m -XX:MaxHeapFreeRatio=40 -XX:MinHeapFreeRatio=15
-XX:-UseGCOverheadLimit"
In JDK8, the class loader space is garbage collected (metaspace), so
bash$ hive
Unable to determine Hadoop version information.
'hadoop version' returned:
Error occurred during initialization of VM GC triggered before VM initialization completed.
Try increasing NewSize, current value 1536K.


Diffs
-----

  ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/configuration/hive-env.xml
db2c927 
  ambari-server/src/main/resources/stacks/BIGTOP/0.8/services/HIVE/configuration/hive-env.xml
7444331 
  ambari-server/src/main/resources/stacks/HDP/2.2/services/HIVE/configuration/hive-env.xml
f876430 
  ambari-server/src/main/resources/stacks/PHD/3.0.0.0/services/HIVE/configuration/hive-env.xml
7444331 

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


Testing
-------

unit tests passed


Thanks,

Dmytro Sen


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message