AMBARI Failed to Start


1 Answer(s)


I found the solution and was able to start ambari:

1. Tested to see wht JAVA heap gives the error by
$ java Xmx512m -version
(I tried different number and found that 1024 worked for me)
2. cd /var/lib/ambari-server
3. I backed up the ambari environment file before making changes
cp -pr ambari-env.sh ambari-env.sh_bck
4. vi ambari-env.sh and look for line that sets JAVA heap size
edit line to: export AMBARI_JVM_ARGS=$AMBARI_JVM_ARGS' -Xms512m -Xmx1024m
:wq! (to exit and save file)
5. Now do $ambari-server start
The will successfully start ambari
Thanks,
Mike