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(MetaDataIndexUpgradeService.java:308) at > org.elasticsearch.cluster.metadata.MetaDataIndexUpgradeService.upgradeIndexMetaData(MetaDataIndexUpgradeService.java:116) at > org.elasticsearch.gateway.GatewayMetaState.pre20Upgrade(GatewayMetaState.java:228) at > org.elasticsearch.gateway.GatewayMetaState.<init>(GatewayMetaState.java:87) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native > Method) at > sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at > sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at > java.lang.reflect.Constructor.newInstance(Constructor.java:422) at > org.elasticsearch.common.inject.DefaultConstructionProxyFactory$1.newInstance(DefaultConstructionProxyFactory.java:50) at > org.elasticsearch.common.inject.ConstructorInjector.construct(ConstructorInjector.java:86) at > org.elasticsearch.common.inject.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:104) at > org.elasticsearch.common.inject.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:47) at > org.elasticsearch.common.inject.InjectorImpl.callInContext(InjectorImpl.java:886) at > org.elasticsearch.common.inject.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:43)

Google Groups | Unknown author | 8 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Elastic Search Exception when Upgrading from SonarQube 5.6.1 to 6.0

    Google Groups | 8 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.]] at > org.elasticsearch.cluster.metadata.MetaDataIndexUpgradeService.checkMappingsCompatibility(MetaDataIndexUpgradeService.java:308) at > org.elasticsearch.cluster.metadata.MetaDataIndexUpgradeService.upgradeIndexMetaData(MetaDataIndexUpgradeService.java:116) at > org.elasticsearch.gateway.GatewayMetaState.pre20Upgrade(GatewayMetaState.java:228) at > org.elasticsearch.gateway.GatewayMetaState.<init>(GatewayMetaState.java:87) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native > Method) at > sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at > sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at > java.lang.reflect.Constructor.newInstance(Constructor.java:422) at > org.elasticsearch.common.inject.DefaultConstructionProxyFactory$1.newInstance(DefaultConstructionProxyFactory.java:50) at > org.elasticsearch.common.inject.ConstructorInjector.construct(ConstructorInjector.java:86) at > org.elasticsearch.common.inject.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:104) at > org.elasticsearch.common.inject.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:47) at > org.elasticsearch.common.inject.InjectorImpl.callInContext(InjectorImpl.java:886) at > org.elasticsearch.common.inject.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:43)

    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(MetaDataIndexUpgradeService.java:308) at > org.elasticsearch.cluster.metadata.MetaDataIndexUpgradeService.upgradeIndexMetaData(MetaDataIndexUpgradeService.java:116) at > org.elasticsearch.gateway.GatewayMetaState.pre20Upgrade(GatewayMetaState.java:228) at > org.elasticsearch.gateway.GatewayMetaState.<init>(GatewayMetaState.java:87) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native > Method) at > sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at > sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at > java.lang.reflect.Constructor.newInstance(Constructor.java:422) at > org.elasticsearch.common.inject.DefaultConstructionProxyFactory$1.newInstance(DefaultConstructionProxyFactory.java:50) at > org.elasticsearch.common.inject.ConstructorInjector.construct(ConstructorInjector.java:86) at > org.elasticsearch.common.inject.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:104) at > org.elasticsearch.common.inject.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:47) at > org.elasticsearch.common.inject.InjectorImpl.callInContext(InjectorImpl.java:886) at > org.elasticsearch.common.inject.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:43)

      at org.elasticsearch.common.inject.Scopes$1$1.get()
    2. ElasticSearch
      Scopes$1$1.get
      1. org.elasticsearch.common.inject.Scopes$1$1.get(Scopes.java:59)
      1 frame