In Hortonworks cluster environment Ambari Infra Solr service failed to start with below error:
Resolution:
To resolve this
1. Login to Ambari management console.
2. Goto Ambari Infra
3. Click on Configs
4. Under settings tab increase the Infra Solr Minimum and Maximum heap size and click on save.
5. Start the service now.
# java.lang.OutOfMemoryError: Java heap space
#
-XX:OnOutOfMemoryError="/usr/lib/ambari-infra-solr/bin/oom_solr.sh 8983
/var/log/ambari-infra-solr"
# Executing /bin/sh
-c "/usr/lib/ambari-infra-solr/bin/oom_solr.sh 8983 /var/log/ambari-infra-solr"...
Running OOM killer script for process 11420 for Solr on port
8983
Killed process 11420
Resolution:
To resolve this
1. Login to Ambari management console.
2. Goto Ambari Infra
3. Click on Configs
4. Under settings tab increase the Infra Solr Minimum and Maximum heap size and click on save.
5. Start the service now.
No comments:
Post a Comment