You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @vroyer, we run elassandra 6.2.3 on Centos 7, Wanted to recreate index. Dropped it and can not create one. Writes the following message in logs.
2021-01-22 18:46:50,207 WARN [elasticsearch[192.168.16.20][masterService#updateTask][T#1]] MasterService.java:684 executeTasks failed to execute cluster state update source [create-index [x], cause [api]]
java.lang.IllegalArgumentException: Rejecting mapping update to [x] as the final mapping would have more than 1 type: [x, source]
at org.elasticsearch.index.mapper.MapperService.internalMerge(MapperService.java:663)
at org.elasticsearch.index.mapper.MapperService.internalMerge(MapperService.java:515)
at org.elasticsearch.index.mapper.MapperService.merge(MapperService.java:439)
at org.elasticsearch.cluster.metadata.MetaDataCreateIndexService$IndexCreationTask.execute(MetaDataCreateIndexService.java:493)
at org.elasticsearch.cluster.ClusterStateUpdateTask.execute(ClusterStateUpdateTask.java:52)
at org.elasticsearch.cluster.service.MasterService.executeTasks(MasterService.java:676)
at org.elasticsearch.cluster.service.MasterService.calculateTaskOutputs(MasterService.java:300)
at org.elasticsearch.cluster.service.MasterService.runTasks(MasterService.java:221)
at org.elasticsearch.cluster.service.MasterService$Batcher.run(MasterService.java:152)
at org.elasticsearch.cluster.service.TaskBatcher.runIfNotProcessed(TaskBatcher.java:150)
at org.elasticsearch.cluster.service.TaskBatcher$BatchedTask.run(TaskBatcher.java:188)
at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingRunnable.run(ThreadContext.java:573)
at org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.runAndClean(PrioritizedEsThreadPoolExecutor.java:244)
at org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.run(PrioritizedEsThreadPoolExecutor.java:207)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
http get response :
{
"error": {
"root_cause": [
{
"type": "index_not_found_exception",
"reason": "no such index",
"resource.type": "index_or_alias",
"resource.id": "x",
"index_uuid": "_na_",
"index": "x"
}
],
"type": "index_not_found_exception",
"reason": "no such index",
"resource.type": "index_or_alias",
"resource.id": "x",
"index_uuid": "_na_",
"index": "x"
},
"status": 404
}
http put response :
{
"error": {
"root_cause": [
{
"type": "illegal_argument_exception",
"reason": "Rejecting mapping update to [x] as the final mapping would have more than 1 type: [x, source]"
}
],
"type": "illegal_argument_exception",
"reason": "Rejecting mapping update to [x] as the final mapping would have more than 1 type: [x, source]"
},
"status": 400
}
Hi @vroyer, we run elassandra 6.2.3 on Centos 7, Wanted to recreate index. Dropped it and can not create one. Writes the following message in logs.
http get response :
http put response :
gossip info :
The text was updated successfully, but these errors were encountered: