Previously raised issue but the issue is still not fixed.
ES Version 8.2.0
ESRally Version: 2.7.0
Running on kubernetes. Using official docker image.
Getting below error,
message":"failed on parsing mappings on index creation [nyc_taxis]", "ecs.version": "1.2.0","service.name":"ES_ECS","event.dataset":"elasticsearch.server","process.thread.name":"elasticsearch[es-master][masterService#updateTask][T#1]","log.logger":"org.elasticsearch.cluster.metadata.MetadataCreateIndexService","elasticsearch.cluster.uuid":"-nByYRa5TOOflVUTHaZ1lg","elasticsearch.node.id":"18ZwZRWBSIapSeYkIJ9lSw","elasticsearch.node.name":"es-master","elasticsearch.cluster.name":"elasticsearch","error.type":"org.elasticsearch.index.mapper.MapperParsingException","error.message":"Failed to parse mapping: unknown parameter [mode] on mapper [_source] of type [null]","error.stack_trace":"org.elasticsearch.index.mapper.MapperParsingException: Failed to parse mapping: unknown parameter [mode] on mapper [_source] of type [null]\n\tat org.elasticsearch.index.mapper.MapperService.parseMapping(MapperService.java:372)\n\tat org.elasticsearch.index.mapper.MapperService.merge(MapperService.java:347)\n\tat
As we mentioned in the original post, the problem is not in Rally but in the upstream rally-tracks repository that it depends on. When you use --offline it does not fetch track updates from remote track repositories.
Apologies, it's not download.sh that is concerning, it's the version of the track. --track-path=/rally/.rally/benchmarks/tracks/default/${ES_RALLY_RACE} is pointing to a version of the track that doesn't work.
Therefore you should check out branch 8 at that location. Using version 8.4 will technically get you over this specific error but won't guarantee that you are using a version of the track that we have tested or asserts works with your stack version, because you are not using an intentional version of the benchmark code.
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.