I am running a custom track on esrally 1.1.0. My custom index is like:
{
"mappings": {
"_default_": {
"_all": {
"enabled": false
},
"_field_names": {
"enabled": false
},
"dynamic_templates": [
{
"message": {
"match": "message",
"mapping": {
"fields": {
"keyword": {
"type": "keyword"
}
},
"type": "text"
}
}
},
{
"strings": {
"match_mapping_type": "string",
"mapping": {
"ignore_above": 256,
"type": "keyword"
}
}
}
]
},
"log": {
"_all": {
"enabled": false
},
"_field_names": {
"enabled": false
},
"dynamic_templates": [
{
"message": {
"match": "message",
"mapping": {
"fields": {
"keyword": {
"type": "keyword"
}
},
"type": "text"
}
}
},
{
"strings": {
"match_mapping_type": "string",
"mapping": {
"ignore_above": 256,
"type": "keyword"
}
}
}
],
"properties": {
"@timestamp": {
"type": "date"
},
"app-id": {
"type": "keyword",
"ignore_above": 256
},
"appgroup-id": {
"type": "keyword",
"ignore_above": 256
},
"application-id": {
"type": "keyword",
"ignore_above": 256
},
"application-name": {
"type": "keyword",
"ignore_above": 256
},
"cluster-id": {
"type": "keyword",
"ignore_above": 256
},
"fields": {
"properties": {
"pipename": {
"type": "keyword",
"ignore_above": 256
}
}
},
"instance-id": {
"type": "keyword",
"ignore_above": 256
},
"local-ip": {
"type": "keyword",
"ignore_above": 256
},
"log-content": {
"type": "keyword",
"ignore_above": 256
},
"log-level": {
"type": "keyword",
"ignore_above": 256
},
"log-time": {
"type": "keyword",
"ignore_above": 256
},
"message": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword"
}
}
},
"namespace-id": {
"type": "keyword",
"ignore_above": 256
},
"span-id": {
"type": "keyword",
"ignore_above": 256
},
"timestamp_es": {
"type": "date"
},
"timestamp_ht": {
"type": "date"
},
"trace-id": {
"type": "keyword",
"ignore_above": 256
},
"type": {
"type": "keyword",
"ignore_above": 256
}
}
}
}
}
When I run esrally failed, I tried to create the index manually and remove the create-index action from challenge schedule. But I still get [WARNING] No throughput metrics available for [index-append]. Likely cause: The benchmark ended already during warmup.[WARNING] No throughput metrics available for [random_script_score]. Likely cause: Error rate is 100.0%. Please check the logs.
when I ran esrally --target-host=xxxx:9210 --pipeline=benchmark-only --track=logtest
. I have made the JDK the same version on all the machines. And the related log line are:
2019-06-17 13:16:20,882 -not-actor-/PID:6704 elasticsearch WARNING GET http://172.17.0.101:9210/logtest/_search?request_cache=false [status:400 request:0.001s]
2019-06-17 13:16:21,548 -not-actor-/PID:6704 elasticsearch WARNING GET http://172.17.0.101:9210/logtest/_search?request_cache=false [status:400 request:0.001s]
2019-06-17 13:16:22,215 -not-actor-/PID:6704 elasticsearch WARNING GET http://172.17.0.101:9210/logtest/_search?request_cache=false [status:400 request:0.001s]
2019-06-17 13:16:22,882 -not-actor-/PID:6704 elasticsearch WARNING GET http://172.17.0.101:9210/logtest/_search?request_cache=false [status:400 request:0.001s]
2019-06-17 13:16:23,548 -not-actor-/PID:6704 elasticsearch WARNING GET http://172.17.0.101:9210/logtest/_search?request_cache=false [status:400 request:0.001s]
2019-06-17 13:16:24,215 -not-actor-/PID:6704 elasticsearch WARNING GET http://172.17.0.101:9210/logtest/_search?request_cache=false [status:400 request:0.001s]
2019-06-17 13:01:55,121 -not-actor-/PID:6706 elasticsearch WARNING POST http://172.17.0.101:9210/_bulk [status:400 request:0.189s]
2019-06-17 13:01:55,173 -not-actor-/PID:6705 elasticsearch WARNING POST http://172.17.0.101:9210/_bulk [status:400 request:0.107s]
2019-06-17 13:01:55,198 -not-actor-/PID:6709 elasticsearch WARNING POST http://172.17.0.101:9210/_bulk [status:400 request:0.090s]
2019-06-17 13:01:55,225 -not-actor-/PID:6708 elasticsearch WARNING POST http://172.17.0.101:9210/_bulk [status:400 request:0.298s]
2019-06-17 13:01:55,253 -not-actor-/PID:6706 elasticsearch WARNING POST http://172.17.0.101:9210/_bulk [status:400 request:0.091s]
2019-06-17 13:01:55,277 -not-actor-/PID:6710 elasticsearch WARNING POST http://172.17.0.101:9210/_bulk [status:400 request:0.183s]
I have no idea what's wrong with my track or esrally configuration.