org.elasticsearch.index.IndexNotFoundException: no such index

GitHub | hc4 | 5 months ago
  1. 0

    Endless errors in log about deleted indexes

    GitHub | 5 months ago | hc4
    org.elasticsearch.index.IndexNotFoundException: no such index
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    Just start, empty... This kind of thing should not happen. {code} 2016-12-13 00:10:34.370 ERROR 19744 --- [mica-executor-9] .a.i.SimpleAsyncUncaughtExceptionHandler : Unexpected error occurred invoking async method 'public void org.obiba.mica.network.search.NetworkIndexer.reIndexNetworks(org.obiba.mica.network.event.IndexNetworksEvent)'. org.elasticsearch.index.IndexNotFoundException: no such index at org.elasticsearch.cluster.metadata.IndexNameExpressionResolver$WildcardExpressionResolver.resolve(IndexNameExpressionResolver.java:586) ~[elasticsearch-2.1.2.jar:2.1.2] at org.elasticsearch.cluster.metadata.IndexNameExpressionResolver.concreteIndices(IndexNameExpressionResolver.java:133) ~[elasticsearch-2.1.2.jar:2.1.2] at org.elasticsearch.cluster.metadata.IndexNameExpressionResolver.concreteIndices(IndexNameExpressionResolver.java:77) ~[elasticsearch-2.1.2.jar:2.1.2] at org.elasticsearch.action.admin.indices.mapping.put.TransportPutMappingAction.checkBlock(TransportPutMappingAction.java:65) ~[elasticsearch-2.1.2.jar:2.1.2] at org.elasticsearch.action.admin.indices.mapping.put.TransportPutMappingAction.checkBlock(TransportPutMappingAction.java:40) ~[elasticsearch-2.1.2.jar:2.1.2] at org.elasticsearch.action.support.master.TransportMasterNodeAction.innerExecute(TransportMasterNodeAction.java:94) ~[elasticsearch-2.1.2.jar:2.1.2] at org.elasticsearch.action.support.master.TransportMasterNodeAction.doExecute(TransportMasterNodeAction.java:86) ~[elasticsearch-2.1.2.jar:2.1.2] at org.elasticsearch.action.support.master.TransportMasterNodeAction.doExecute(TransportMasterNodeAction.java:48) ~[elasticsearch-2.1.2.jar:2.1.2] at org.elasticsearch.action.support.TransportAction.execute(TransportAction.java:70) ~[elasticsearch-2.1.2.jar:2.1.2] at org.elasticsearch.client.node.NodeClient.doExecute(NodeClient.java:58) ~[elasticsearch-2.1.2.jar:2.1.2] at org.elasticsearch.client.support.AbstractClient.execute(AbstractClient.java:347) ~[elasticsearch-2.1.2.jar:2.1.2] at org.elasticsearch.client.support.AbstractClient$IndicesAdmin.execute(AbstractClient.java:1183) ~[elasticsearch-2.1.2.jar:2.1.2] at org.elasticsearch.action.ActionRequestBuilder.execute(ActionRequestBuilder.java:85) ~[elasticsearch-2.1.2.jar:2.1.2] at org.elasticsearch.action.ActionRequestBuilder.execute(ActionRequestBuilder.java:59) ~[elasticsearch-2.1.2.jar:2.1.2] at org.obiba.mica.network.search.NetworkIndexConfiguration.onIndexCreated(NetworkIndexConfiguration.java:40) ~[mica-search-2.0-SNAPSHOT.jar:2.0-SNAPSHOT] at org.obiba.mica.search.ElasticSearchIndexer.lambda$createIndexIfNeeded$2(ElasticSearchIndexer.java:222) ~[mica-search-2.0-SNAPSHOT.jar:2.0-SNAPSHOT] at java.lang.Iterable.forEach(Iterable.java:75) ~[na:1.8.0_111] at org.obiba.mica.search.ElasticSearchIndexer.createIndexIfNeeded(ElasticSearchIndexer.java:222) ~[mica-search-2.0-SNAPSHOT.jar:2.0-SNAPSHOT] at org.obiba.mica.search.ElasticSearchIndexer.indexAll(ElasticSearchIndexer.java:90) ~[mica-search-2.0-SNAPSHOT.jar:2.0-SNAPSHOT] at org.obiba.mica.search.ElasticSearchIndexer.indexAll(ElasticSearchIndexer.java:85) ~[mica-search-2.0-SNAPSHOT.jar:2.0-SNAPSHOT] at org.obiba.mica.network.search.NetworkIndexer.reIndexAll(NetworkIndexer.java:88) ~[mica-search-2.0-SNAPSHOT.jar:2.0-SNAPSHOT] at org.obiba.mica.network.search.NetworkIndexer.reIndexNetworks(NetworkIndexer.java:82) ~[mica-search-2.0-SNAPSHOT.jar:2.0-SNAPSHOT] at org.obiba.mica.network.search.NetworkIndexer$$FastClassBySpringCGLIB$$8364fd06.invoke(<generated>) ~[mica-search-2.0-SNAPSHOT.jar:2.0-SNAPSHOT] at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) ~[spring-core-4.2.7.RELEASE.jar:4.2.7.RELEASE] at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:720) ~[spring-aop-4.2.7.RELEASE.jar:4.2.7.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) ~[spring-aop-4.2.7.RELEASE.jar:4.2.7.RELEASE] at org.springframework.aop.interceptor.AsyncExecutionInterceptor$1.call(AsyncExecutionInterceptor.java:115) ~[spring-aop-4.2.7.RELEASE.jar:4.2.7.RELEASE] at java.util.concurrent.FutureTask.run(FutureTask.java:266) [na:1.8.0_111] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0_111] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [na:1.8.0_111] at java.lang.Thread.run(Thread.java:745) [na:1.8.0_111] {code}

    JIRA | 1 month ago | Yannick Marcon
    org.elasticsearch.index.IndexNotFoundException: no such index

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.elasticsearch.index.IndexNotFoundException

      no such index

      at org.elasticsearch.cluster.metadata.IndexNameExpressionResolver$WildcardExpressionResolver.resolve()
    2. ElasticSearch
      FilterClient.doExecute
      1. org.elasticsearch.cluster.metadata.IndexNameExpressionResolver$WildcardExpressionResolver.resolve(IndexNameExpressionResolver.java:585)[graylog.jar:?]
      2. org.elasticsearch.cluster.metadata.IndexNameExpressionResolver.concreteIndices(IndexNameExpressionResolver.java:133)[graylog.jar:?]
      3. org.elasticsearch.cluster.metadata.IndexNameExpressionResolver.concreteIndices(IndexNameExpressionResolver.java:113)[graylog.jar:?]
      4. org.elasticsearch.action.search.AbstractSearchAsyncAction.<init>(AbstractSearchAsyncAction.java:99)[graylog.jar:?]
      5. org.elasticsearch.action.search.SearchQueryThenFetchAsyncAction.<init>(SearchQueryThenFetchAsyncAction.java:53)[graylog.jar:?]
      6. org.elasticsearch.action.search.TransportSearchAction.doExecute(TransportSearchAction.java:93)[graylog.jar:?]
      7. org.elasticsearch.action.search.TransportSearchAction.doExecute(TransportSearchAction.java:47)[graylog.jar:?]
      8. org.elasticsearch.action.support.TransportAction.doExecute(TransportAction.java:149)[graylog.jar:?]
      9. org.elasticsearch.action.support.TransportAction.execute(TransportAction.java:137)[graylog.jar:?]
      10. org.elasticsearch.action.support.TransportAction.execute(TransportAction.java:85)[graylog.jar:?]
      11. org.elasticsearch.client.node.NodeClient.doExecute(NodeClient.java:58)[graylog.jar:?]
      12. org.elasticsearch.client.support.AbstractClient.execute(AbstractClient.java:359)[graylog.jar:?]
      13. org.elasticsearch.client.FilterClient.doExecute(FilterClient.java:52)[graylog.jar:?]
      13 frames
    3. org.graylog2.indexer
      GlobalTimeoutClient.doExecute
      1. org.graylog2.indexer.elasticsearch.GlobalTimeoutClient.doExecute(GlobalTimeoutClient.java:58)[graylog.jar:?]
      1 frame
    4. ElasticSearch
      AbstractClient.search
      1. org.elasticsearch.client.support.AbstractClient.execute(AbstractClient.java:359)[graylog.jar:?]
      2. org.elasticsearch.client.support.AbstractClient.execute(AbstractClient.java:348)[graylog.jar:?]
      3. org.elasticsearch.client.support.AbstractClient.search(AbstractClient.java:577)[graylog.jar:?]
      3 frames
    5. org.graylog2.indexer
      GlobalTimeoutClient.search
      1. org.graylog2.indexer.elasticsearch.GlobalTimeoutClient.search(GlobalTimeoutClient.java:64)[graylog.jar:?]
      1 frame
    6. graylog2-server
      MongoIndexRangeService.lambda$handleIndexReopening$1
      1. org.graylog2.indexer.indices.Indices.timestampStatsOfIndex(Indices.java:575)[graylog.jar:?]
      2. org.graylog2.indexer.ranges.MongoIndexRangeService.calculateRange(MongoIndexRangeService.java:128)[graylog.jar:?]
      3. org.graylog2.indexer.ranges.MongoIndexRangeService.lambda$handleIndexReopening$1(MongoIndexRangeService.java:180)[graylog.jar:?]
      3 frames
    7. guava-retrying
      Retryer.call
      1. com.github.rholder.retry.AttemptTimeLimiters$NoAttemptTimeLimit.call(AttemptTimeLimiters.java:78)[graylog.jar:?]
      2. com.github.rholder.retry.Retryer.call(Retryer.java:160)[graylog.jar:?]
      2 frames
    8. graylog2-server
      MongoIndexRangeService.handleIndexReopening
      1. org.graylog2.indexer.ranges.MongoIndexRangeService.handleIndexReopening(MongoIndexRangeService.java:180)[graylog.jar:?]
      1 frame
    9. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[?:1.8.0_91]
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[?:1.8.0_91]
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[?:1.8.0_91]
      4. java.lang.reflect.Method.invoke(Method.java:498)[?:1.8.0_91]
      4 frames
    10. Guava
      Subscriber$1.run
      1. com.google.common.eventbus.Subscriber.invokeSubscriberMethod(Subscriber.java:95)[graylog.jar:?]
      2. com.google.common.eventbus.Subscriber$1.run(Subscriber.java:80)[graylog.jar:?]
      2 frames
    11. Metrics Core
      InstrumentedExecutorService$InstrumentedRunnable.run
      1. com.codahale.metrics.InstrumentedExecutorService$InstrumentedRunnable.run(InstrumentedExecutorService.java:176)[graylog.jar:?]
      1 frame
    12. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[?:1.8.0_91]
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[?:1.8.0_91]
      3. java.lang.Thread.run(Thread.java:745)[?:1.8.0_91]
      3 frames