HDP出现Could not create the Java Virtual Machine解决方法

操作系统:Centos6.6,JDK:1.7 ,HDP:2.2 

启动HDP平台时,出现如题的错误,解决方法:

在/etc/profile 中加入:

export _JAVA_OPTIONS="-Xms512M -Xmx512M"

(当然,上面的512可以根据实际情况进行调整)

出现的原因是因为部署的HDP的服务太多了,资源(内存)不够用导致的。



你可能感兴趣的:(HDP出现Could not create the Java Virtual Machine解决方法)