Uploaded image for project: 'SonarQube'
  1. SonarQube
  2. SONAR-8798 Upgrade Elasticsearch to 5.5
  3. SONAR-9590

Restore support or provide replacement for sonar.search.javaOpts/javaAdditionalOpts

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.6-M1, 6.6
    • Component/s: ElasticSearch
    • Labels:

      Description

      At server startup, before the external ES command is launched, the content of sonar.search.javaOpts and sonar.search.javaAdditionalOpts should be written to the elasticsearch/config/jvm.options file.

      The default of sonar.search.javaOpts has to be updated, to match the default contents of jvm.options.

      Whenever Elasticsearch is upgraded and the distribution is checked into git, jvm.options must always overwritten with this content:

      # This file will be automatically generated by SonarQube during startup.
      # Please use the sonar.search.javaOpts in sonar.properties to specify jvm options for Elasticsearch
      
      # DO NOT EDIT THIS FILE
      

      When we write the file, at SonarQube startup, this header should be added:

      # This file has been automatically generated by SonarQube during startup.
      # Please use the sonar.search.javaOpts in sonar.properties to specify jvm options for Elasticsearch
      
      # DO NOT EDIT THIS FILE
      
      all the configured settings should be inserted here...
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              sebastien.lesaint Sebastien Lesaint
              Reporter:
              sebastien.lesaint Sebastien Lesaint
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Due:
                Created:
                Updated:
                Resolved: