Unable to Update Kibana Dashboard - Version Conflict Error


(Eli Keimig) #1

Dashboard: Request to Elasticsearch failed: "Failed to store document changes do to a version conflict."

Version: 5.0.0-beta1-SNAPSHOT
Build: 14648

Error: Request to Elasticsearch failed: "Failed to store document changes do to a version conflict."
    at http://localhost:5601/bundles/kibana.bundle.js?v=14648:26:13175
    at processQueue (http://localhost:5601/bundles/commons.bundle.js?v=14648:38:23621)
    at http://localhost:5601/bundles/commons.bundle.js?v=14648:38:23888
    at Scope.$eval (http://localhost:5601/bundles/commons.bundle.js?v=14648:39:4619)
    at Scope.$digest (http://localhost:5601/bundles/commons.bundle.js?v=14648:39:2359)
    at Scope.$apply (http://localhost:5601/bundles/commons.bundle.js?v=14648:39:5037)
    at done (http://localhost:5601/bundles/commons.bundle.js?v=14648:37:25027)
    at completeRequest (http://localhost:5601/bundles/commons.bundle.js?v=14648:37:28702)
    at XMLHttpRequest.xhr.onload (http://localhost:5601/bundles/commons.bundle.js?v=14648:37:29634)

Clearing session data doesn't resolve the issue, nor does new browser session or ES restart.


(Mark Walkom) #2

Anything corresponding in the ES logs?


(Eli Keimig) #3

Sorry, meant to include that yesterday:

[2016-10-07T00:03:11,327][DEBUG][o.e.a.a.i.m.p.TransportPutMappingAction] [es-01-lg] failed to put mappings on indices [[[.kibana/c9PHHnXHSRue7YMgfY1APQ]]], type [timelion-sheet]
java.lang.IllegalArgumentException: mapper [version] cannot be changed from type [long] to [integer]
        at org.elasticsearch.index.mapper.MappedFieldType.checkTypeName(MappedFieldType.java:144) ~[elasticsearch-5.0.0-beta1.jar:5.0.0-beta1]
        at org.elasticsearch.index.mapper.MappedFieldType.checkCompatibility(MappedFieldType.java:156) ~[elasticsearch-5.0.0-beta1.jar:5.0.0-beta1]
        at org.elasticsearch.index.mapper.FieldTypeLookup.checkCompatibility(FieldTypeLookup.java:128) ~[elasticsearch-5.0.0-beta1.jar:5.0.0-beta1]
        at org.elasticsearch.index.mapper.FieldTypeLookup.copyAndAddAll(FieldTypeLookup.java:94) ~[elasticsearch-5.0.0-beta1.jar:5.0.0-beta1]
        at org.elasticsearch.index.mapper.MapperService.merge(MapperService.java:324) ~[elasticsearch-5.0.0-beta1.jar:5.0.0-beta1]
        at org.elasticsearch.index.mapper.MapperService.merge(MapperService.java:277) ~[elasticsearch-5.0.0-beta1.jar:5.0.0-beta1]
        at org.elasticsearch.cluster.metadata.MetaDataMappingService$PutMappingExecutor.applyRequest(MetaDataMappingService.java:323) ~[elasticsearch-5.0.0-beta1.jar:5.0.0-beta1]
        at org.elasticsearch.cluster.metadata.MetaDataMappingService$PutMappingExecutor.execute(MetaDataMappingService.java:241) ~[elasticsearch-5.0.0-beta1.jar:5.0.0-beta1]
        at org.elasticsearch.cluster.service.ClusterService.runTasksForExecutor(ClusterService.java:555) [elasticsearch-5.0.0-beta1.jar:5.0.0-beta1]
        at org.elasticsearch.cluster.service.ClusterService$UpdateTask.run(ClusterService.java:894) [elasticsearch-5.0.0-beta1.jar:5.0.0-beta1]
        at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingRunnable.run(ThreadContext.java:444) [elasticsearch-5.0.0-beta1.jar:5.0.0-beta1]
        at org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.runAndClean(PrioritizedEsThreadPoolExecutor.java:237) [elasticsearch-5.0.0-beta1.jar:5.0.0-beta1]
        at org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.run(PrioritizedEsThreadPoolExecutor.java:200) [elasticsearch-5.0.0-beta1.jar:5.0.0-beta1]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_102]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_102]
        at java.lang.Thread.run(Thread.java:745) [?:1.8.0_102]

(Eli Keimig) #4

I am now getting the error for visualizations as well when attempting to update them - this was not happening several hours ago:

Visualization Editor: Request to Elasticsearch failed: "Failed to store document changes do to a version conflict."

From ES Log:
[2016-10-07T13:29:30,050][DEBUG][o.e.a.a.i.m.p.TransportPutMappingAction] [es-01-lg] failed to put mappings on indices [[[.kibana/c9PHHnXHSRue7YMgfY1APQ]]], type [search] java.lang.IllegalArgumentException: mapper [hits] cannot be changed from type [long] to [integer] at org.elasticsearch.index.mapper.MappedFieldType.checkTypeName(MappedFieldType.java:144) ~[elasticsearch-5.0.0-beta1.jar:5.0.0-beta1] at org.elasticsearch.index.mapper.MappedFieldType.checkCompatibility(MappedFieldType.java:156) ~[elasticsearch-5.0.0-beta1.jar:5.0.0-beta1] at org.elasticsearch.index.mapper.FieldTypeLookup.checkCompatibility(FieldTypeLookup.java:128) ~[elasticsearch-5.0.0-beta1.jar:5.0.0-beta1] at org.elasticsearch.index.mapper.FieldTypeLookup.copyAndAddAll(FieldTypeLookup.java:94) ~[elasticsearch-5.0.0-beta1.jar:5.0.0-beta1] at org.elasticsearch.index.mapper.MapperService.merge(MapperService.java:324) ~[elasticsearch-5.0.0-beta1.jar:5.0.0-beta1] at org.elasticsearch.index.mapper.MapperService.merge(MapperService.java:277) ~[elasticsearch-5.0.0-beta1.jar:5.0.0-beta1] at org.elasticsearch.cluster.metadata.MetaDataMappingService$PutMappingExecutor.applyRequest(MetaDataMappingService.java:323) ~[elasticsearch-5.0.0-beta1.jar:5.0.0-beta1] at org.elasticsearch.cluster.metadata.MetaDataMappingService$PutMappingExecutor.execute(MetaDataMappingService.java:241) ~[elasticsearch-5.0.0-beta1.jar:5.0.0-beta1] at org.elasticsearch.cluster.service.ClusterService.runTasksForExecutor(ClusterService.java:555) [elasticsearch-5.0.0-beta1.jar:5.0.0-beta1] at org.elasticsearch.cluster.service.ClusterService$UpdateTask.run(ClusterService.java:894) [elasticsearch-5.0.0-beta1.jar:5.0.0-beta1] at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingRunnable.run(ThreadContext.java:444) [elasticsearch-5.0.0-beta1.jar:5.0.0-beta1] at org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.runAndClean(PrioritizedEsThreadPoolExecutor.java:237) [elasticsearch-5.0.0-beta1.jar:5.0.0-beta1] at org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.run(PrioritizedEsThreadPoolExecutor.java:200) [elasticsearch-5.0.0-beta1.jar:5.0.0-beta1] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_102] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_102] at java.lang.Thread.run(Thread.java:745) [?:1.8.0_102]


(Eli Keimig) #5

Appears to have been resolved in 5.0.0 GA


(system) #6