Template for a good bug report, formatted with Markdown:
-
versions used: SonarQube 7.8+
-
error observed: unable to run sonarqube in aws fargate due to elasticsearch vm.max_map_count bootstrap check, cant disable use of mmapfs or hybrisfs using elasticsearch setting node.store.allow_mmap setting in sonar.search.javaAdditionalOpts
-
steps to reproduce: run a sonarqube 7.8+ container in an environment where you dont have access to change host settings
-
potential workaround
in elasticsearch 6.7+ the setting to disable mmapfs and hybridfs was changed from node.store.allow_mmapfs to node.store.allow_mmap.
this change doesn’t appear to have been updated here
https://github.com/SonarSource/sonarqube/blob/abb1aca918803d7e4d25e7a493ead5db05abaa6e/server/sonar-main/src/main/java/org/sonar/application/es/EsSettings.java#L48