@dliappis
I tried to adapt your example to my situation. However, that did not work. As, after successful completion Rally announces:
error rate | bulk | 100 | % |
Which results into 300 empty indices.
After trying many different configurations and combinations of them I tried to copy pasta your example and that still resulted into 100% error rate. Which makes me think it is a versioning issue but I don't know how to deal with it. Mainly because I am not sure how to debug this. Any tips would be appreciated
I did not mention my environment as I never thought it would be that crucial. So, I am testing a remote cluster, which has version 5.6.13 ElasticSearch. I do not know what else might be important though.
Command:
esrally --track-path=$HOME --target-hosts=elasticsearch --pipeline=benchmark-only
Data that I use:
$ head docs.json
{"index": {"_index": "nasatre", "_type": "docs", "_id": "1"}}
{"ip": "199.72.81.55", "date": "[01/Jul/1995:00:00:01 -0400]", "request": "GET /history/apollo/ HTTP/1.0", "result": 200, "size": 6245}
{"index": {"_index": "nasaone", "_type": "docs", "_id": "2"}}
{"ip": "unicomp6.unicomp.net", "date": "[01/Jul/1995:00:00:06 -0400]", "request": "GET /shuttle/countdown/ HTTP/1.0", "result": 200, "size": 3985}
{"index": {"_index": "nasatre", "_type": "docs", "_id": "3"}}
{"ip": "199.120.110.21", "date": "[01/Jul/1995:00:00:09 -0400]", "request": "GET /shuttle/missions/sts-73/mission-sts-73.html HTTP/1.0", "result": 200, "size": 4085}
The tack.json:
{
"version": 2,
"description": "Desc of a track.",
"indices": [
{
"name": "nasaone",
"body": "index.json",
"types": [ "docs" ]
},
{
"name": "nasatwo",
"body": "index.json",
"types": [ "docs" ]
},
{
"name": "nasatre",
"body": "index.json",
"types": [ "docs" ]
}
],
"corpora": [
{
"name": "nasa",
"documents": [
{
"source-file": "docs.json",
"includes-action-and-meta-data": true,
"document-count": 1050
}
]
}
],
"schedule": [
{
"operation": {
"operation-type": "delete-index"
}
},
{
"operation": {
"operation-type": "create-index"
}
},
{
"operation": {
"operation-type": "cluster-health",
"request-params": {
"wait_for_status": "green"
}
}
},
{
"operation": {
"operation-type": "bulk",
"bulk-size": 5000
}
}
]
}