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 | 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.]] 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)
  2. 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.]]
  3. 0

    Mapping conflict error upgrading from 1.7 to 2.0

    GitHub | 1 year ago | rayward
    java.lang.IllegalStateException: unable to upgrade the mappings for the index [myindex], reason: [Mapper for [content] conflicts with existing mapping in other types: [mapper [content] is used by multiple types. Set update_all_types to true to update [search_analyzer] across all types.]]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Cannot upgrade from 5.6 to 6.0 due to ElasticSearch error

    Google Groups | 3 months ago | Martin
    java.lang.IllegalStateException: unable to upgrade the mappings for the index [activities], reason: [Field name [param_Comma-separated list of tag.attributes to be checked for absolute URI. ] cannot contain '.'] at org.elasticsearch.cluster.metadata.MetaDataIndexUpgradeService. checkMappingsCompatibility(MetaDataIndexUpgradeService.java:308) ~[ elasticsearch-2.3.3.jar:2.3.3] at org.elasticsearch.cluster.metadata.MetaDataIndexUpgradeService. upgradeIndexMetaData(MetaDataIndexUpgradeService.java:116) ~[elasticsearch- 2.3.3.jar:2.3.3]
  6. 0

    sonarqube won't start with an elasticsearch error

    Stack Overflow | 8 months ago | tiber
    java.lang.IllegalStateException: Fail to execute ES put mapping request on indices 'rules' on type 'rule' with source '{"dynamic":false,"_id":{"path":"key"},"properties":{"debtRemFnOffset":{"index":"analyzed","index_analyzer":"keyword","search_analyzer":"whitespace","type":"string"},"_debtChar":{"index":"analyzed","index_analyzer":"keyword","search_analyzer":"whitespace","type":"string"},"_key":{"index":"analyzed","index_analyzer":"keyword","search_analyzer":"whitespace","type":"string"},"debtRemFnTypeOverloaded":{"type":"boolean"},"noteLogin":{"index":"analyzed","index_analyzer":"keyword","search_analyzer":"whitespace","type":"string"},"lang":{"index":"analyzed","index_analyzer":"keyword","search_analyzer":"whitespace","type":"string"},"id":{"type":"double"},"allTags":{"type":"multi_field","fields":{"allTags":{"index":"analyzed","index_analyzer":"keyword","search_analyzer":"whitespace","type":"string"},"words":{"type":"string","index":"analyzed","index_analyzer":"index_words","search_analyzer":"search_words"},"grams":{"type":"string","index":"analyzed","index_analyzer":"index_grams","search_analyzer":"search_grams"}}},"debtCharOverloaded":{"type":"boolean"},"ruleKey":{"index":"analyzed","index_analyzer":"keyword","search_analyzer":"whitespace","type":"string"},"createdAt":{"type":"date","format":"date_time"},"repo":{"index":"analyzed","index_analyzer":"keyword","search_analyzer":"whitespace","type":"string"},"name":{"type":"multi_field","fields":{"sort":{"type":"string","index":"analyzed","analyzer":"sortable"},"words":{"type":"string","index":"analyzed","index_analyzer":"index_words","search_analyzer":"search_words"},"name":{"index":"analyzed","index_analyzer":"keyword","search_analyzer":"whitespace","type":"string"},"grams":{"type":"string","index":"analyzed","index_analyzer":"index_grams","search_analyzer":"search_grams"}}},"debtChar":{"index":"analyzed","index_analyzer":"keyword","search_analyzer":"whitespace","type":"string"},"htmlDesc":{"type":"multi_field","fields":{"words":{"type":"string","index":"analyzed","index_analyzer":"index_words","search_analyzer":"search_words"},"htmlDesc":{"index":"analyzed","index_analyzer":"keyword","search_analyzer":"whitespace","type":"string"}}},"effortToFix":{"index":"analyzed","index_analyzer":"keyword","search_analyzer":"whitespace","type":"string"},"_debtRemFnOffset":{"index":"analyzed","index_analyzer":"keyword","search_analyzer":"whitespace","type":"string"},"debtRemFnType":{"index":"analyzed","index_analyzer":"keyword","search_analyzer":"whitespace","type":"string"},"key":{"type":"multi_field","fields":{"sort":{"type":"string","index":"analyzed","analyzer":"sortable"},"key":{"index":"analyzed","index_analyzer":"keyword","search_analyzer":"whitespace","type":"string"}}},"tags":{"index":"analyzed","index_analyzer":"keyword","search_analyzer":"whitespace","type":"string"},"templateKey":{"index":"analyzed","index_analyzer":"keyword","search_analyzer":"whitespace","type":"string"},"internalKey":{"index":"analyzed","index_analyzer":"keyword","search_analyzer":"whitespace","type":"string"},"debtSubCharOverloaded":{"type":"boolean"},"status":{"index":"analyzed","index_analyzer":"keyword","search_analyzer":"whitespace","type":"string"},"noteUpdatedAt":{"type":"date","format":"date_time"},"debtSubChar":{"index":"analyzed","index_analyzer":"keyword","search_analyzer":"whitespace","type":"string"},"mdDesc":{"index":"analyzed","index_analyzer":"keyword","search_analyzer":"whitespace","type":"string"},"noteCreatedAt":{"type":"date","format":"date_time"},"severity":{"index":"analyzed","index_analyzer":"keyword","search_analyzer":"whitespace","type":"string"},"params":{"dynamic":"true","properties":{"description":{"type":"multi_field","fields":{"words":{"type":"string","index":"analyzed","index_analyzer":"index_words","search_analyzer":"search_words"},"description":{"index":"analyzed","index_analyzer":"keyword","search_analyzer":"whitespace","type":"string"}}},"name":{"index":"analyzed","index_analyzer":"keyword","search_analyzer":"whitespace","type":"string"},"defaultValue":{"index":"analyzed","index_analyzer":"keyword","search_analyzer":"whitespace","type":"string"},"type":{"index":"analyzed","index_analyzer":"keyword","search_analyzer":"whitespace","type":"string"}},"type":"nested"},"sysTags":{"index":"analyzed","index_analyzer":"keyword","search_analyzer":"whitespace","type":"string"},"_debtRemFnCoefficient":{"index":"analyzed","index_analyzer":"keyword","search_analyzer":"whitespace","type":"string"},"_debtSubChar":{"index":"analyzed","index_analyzer":"keyword","search_analyzer":"whitespace","type":"string"},"updatedAt":{"type":"date","format":"date_time"},"_debtRemFnType":{"index":"analyzed","index_analyzer":"keyword","search_analyzer":"whitespace","type":"string"},"isTemplate":{"type":"boolean"},"markdownNote":{"index":"analyzed","index_analyzer":"keyword","search_analyzer":"whitespace","type":"string"},"debtRemFnCoefficient":{"index":"analyzed","index_analyzer":"keyword","search_analyzer":"whitespace","type":"string"}},"_all":{"enabled":false}}'

    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(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