Upgrade issue with elastic search

when we upgrade to 8.9.1 to 9.2.4 we got this issue.
2021.12.16 12:10:10 ERROR app[o.s.a.p.EsManagedProcess] Failed to check status
org.elasticsearch.ElasticsearchException: java.lang.InterruptedException
at org.elasticsearch.client.RestHighLevelClient.performClientRequest(RestHighLevelClient.java:2078)
at org.elasticsearch.client.RestHighLevelClient.internalPerformRequest(RestHighLevelClient.java:1732)
at org.elasticsearch.client.RestHighLevelClient.performRequest(RestHighLevelClient.java:1702)
at org.elasticsearch.client.RestHighLevelClient.performRequestAndParseEntity(RestHighLevelClient.java:1672)
at org.elasticsearch.client.ClusterClient.health(ClusterClient.java:119)
at org.sonar.application.es.EsConnectorImpl.getClusterHealthStatus(EsConnectorImpl.java:64)
at org.sonar.application.process.EsManagedProcess.checkStatus(EsManagedProcess.java:90)
at org.sonar.application.process.EsManagedProcess.checkOperational(EsManagedProcess.java:75)
at org.sonar.application.process.EsManagedProcess.isOperational(EsManagedProcess.java:60)
at org.sonar.application.process.ManagedProcessHandler.refreshState(ManagedProcessHandler.java:220)
at org.sonar.application.process.ManagedProcessHandler$EventWatcher.run(ManagedProcessHandler.java:285)
Caused by: java.lang.InterruptedException: null
at java.base/java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireSharedInterruptibly(AbstractQueuedSynchronizer.java:1343)
at org.elasticsearch.common.util.concurrent.BaseFuture$Sync.get(BaseFuture.java:248)
at org.elasticsearch.common.util.concurrent.BaseFuture.get(BaseFuture.java:76)
at org.elasticsearch.client.RestHighLevelClient.performClientRequest(RestHighLevelClient.java:2075)
… 10 common frames omitted
← Wrapper Stopped

Hello @santhosh ,

This error indicates that application process of SonarQube could not check the status of Elasticsearch. Is there anything relevant in the es.log? Are you running SonarQube with default port configuration?

Hi Jacek,

Due to this parameter -Djna.nosys=true -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=75 -XX:+UseCMSInitiatingOccupancyOnly we got this issue after removing the parameters issue is resloved

1 Like

Glad you make it, and thanks for letting us know how you resolved the issue!

Hi Jacek,

After upgrade to 9.2.4 i lost the crowd connection but am able to access local user how to check the crowd connection successful or not

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.