java.lang.IllegalStateException: unable to upgrade the mappings for the index [rules], reason: [Mapper for [ruleKey] conflicts with existing mapping in other types: [mapper [ruleKey] has different [index] values, mapper [ruleKey] has different [analyzer], mapper [ruleKey] is used by multiple types. Set update_all_types to true to update [search_analyzer] across all types., mapper [ruleKey] is used by multiple types. Set update_all_types to true to update [search_quote_analyzer] across all types.]]

Google Groups | Unknown author | 4 months ago
  1. 0

    Elastic Search Exception when Upgrading from SonarQube 5.6.1 to 6.0

    Google Groups | 4 months ago | Unknown author
    java.lang.IllegalStateException: unable to upgrade the mappings for the index [rules], reason: [Mapper for [ruleKey] conflicts with existing mapping in other types: [mapper [ruleKey] has different [index] values, mapper [ruleKey] has different [analyzer], mapper [ruleKey] is used by multiple types. Set update_all_types to true to update [search_analyzer] across all types., mapper [ruleKey] is used by multiple types. Set update_all_types to true to update [search_quote_analyzer] across all types.]]
  2. 0

    GitHub comment 178#152220459

    GitHub | 1 year ago | jmreymond
    java.lang.IllegalStateException: unable to upgrade the mappings for the index [evol2], reason: [No handler for type [attachment] declared on field [docsfile]]
  3. 0

    GitHub comment 178#152234205

    GitHub | 1 year ago | jmreymond
    java.lang.IllegalStateException: unable to upgrade the mappings for the index [evol3], reason: [No handler for type [attachment] declared on field [docsfile]]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Mapping upgrade issue from 1.7

    GitHub | 1 year ago | jmreymond
    java.lang.IllegalStateException: unable to upgrade the mappings for the index [evol3], reason: [No handler for type [attachment] declared on field [docsfile]]
  6. 0

    GitHub comment 180#154691059

    GitHub | 1 year ago | jmreymond
    java.lang.IllegalStateException: unable to upgrade the mappings for the index [evol2], reason: [No handler for type [attachment] declared on field [docsfile]] Likely root cause: MapperParsingException[No handler for type [attachment] declared on field [docsfile]]

    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. java.lang.IllegalStateException

      unable to upgrade the mappings for the index [rules], reason: [Mapper for [ruleKey] conflicts with existing mapping in other types: [mapper [ruleKey] has different [index] values, mapper [ruleKey] has different [analyzer], mapper [ruleKey] is used by multiple types. Set update_all_types to true to update [search_analyzer] across all types., mapper [ruleKey] is used by multiple types. Set update_all_types to true to update [search_quote_analyzer] across all types.]]

      at org.elasticsearch.cluster.metadata.MetaDataIndexUpgradeService.checkMappingsCompatibility()
    2. ElasticSearch
      GatewayMetaState.<init>
      1. org.elasticsearch.cluster.metadata.MetaDataIndexUpgradeService.checkMappingsCompatibility(MetaDataIndexUpgradeService.java:308)
      2. org.elasticsearch.cluster.metadata.MetaDataIndexUpgradeService.upgradeIndexMetaData(MetaDataIndexUpgradeService.java:116)
      3. org.elasticsearch.gateway.GatewayMetaState.pre20Upgrade(GatewayMetaState.java:228)
      4. org.elasticsearch.gateway.GatewayMetaState.<init>(GatewayMetaState.java:87)
      4 frames
    3. Java RT
      Constructor.newInstance
      1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
      3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      4. java.lang.reflect.Constructor.newInstance(Constructor.java:422)
      4 frames
    4. ElasticSearch
      NodeBuilder.build
      1. org.elasticsearch.common.inject.DefaultConstructionProxyFactory$1.newInstance(DefaultConstructionProxyFactory.java:50)
      2. org.elasticsearch.common.inject.ConstructorInjector.construct(ConstructorInjector.java:86)
      3. org.elasticsearch.common.inject.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:104)
      4. org.elasticsearch.common.inject.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:47)
      5. org.elasticsearch.common.inject.InjectorImpl.callInContext(InjectorImpl.java:886)
      6. org.elasticsearch.common.inject.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:43)
      7. org.elasticsearch.common.inject.Scopes$1$1.get(Scopes.java:59)
      8. org.elasticsearch.common.inject.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:46)
      9. org.elasticsearch.common.inject.InjectorBuilder$1.call(InjectorBuilder.java:201)
      10. org.elasticsearch.common.inject.InjectorBuilder$1.call(InjectorBuilder.java:193)
      11. org.elasticsearch.common.inject.InjectorImpl.callInContext(InjectorImpl.java:879)
      12. org.elasticsearch.common.inject.InjectorBuilder.loadEagerSingletons(InjectorBuilder.java:193)
      13. org.elasticsearch.common.inject.InjectorBuilder.injectDynamically(InjectorBuilder.java:175)
      14. org.elasticsearch.common.inject.InjectorBuilder.build(InjectorBuilder.java:110)
      15. org.elasticsearch.common.inject.Guice.createInjector(Guice.java:96)
      16. org.elasticsearch.common.inject.Guice.createInjector(Guice.java:70)
      17. org.elasticsearch.common.inject.ModulesBuilder.createInjector(ModulesBuilder.java:46)
      18. org.elasticsearch.node.Node.<init>(Node.java:213)
      19. org.elasticsearch.node.Node.<init>(Node.java:140)
      20. org.elasticsearch.node.NodeBuilder.build(NodeBuilder.java:143)
      20 frames
    5. org.sonar.search
      SearchServer.start
      1. org.sonar.search.SearchServer.start(SearchServer.java:48)
      1 frame