You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Node is not initialized. Cluster is not formed, why is it trying to createIndex from here?
The main branch doesn't have same code as well? why is there divergence?
OpenSearchTimeoutException[java.util.concurrent.TimeoutException: Timeout waiting for task.]; nested: TimeoutException[Timeout waiting for task.];
Likely root cause: java.util.concurrent.TimeoutException: Timeout waiting for task.
at org.opensearch.common.util.concurrent.BaseFuture$Sync.get(BaseFuture.java:257)
at org.opensearch.common.util.concurrent.BaseFuture.get(BaseFuture.java:82)
at org.opensearch.common.util.concurrent.FutureUtils.get(FutureUtils.java:94)
at org.opensearch.action.support.AdapterActionFuture.actionGet(AdapterActionFuture.java:79)
at org.opensearch.action.support.AdapterActionFuture.actionGet(AdapterActionFuture.java:68)
at org.opensearch.observability.index.ObservabilityIndex.createIndex(ObservabilityIndex.kt:108)
at org.opensearch.observability.index.ObservabilityIndex.afterStart(ObservabilityIndex.kt:91)
at org.opensearch.observability.ObservabilityPlugin.onNodeStarted(ObservabilityPlugin.kt:84)
at org.opensearch.plugins.ClusterPlugin.onNodeStarted(ClusterPlugin.java:111)
at org.opensearch.node.Node.lambda$start$37(Node.java:1768)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
at org.opensearch.node.Node.start(Node.java:1768)
at org.opensearch.bootstrap.Bootstrap.start(Bootstrap.java:339)
at org.opensearch.bootstrap.Bootstrap.init(Bootstrap.java:413)
at org.opensearch.bootstrap.OpenSearch.init(OpenSearch.java:181)
at org.opensearch.bootstrap.OpenSearch.execute(OpenSearch.java:172)
at org.opensearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:104)
at org.opensearch.cli.Command.mainWithoutErrorHandling(Command.java:138)
at org.opensearch.cli.Command.main(Command.java:101)
at org.opensearch.bootstrap.OpenSearch.main(OpenSearch.java:138)
at org.opensearch.bootstrap.OpenSearch.main(OpenSearch.java:104)
How can one reproduce the bug?
If ClusterManager election takes more time, it will result in UnhandledException in main thread.
The text was updated successfully, but these errors were encountered:
What is the bug?
Observability plugin is implementing ClusterPlugin interface
observability/src/main/kotlin/org/opensearch/observability/ObservabilityPlugin.kt
Line 48 in ce58ffa
and onNodeStarted it calls
observability/src/main/kotlin/org/opensearch/observability/ObservabilityPlugin.kt
Line 96 in ce58ffa
which calls createIndex
observability/src/main/kotlin/org/opensearch/observability/index/ObservabilityIndex.kt
Lines 89 to 91 in ce58ffa
ClusterPlugin - onNodeStarted method is called from Node Bootstrap (Node.java) and it causing UnhandledException in the main thread
Node is not initialized. Cluster is not formed, why is it trying to createIndex from here?
The main branch doesn't have same code as well? why is there divergence?
How can one reproduce the bug?
If ClusterManager election takes more time, it will result in UnhandledException in main thread.
The text was updated successfully, but these errors were encountered: