Uploaded image for project: 'apiman (API Management)'
  1. apiman (API Management)
  2. APIMAN-1324

index_already_exists_exception when starting WF quickstart

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 1.4.x, 1.4.1.Final
    • 1.4.x
    • Gateway
    • None

    Description

      16:47:30,129 ERROR [stderr] (ESRegistryCacheInvalidator) Exception in thread "ESRegistryCacheInvalidator" java.lang.RuntimeException: java.lang.Exception: Failed to create index: 'apiman_gateway' Reason: {"root_cause":[{"type":"index_already_exists_exception","reason":"index [apiman_gateway/C9dgFNPBQEWWrVJUvPGwvA] already exists","index_uuid":"C9dgFNPBQEWWrVJUvPGwvA","index":"apiman_gateway"}],"type":"index_already_exists_exception","reason":"index [apiman_gateway/C9dgFNPBQEWWrVJUvPGwvA] already exists","index_uuid":"C9dgFNPBQEWWrVJUvPGwvA","index":"apiman_gateway"}
      16:47:30,130 ERROR [stderr] (ESRegistryCacheInvalidator) 	at io.apiman.gateway.engine.es.AbstractClientFactory.initializeClient(AbstractClientFactory.java:72)
      16:47:30,130 ERROR [stderr] (ESRegistryCacheInvalidator) 	at io.apiman.gateway.engine.es.DefaultESClientFactory.createJestClient(DefaultESClientFactory.java:121)
      16:47:30,130 ERROR [stderr] (ESRegistryCacheInvalidator) 	at io.apiman.gateway.engine.es.DefaultESClientFactory.createClient(DefaultESClientFactory.java:68)
      16:47:30,130 ERROR [stderr] (ESRegistryCacheInvalidator) 	at io.apiman.gateway.engine.es.AbstractESComponent.createClient(AbstractESComponent.java:61)
      16:47:30,130 ERROR [stderr] (ESRegistryCacheInvalidator) 	at io.apiman.gateway.engine.es.AbstractESComponent.getClient(AbstractESComponent.java:51)
      16:47:30,131 ERROR [stderr] (ESRegistryCacheInvalidator) 	at io.apiman.gateway.engine.es.PollCachingESRegistry.checkCacheVersion(PollCachingESRegistry.java:204)
      16:47:30,131 ERROR [stderr] (ESRegistryCacheInvalidator) 	at io.apiman.gateway.engine.es.PollCachingESRegistry$6.run(PollCachingESRegistry.java:180)
      16:47:30,131 ERROR [stderr] (ESRegistryCacheInvalidator) 	at java.lang.Thread.run(Thread.java:748)
      16:47:30,131 ERROR [stderr] (ESRegistryCacheInvalidator) Caused by: java.lang.Exception: Failed to create index: 'apiman_gateway' Reason: {"root_cause":[{"type":"index_already_exists_exception","reason":"index [apiman_gateway/C9dgFNPBQEWWrVJUvPGwvA] already exists","index_uuid":"C9dgFNPBQEWWrVJUvPGwvA","index":"apiman_gateway"}],"type":"index_already_exists_exception","reason":"index [apiman_gateway/C9dgFNPBQEWWrVJUvPGwvA] already exists","index_uuid":"C9dgFNPBQEWWrVJUvPGwvA","index":"apiman_gateway"}
      16:47:30,131 ERROR [stderr] (ESRegistryCacheInvalidator) 	at io.apiman.gateway.engine.es.AbstractClientFactory.createIndex(AbstractClientFactory.java:91)
      16:47:30,131 ERROR [stderr] (ESRegistryCacheInvalidator) 	at io.apiman.gateway.engine.es.AbstractClientFactory.initializeClient(AbstractClientFactory.java:68)
      16:47:30,131 ERROR [stderr] (ESRegistryCacheInvalidator) 	... 7 more
      

      Attachments

        Activity

          People

            msavy_jira Marc Savy (Inactive)
            jcechace@redhat.com Jakub Čecháček
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: