# Esrally is now report support es7?

**URL:** <https://discuss.elastic.co/t/esrally-is-now-report-support-es7/177412>\
**Category:** Elasticsearch\
**Tags:** rally\
**Created:** [April 18, 2019, 8:00am UTC](https://discuss.elastic.co/t/esrally-is-now-report-support-es7/177412 "2019-04-18T08:00:43Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![zqc0512](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/zqc0512/32/32141_2.png) [@zqc0512](https://discuss.elastic.co/u/zqc0512)\
**Post date:** [April 18, 2019, 8:00am UTC](https://discuss.elastic.co/t/esrally-is-now-report-support-es7/177412/1 "2019-04-18T08:00:43Z")

</div>

esrally is now support es7?  
when i use esrally report to elasticsearch  
esrally test with http\_logs can't put mapping  
in es7 log

```
[2019-04-18T15:44:07,457][DEBUG][o.e.a.a.i.t.p.TransportPutIndexTemplateAction] [node-3] failed to put template [rally-metrics]
org.elasticsearch.index.mapper.MapperParsingException: Failed to parse mapping [_doc]: Root mapping definition has unsupported parameters: [_default_ : {_source={enabled=true}, dynamic_templates=[{strings={mapping={type=keyword}, match_mapping_type=string, match=*}}], _all={enabled=false}, properties={max={type=float}, relative-time={type=long}, environment={type=keyword}, unit={type=keyword}, @timestamp={format=epoch_millis, type=date}, min={type=float}, task={type=keyword}, median={type=float}, trial-timestamp={format=basic_date_time_no_millis, type=date, fields={raw={type=keyword}}}, car={type=keyword}, trial-id={type=keyword}, mean={type=float}, operation-type={type=keyword}, name={type=keyword}, challenge={type=keyword}, lap={type=short}, track={type=keyword}, job={type=keyword}, value={type=float}, operation={type=keyword}, sample-type={type=keyword}}}]
        at org.elasticsearch.index.mapper.MapperService.internalMerge(MapperService.java:394) ~[elasticsearch-7.0.0.jar:7.0.0]
        at org.elasticsearch.index.mapper.MapperService.merge(MapperService.java:323) ~[elasticsearch-7.0.0.jar:7.0.0]
        at org.elasticsearch.cluster.metadata.MetaDataIndexTemplateService.validateAndAddTemplate(MetaDataIndexTemplateService.java:253) ~[elasticsearch-7.0.0.jar:7.0.0]
        at org.elasticsearch.cluster.metadata.MetaDataIndexTemplateService.access$300(MetaDataIndexTemplateService.java:65) ~[elasticsearch-7.0.0.jar:7.0.0]
        at org.elasticsearch.cluster.metadata.MetaDataIndexTemplateService$2.execute(MetaDataIndexTemplateService.java:176) ~[elasticsearch-7.0.0.jar:7.0.0]
        at org.elasticsearch.cluster.ClusterStateUpdateTask.execute(ClusterStateUpdateTask.java:47) ~[elasticsearch-7.0.0.jar:7.0.0]
        at org.elasticsearch.cluster.service.MasterService.executeTasks(MasterService.java:687) ~[elasticsearch-7.0.0.jar:7.0.0]
        at org.elasticsearch.cluster.service.MasterService.calculateTaskOutputs(MasterService.java:310) ~[elasticsearch-7.0.0.jar:7.0.0]
        at org.elasticsearch.cluster.service.MasterService.runTasks(MasterService.java:210) [elasticsearch-7.0.0.jar:7.0.0]
        at org.elasticsearch.cluster.service.MasterService$Batcher.run(MasterService.java:142) [elasticsearch-7.0.0.jar:7.0.0]
        at org.elasticsearch.cluster.service.TaskBatcher.runIfNotProcessed(TaskBatcher.java:150) [elasticsearch-7.0.0.jar:7.0.0]
        at org.elasticsearch.cluster.service.TaskBatcher$BatchedTask.run(TaskBatcher.java:188) [elasticsearch-7.0.0.jar:7.0.0]
        at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingRunnable.run(ThreadContext.java:681) [elasticsearch-7.0.0.jar:7.0.0]
        at org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.runAndClean(PrioritizedEsThreadPoolExecutor.java:252) [elasticsearch-7.0.0.jar:7.0.0]
        at org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.run(PrioritizedEsThreadPoolExecutor.java:215) [elasticsearch-7.0.0.jar:7.0.0]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]
        at java.lang.Thread.run(Thread.java:835) [?:?]
Caused by: org.elasticsearch.index.mapper.MapperParsingException: Root mapping definition has unsupported parameters: [_default_ : {_source={enabled=true}, dynamic_templates=[{strings={mapping={type=keyword}, match_mapping_type=string, match=*}}], _all={enabled=false}, properties={max={type=float}, relative-time={type=long}, environment={type=keyword}, unit={type=keyword}, @timestamp={format=epoch_millis, type=date}, min={type=float}, task={type=keyword}, median={type=float}, trial-timestamp={format=basic_date_time_no_millis, type=date, fields={raw={type=keyword}}}, car={type=keyword}, trial-id={type=keyword}, mean={type=float}, operation-type={type=keyword}, name={type=keyword}, challenge={type=keyword}, lap={type=short}, track={type=keyword}, job={type=keyword}, value={type=float}, operation={type=keyword}, sample-type={type=keyword}}}]
        at org.elasticsearch.index.mapper.DocumentMapperParser.checkNoRemainingFields(DocumentMapperParser.java:152) ~[elasticsearch-7.0.0.jar:7.0.0]
        at org.elasticsearch.index.mapper.DocumentMapperParser.parse(DocumentMapperParser.java:140) ~[elasticsearch-7.0.0.jar:7.0.0]
        at org.elasticsearch.index.mapper.DocumentMapperParser.parse(DocumentMapperParser.java:92) ~[elasticsearch-7.0.0.jar:7.0.0]
        at org.elasticsearch.index.mapper.MapperService.internalMerge(MapperService.java:392) ~[elasticsearch-7.0.0.jar:7.0.0]
```

---

<div class="post-metadata">

**Author:** ![zqc0512](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/zqc0512/32/32141_2.png) [@zqc0512](https://discuss.elastic.co/u/zqc0512)\
**Post date:** [April 18, 2019, 8:01am UTC](https://discuss.elastic.co/t/esrally-is-now-report-support-es7/177412/2 "2019-04-18T08:01:44Z")

</div>

in esrally log is

```
2019-04-18 07:44:07,518 -not-actor-/PID:74196 esrally.rally INFO Actor system is still running. Waiting...
2019-04-18 07:44:08,520 -not-actor-/PID:74196 esrally.rally INFO Shutdown completed.
2019-04-18 07:44:08,520 -not-actor-/PID:74196 esrally.rally ERROR Cannot run subcommand [race].
Traceback (most recent call last):
  File "/usr/local/python3/lib/python3.7/site-packages/esrally/rally.py", line 475, in dispatch_sub_command
    race(cfg)
  File "/usr/local/python3/lib/python3.7/site-packages/esrally/rally.py", line 404, in race
    with_actor_system(lambda c: racecontrol.run(c), cfg)
  File "/usr/local/python3/lib/python3.7/site-packages/esrally/rally.py", line 425, in with_actor_system
    runnable(cfg)
  File "/usr/local/python3/lib/python3.7/site-packages/esrally/rally.py", line 404, in <lambda>
    with_actor_system(lambda c: racecontrol.run(c), cfg)
  File "/usr/local/python3/lib/python3.7/site-packages/esrally/racecontrol.py", line 417, in run
    raise e
  File "/usr/local/python3/lib/python3.7/site-packages/esrally/racecontrol.py", line 414, in run
    pipeline(cfg)
  File "/usr/local/python3/lib/python3.7/site-packages/esrally/racecontrol.py", line 78, in __call__
    self.target(cfg)
  File "/usr/local/python3/lib/python3.7/site-packages/esrally/racecontrol.py", line 351, in benchmark_only
    return race(cfg, external=True)
  File "/usr/local/python3/lib/python3.7/site-packages/esrally/racecontrol.py", line 303, in race
    raise exceptions.RallyError(result.message, result.cause)
esrally.exceptions.RallyError: ("Error in race control (('A transport error occurred while running the operation [put_template] against your Elasticsearch metri
cs store on host [node-5] at port [19200].', None))", None)
```

---

<div class="post-metadata">

**Author:** ![spinscale](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spinscale/32/25011_2.png) [@spinscale](https://discuss.elastic.co/u/spinscale)\
**Post date:** [April 18, 2019, 10:21pm UTC](https://discuss.elastic.co/t/esrally-is-now-report-support-es7/177412/3 "2019-04-18T22:21:25Z")

</div>

Hey,

what version of esrally are you using? Just run `esrally --version`

--Alex

---

<div class="post-metadata">

**Author:** ![zqc0512](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/zqc0512/32/32141_2.png) [@zqc0512](https://discuss.elastic.co/u/zqc0512)\
**Post date:** [April 19, 2019, 1:40am UTC](https://discuss.elastic.co/t/esrally-is-now-report-support-es7/177412/4 "2019-04-19T01:40:24Z")

</div>

```
[root@xxxxdefault]# esrally --version
esrally 1.0.4
```

---

<div class="post-metadata">

**Author:** ![zqc0512](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/zqc0512/32/32141_2.png) [@zqc0512](https://discuss.elastic.co/u/zqc0512)\
**Post date:** [April 19, 2019, 2:36am UTC](https://discuss.elastic.co/t/esrally-is-now-report-support-es7/177412/5 "2019-04-19T02:36:11Z")

</div>

need change the mapping.

`/usr/local/python3/lib/python3.7/site-packages/esrally/resources/metrics-template.json`

I find this file with long time..

---

<div class="post-metadata">

**Author:** ![zqc0512](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/zqc0512/32/32141_2.png) [@zqc0512](https://discuss.elastic.co/u/zqc0512)\
**Post date:** [April 19, 2019, 2:46am UTC](https://discuss.elastic.co/t/esrally-is-now-report-support-es7/177412/6 "2019-04-19T02:46:14Z")

</div>

but the data can't into..

```
[2019-04-19T10:37:57,061][DEBUG][o.e.a.a.i.m.p.TransportPutMappingAction] [node-3] failed to put mappings on indices [[[rally-metrics-2019-04/L_hDBYxpSzeAI2425W5Y_g]]], type [metrics]
java.lang.IllegalArgumentException: Rejecting mapping update to [rally-metrics-2019-04] as the final mapping would have more than 1 type: [_doc, metrics]
        at org.elasticsearch.index.mapper.MapperService.internalMerge(MapperService.java:449) ~[elasticsearch-7.0.0.jar:7.0.0]
        at org.elasticsearch.index.mapper.MapperService.internalMerge(MapperService.java:398) ~[elasticsearch-7.0.0.jar:7.0.0]
        at org.elasticsearch.index.mapper.MapperService.merge(MapperService.java:331) ~[elasticsearch-7.0.0.jar:7.0.0]
        at org.elasticsearch.cluster.metadata.MetaDataMappingService$PutMappingExecutor.applyRequest(MetaDataMappingService.java:315) ~[elasticsearch-7.0.0.jar:7.0.0]
        at org.elasticsearch.cluster.metadata.MetaDataMappingService$PutMappingExecutor.execute(MetaDataMappingService.java:238) ~[elasticsearch-7.0.0.jar:7.0.0]
        at org.elasticsearch.cluster.service.MasterService.executeTasks(MasterService.java:687) ~[elasticsearch-7.0.0.jar:7.0.0]
        at org.elasticsearch.cluster.service.MasterService.calculateTaskOutputs(MasterService.java:310) ~[elasticsearch-7.0.0.jar:7.0.0]
        at org.elasticsearch.cluster.service.MasterService.runTasks(MasterService.java:210) [elasticsearch-7.0.0.jar:7.0.0]
        at org.elasticsearch.cluster.service.MasterService$Batcher.run(MasterService.java:142) [elasticsearch-7.0.0.jar:7.0.0]
        at org.elasticsearch.cluster.service.TaskBatcher.runIfNotProcessed(TaskBatcher.java:150) [elasticsearch-7.0.0.jar:7.0.0]
        at org.elasticsearch.cluster.service.TaskBatcher$BatchedTask.run(TaskBatcher.java:188) [elasticsearch-7.0.0.jar:7.0.0]
        at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingRunnable.run(ThreadContext.java:681) [elasticsearch-7.0.0.jar:7.0.0]
        at org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.runAndClean(PrioritizedEsThreadPoolExecutor.java:252) [elasticsearch-7.0.0.jar:7.0.0]
        at org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.run(PrioritizedEsThreadPoolExecutor.java:215) [elasticsearch-7.0.0.jar:7.0.0]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]
        at java.lang.Thread.run(Thread.java:835) [?:?]
```

---

<div class="post-metadata">

**Author:** ![dliappis](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dliappis/32/56174_2.png) [@dliappis](https://discuss.elastic.co/u/dliappis)\
**Post date:** [April 22, 2019, 3:45pm UTC](https://discuss.elastic.co/t/esrally-is-now-report-support-es7/177412/7 "2019-04-22T15:45:10Z")

</div>

Hello,

This has been implemented in [https://github.com/elastic/rally/pull/654](https://github.com/elastic/rally/pull/654), but as we haven't released 1.1.0 yet, you should either stay tuned for a new release soon or install [Rally from source](https://esrally.readthedocs.io/en/stable/developing.html#installation-instructions-for-development).

Cheers,  
Dimitris

---

<div class="post-metadata">

**Author:** ![zqc0512](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/zqc0512/32/32141_2.png) [@zqc0512](https://discuss.elastic.co/u/zqc0512)\
**Post date:** [April 23, 2019, 1:00am UTC](https://discuss.elastic.co/t/esrally-is-now-report-support-es7/177412/8 "2019-04-23T01:00:08Z")

</div>

this esrally 1.0.4 is not support es 5.6.4?  
it with offline install.  
sorry cant use 1.1.0. wating for you.

---

<div class="post-metadata">

**Author:** ![dliappis](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dliappis/32/56174_2.png) [@dliappis](https://discuss.elastic.co/u/dliappis)\
**Post date:** [April 23, 2019, 10:16am UTC](https://discuss.elastic.co/t/esrally-is-now-report-support-es7/177412/9 "2019-04-23T10:16:48Z")

</div>

esrally 1.0.4 should be fine with ES metric store 5.6.x

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [May 21, 2019, 10:16am UTC](https://discuss.elastic.co/t/esrally-is-now-report-support-es7/177412/10 "2019-05-21T10:16:50Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
