Dmytro Sen created AMBARI-12271:
-----------------------------------

             Summary: Ambari defaults to -Xms10M heap, failing JDK8 GC 
initialization
                 Key: AMBARI-12271
                 URL: https://issues.apache.org/jira/browse/AMBARI-12271
             Project: Ambari
          Issue Type: Bug
          Components: stacks
    Affects Versions: 2.1.0
            Reporter: Dmytro Sen
            Assignee: Dmytro Sen
            Priority: Blocker
             Fix For: 2.1.0


from default hive-env.sh 

{code}
     export HADOOP_OPTS="$HADOOP_OPTS -XX:NewRatio=12 -Xms10m 
-XX:MaxHeapFreeRatio=40 -XX:MinHeapFreeRatio=15 -XX:-UseGCOverheadLimit"
{code}

In JDK8, the class loader space is garbage collected (metaspace), so 

{code}
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.
{code}




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to