Hi team,
We are using the Sonarqube Community EditionVersion 7.9.1. we are trying to use AWS Elastic search for Sonar instead of using the built-in Elastic search. I am not able to find any document explaining the procedure. is there is a way to achieve this?
Appreciate your help with this.
Thanks
Dharanitharan
Welcome to the community! This is not possible. Out of curiosity, why do you want to achieve this?
Thanks for your reply, We occasionally have some outages in sonar which are caused by Elastic search out of memory error, so we thought of migrating it to our Existing AWS Elastic service which we are currently using it for Bitbucket.
Sad to know this feature is not available in sonarqube
Thanks for the details. If you have memory outage on ES, maybe we can help to fine-tune the memory settings. What are your current settings in sonar.properties
regarding the elasticsearch java process?
This is our current memory setting
sonar.web.javaOpts=-Xms1024m -Xmx1024m
sonar.ce.javaOpts=-Xms3096m -Xmx3096m
sonar.search.javaOpts=-Xms512m -Xmx512m
You should increase this value until your memory issue disappears. Try to double it, for example.