with 1.40Beta1 all of a sudden we can not change the mapping on existing
-not all- types in our index anymore.
*mapper [_all] has different store values, *
*mapper [_all] has different store_term_vector values, *
*mapper [_all] has different store_term_vector_offsets values, * mapper [_all] has different store_term_vector_positions values
This happened with all existing types in the index.
Adding new types and changing the mapping is possible.
Upgrading to 1.40 and restoring a snapshot did not solve this problem.
Setting store* to false results in the same error message, disabling an
enabled _all field is also not possible.
with 1.40Beta1 all of a sudden we can not change the mapping on existing
-not all- types in our index anymore.
*mapper [_all] has different store values, *
*mapper [_all] has different store_term_vector values, *
*mapper [_all] has different store_term_vector_offsets values, * mapper [_all] has different store_term_vector_positions values
This happened with all existing types in the index.
Adding new types and changing the mapping is possible.
Upgrading to 1.40 and restoring a snapshot did not solve this problem.
Setting store* to false results in the same error message, disabling an
enabled _all field is also not possible.
this actually happened with 1.4.0Beta1 so I am not sure if it's the same
issue.
the mapping was changed by a script and the error not caught with the
mapping value added, the trace of the first occurence is
[DEBUG][action.admin.indices.mapping.put] [Dorma] failed to put mappings on
indices [[INDEX]], type [TYPE]
org.elasticsearch.index.mapper.MergeMappingException: Merge failed with
failures {[mapper [_all] has different store values, mapper [_all] has
different store_term_vector values, mapper [_all] has different
store_term_vector_offsets values, mapper [_all] has different
store_term_vector_positions values]}
at
org.elasticsearch.cluster.metadata.MetaDataMappingService$4.execute(MetaDataMappingService.java:511)
at
org.elasticsearch.cluster.service.InternalClusterService$UpdateTask.run(InternalClusterService.java:329)
at
org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.run(PrioritizedEsThreadPoolExecutor.java:153)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
Am Freitag, 7. November 2014 12:12:29 UTC+1 schrieb Michael McCandless:
On Fri, Nov 7, 2014 at 5:31 AM, <mind...@gmail.com <javascript:>> wrote:
Hi,
with 1.40Beta1 all of a sudden we can not change the mapping on existing
-not all- types in our index anymore.
*mapper [_all] has different store values, *
*mapper [_all] has different store_term_vector values, *
*mapper [_all] has different store_term_vector_offsets values, * mapper [_all] has different store_term_vector_positions values
This happened with all existing types in the index.
Adding new types and changing the mapping is possible.
Upgrading to 1.40 and restoring a snapshot did not solve this problem.
Setting store* to false results in the same error message, disabling an
enabled _all field is also not possible.
this actually happened with 1.4.0Beta1 so I am not sure if it's the same
issue.
Sorry, what I mean is that this issue, which adds checking for mapping
conflicts in the _all field and was fixed in 1.4.0Beta1, causes the problem
you're seeing.
the mapping was changed by a script and the error not caught with the
mapping value added, the trace of the first occurence is
[DEBUG][action.admin.indices.mapping.put] [Dorma] failed to put mappings
on indices [[INDEX]], type [TYPE]
org.elasticsearch.index.mapper.MergeMappingException: Merge failed with
failures {[mapper [_all] has different store values, mapper [_all] has
different store_term_vector values, mapper [_all] has different
store_term_vector_offsets values, mapper [_all] has different
store_term_vector_positions values]}
at
org.elasticsearch.cluster.metadata.MetaDataMappingService$4.execute(MetaDataMappingService.java:511)
at
org.elasticsearch.cluster.service.InternalClusterService$UpdateTask.run(InternalClusterService.java:329)
at
org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.run(PrioritizedEsThreadPoolExecutor.java:153)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
Hmm, is that script trying to change the mapping for the _all field?
ok, now I understand. seems to be pretty breaking to me and I think that
only a data dump and bulk import will solve it.
thank you very much!
Am Freitag, 7. November 2014 15:04:51 UTC+1 schrieb Michael McCandless:
On Fri, Nov 7, 2014 at 6:41 AM, <mind...@gmail.com <javascript:>> wrote:
thank you for your fast reply.
this actually happened with 1.4.0Beta1 so I am not sure if it's the same
issue.
Sorry, what I mean is that this issue, which adds checking for mapping
conflicts in the _all field and was fixed in 1.4.0Beta1, causes the problem
you're seeing.
the mapping was changed by a script and the error not caught with the
mapping value added, the trace of the first occurence is
[DEBUG][action.admin.indices.mapping.put] [Dorma] failed to put mappings
on indices [[INDEX]], type [TYPE]
org.elasticsearch.index.mapper.MergeMappingException: Merge failed with
failures {[mapper [_all] has different store values, mapper [_all] has
different store_term_vector values, mapper [_all] has different
store_term_vector_offsets values, mapper [_all] has different
store_term_vector_positions values]}
at
org.elasticsearch.cluster.metadata.MetaDataMappingService$4.execute(MetaDataMappingService.java:511)
at
org.elasticsearch.cluster.service.InternalClusterService$UpdateTask.run(InternalClusterService.java:329)
at
org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.run(PrioritizedEsThreadPoolExecutor.java:153)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
Hmm, is that script trying to change the mapping for the _all field?
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.