java.lang.IllegalArgumentException: mapper [host] cannot be changed from type [string] to [ip]

GitHub | alextricity25 | 6 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    GitHub comment 1440#252733926

    GitHub | 6 months ago | alextricity25
    java.lang.IllegalArgumentException: mapper [host] cannot be changed from type [string] to [ip]
  2. 0

    GitHub comment 14313#152151963

    GitHub | 1 year ago | rborer
    java.lang.IllegalArgumentException: Mapper for [_index] conflicts with existing mapping in other types: [mapper [_index] cannot be changed from type [_index] to [string]]
  3. 0

    Elasticsearch - Mapping conflict error upgrading from 1.5 to 2.0

    Stack Overflow | 1 year ago | chilladx
    java.lang.IllegalArgumentException: Mapper for [timestamp] conflicts with existing mapping in other types: [mapper [timestamp] cannot be changed from type [date] to [string]]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Mapping conflict error upgrading from 1.5 to 2.0

    GitHub | 1 year ago | chilladx
    java.lang.IllegalArgumentException: Mapper for [timestamp] conflicts with existing mapping in other types: [mapper [timestamp] cannot be changed from type [date] to [string]]
  6. 0

    GitHub comment 14575#155447104

    GitHub | 1 year ago | TwentyOneSolutions
    java.lang.IllegalArgumentException: Mapper for [_all] conflicts with existing mapping in other types: [mapper [_all] has different [analyzer], mapper [_all] is used by multiple types. Set update_all_types to true to update [search_analyzer] across all types., mapper [_all] is used by multiple types. Set update_all_types to true to update [search_quote_analyzer] across all types.]

    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.IllegalArgumentException

      mapper [host] cannot be changed from type [string] to [ip]

      at org.elasticsearch.index.mapper.MappedFieldType.checkTypeName()
    2. ElasticSearch
      GatewayMetaState.<init>
      1. org.elasticsearch.index.mapper.MappedFieldType.checkTypeName(MappedFieldType.java:238)
      2. org.elasticsearch.index.mapper.MappedFieldType.checkCompatibility(MappedFieldType.java:250)
      3. org.elasticsearch.index.mapper.FieldTypeLookup.checkCompatibility(FieldTypeLookup.java:151)
      4. org.elasticsearch.index.mapper.FieldTypeLookup.copyAndAddAll(FieldTypeLookup.java:115)
      5. org.elasticsearch.index.mapper.MapperService.merge(MapperService.java:381)
      6. org.elasticsearch.index.mapper.MapperService.merge(MapperService.java:320)
      7. org.elasticsearch.cluster.metadata.MetaDataIndexUpgradeService.checkMappingsCompatibility(MetaDataIndexUpgradeService.java:302)
      8. org.elasticsearch.cluster.metadata.MetaDataIndexUpgradeService.upgradeIndexMetaData(MetaDataIndexUpgradeService.java:116)
      9. org.elasticsearch.gateway.GatewayMetaState.pre20Upgrade(GatewayMetaState.java:228)
      10. org.elasticsearch.gateway.GatewayMetaState.<init>(GatewayMetaState.java:87)
      10 frames
    3. Java RT
      Constructor.newInstance
      1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
      3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      4. java.lang.reflect.Constructor.newInstance(Constructor.java:526)
      4 frames