org.elasticsearch.indices.IndexAlreadyExistsException: [test-1234556] already exists

Sonatype JIRA | Kelly Robinson | 2 years ago
  1. 0

    When checking to see if an index already exists the raw repository name is used, but elasticsearch stores indices in lowercase only. This leads to an exception being thrown on update as we try to create the same index again. {code} Suppressed: org.elasticsearch.indices.IndexAlreadyExistsException: [test-1234556] already exists at org.elasticsearch.cluster.metadata.MetaDataCreateIndexService.validateIndexName(MetaDataCreateIndexService.java:160) [na:na] at org.elasticsearch.cluster.metadata.MetaDataCreateIndexService.validate(MetaDataCreateIndexService.java:552) [na:na] at org.elasticsearch.cluster.metadata.MetaDataCreateIndexService.access$200(MetaDataCreateIndexService.java:88) [na:na] at org.elasticsearch.cluster.metadata.MetaDataCreateIndexService$2.execute(MetaDataCreateIndexService.java:230) [na:na] at org.elasticsearch.cluster.service.InternalClusterService$UpdateTask.run(InternalClusterService.java:365) [na:na] at org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.runAndClean(PrioritizedEsThreadPoolExecutor.java:188) [na:na] at org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.run(PrioritizedEsThreadPoolExecutor.java:158) [na:na] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0_40] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [na:1.8.0_40] ... 1 common frames omitted {code} Any repository created with uppercase letters can be used to trigger this behaviour; on an update from the UI you will be greated with a 'facet failed to start' message.

    Sonatype JIRA | 2 years ago | Kelly Robinson
    org.elasticsearch.indices.IndexAlreadyExistsException: [test-1234556] already exists
  2. 0

    Allow writing into empty index with _push

    GitHub | 2 years ago | jprante
    org.elasticsearch.common.util.concurrent.UncategorizedExecutionException: Failed execution
  3. 0

    No operations allowed after connection closed. - mysql

    GitHub | 3 years ago | friedlysol
    org.elasticsearch.indices.IndexAlreadyExistsException: [jdbc] already exists
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    river fails to start in es 1.1.0

    GitHub | 3 years ago | chadkouse
    org.elasticsearch.indices.IndexAlreadyExistsException: [epriver1] already exists
  6. 0

    Titan 0.32 and remote Elastic Search

    Google Groups | 3 years ago | HunJae Lee
    com.thinkaurelius.titan.diskstorage.es.ElasticSearchIndex

    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.indices.IndexAlreadyExistsException

      [test-1234556] already exists

      at org.elasticsearch.cluster.metadata.MetaDataCreateIndexService.validateIndexName()
    2. ElasticSearch
      PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.run
      1. org.elasticsearch.cluster.metadata.MetaDataCreateIndexService.validateIndexName(MetaDataCreateIndexService.java:160)[na:na]
      2. org.elasticsearch.cluster.metadata.MetaDataCreateIndexService.validate(MetaDataCreateIndexService.java:552)[na:na]
      3. org.elasticsearch.cluster.metadata.MetaDataCreateIndexService.access$200(MetaDataCreateIndexService.java:88)[na:na]
      4. org.elasticsearch.cluster.metadata.MetaDataCreateIndexService$2.execute(MetaDataCreateIndexService.java:230)[na:na]
      5. org.elasticsearch.cluster.service.InternalClusterService$UpdateTask.run(InternalClusterService.java:365)[na:na]
      6. org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.runAndClean(PrioritizedEsThreadPoolExecutor.java:188)[na:na]
      7. org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.run(PrioritizedEsThreadPoolExecutor.java:158)[na:na]
      7 frames
    3. Java RT
      ThreadPoolExecutor$Worker.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[na:1.8.0_40]
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[na:1.8.0_40]
      2 frames