Uploaded image for project: 'SonarQube'
  1. SonarQube
  2. SONAR-9764

MasterNotDiscovedException exception in sonar.log

    XMLWordPrintable

    Details

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

      Description

      In cluster mode, until a second ES node is started, the following ERROR log is periodically reported in sonar.log by the first ES node:

      2017.08.29 15:21:56 ERROR app[][o.s.a.p.EsProcessMonitor] Failed to check status
      org.elasticsearch.discovery.MasterNotDiscoveredException: null
      	at org.elasticsearch.action.support.master.TransportMasterNodeAction$AsyncSingleAction$4.onTimeout(TransportMasterNodeAction.java:209)
      	at org.elasticsearch.cluster.ClusterStateObserver$ContextPreservingListener.onTimeout(ClusterStateObserver.java:311)
      	at org.elasticsearch.cluster.ClusterStateObserver$ObserverClusterStateListener.onTimeout(ClusterStateObserver.java:238)
      	at org.elasticsearch.cluster.service.ClusterService$NotifyTimeout.run(ClusterService.java:1056)
      	at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingRunnable.run(ThreadContext.java:569)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      	at java.lang.Thread.run(Thread.java:745)
      

        Attachments

          Activity

            People

            Assignee:
            eric.hartmann Eric Hartmann
            Reporter:
            christophe.levis Christophe Levis
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Due:
              Created:
              Updated:
              Resolved: