# Error in track preparator: The provided corpus \['DATA\_C\_corpus'\] does not match any of the corpora \['DATA\_A\_corpus', 'DATA\_B\_corpus', 'DATA\_C\_corpus'\]

**URL:** <https://discuss.elastic.co/t/error-in-track-preparator-the-provided-corpus-data-c-corpus-does-not-match-any-of-the-corpora-data-a-corpus-data-b-corpus-data-c-corpus/206478>\
**Category:** Elasticsearch\
**Tags:** rally\
**Created:** [November 4, 2019, 8:42pm UTC](https://discuss.elastic.co/t/error-in-track-preparator-the-provided-corpus-data-c-corpus-does-not-match-any-of-the-corpora-data-a-corpus-data-b-corpus-data-c-corpus/206478 "2019-11-04T20:42:33Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![toneyalexander](https://avatars.discourse-cdn.com/v4/letter/t/82dd89/32.png) [@toneyalexander](https://discuss.elastic.co/u/toneyalexander)\
**Post date:** [November 4, 2019, 8:42pm UTC](https://discuss.elastic.co/t/error-in-track-preparator-the-provided-corpus-data-c-corpus-does-not-match-any-of-the-corpora-data-a-corpus-data-b-corpus-data-c-corpus/206478/1 "2019-11-04T20:42:33Z")

</div>

I'm getting the error in the title on a custom track, and this related question ( ['Error in load generator', The provided corpus does not match any of the corpora](https://discuss.elastic.co/t/error-in-load-generator-the-provided-corpus-does-not-match-any-of-the-corpora/185540) ) has no answer.

The track is as follows, operations that have no relation to DATA\_C have been left out:

```
{
  "version": 2,
  "description": "PLACEHOLDER",
  "indices": [
    {
      "name": "DATA_Bs",
      "body": "DATA_Bs.json"
    },
    {
      "name": "DATA_As",
      "body": "DATA_As.json"
    },
    {
      "name": "DATA_Cs",
      "body": "DATA_Cs.json"
    }
  ],
  "corpora": [
    {% include "DATA_A_corpus.json" %},
    {% include "DATA_B_corpus.json" %},
    {% include "DATA_C_corpus.json" %}
  ],
  "schedule": [
    {
      "operation": {
        "name":"put_DATA_Cs_policy",
        "operation-type": "raw-request",
        "method": "PUT",
        "path": "_ilm/policy/DATA_Cs_policy",
        "body": {
          "policy": {
            "phases": {
              "hot": {
                "min_age": "0ms",
                "actions": {
                  "rollover": {
                    "max_age": "30d"
                  }
                }
              }
            }
          }
        }
      }
    },
    {
      "operation": {
        "name":"put_DATA_Cs_template",
        "operation-type": "raw-request",
        "method": "PUT",
        "path": "_template/DATA_Cs_template",
        "body": {
          "index_patterns": [
            "DATA_Cs-*"
          ],
          "settings": {
            "index.lifecycle.name": "DATA_Cs_policy",
            "index.lifecycle.rollover_alias": "DATA_Cs"
          }
        }
      }
    },
    {
      "operation": {
        "name": "index_DATA_Cs_half",
        "operation-type": "bulk",
        "bulk-size": 1000,
        "ingest-percentage": 50,
        "conflicts":"sequential",
        "conflict-probability": 0,
        "corpora":"DATA_C_corpus",
        "indices": ["DATA_Cs"]
      },
      "warmup-time-period": 120,
      "clients": 8
    },
    {
      "operation": {
        "name":"search_DATA_Cs_half",
        "operation-type": "search",
        "index": "DATA_Cs",
        "pages": "all",
        "results-per-page": 10000,
        "body": {
          "query": {
            "match_all": {}
          }
        }
      },
      "clients": 8,
      "warmup-iterations": 1000,
      "iterations": 1000,
      "target-throughput": 100
    },
    {
      "operation": {
        "name": "index_DATA_Cs_whole",
        "operation-type": "bulk",
        "bulk-size": 1000,
        "ingest-percentage": 50,
        "conflicts":"sequential",
        "conflict-probability": 0,
        "corpora":"DATA_C_corpus",
        "indices": ["DATA_Cs"]
      },
      "warmup-time-period": 120,
      "clients": 8
    },
    {
      "operation": {
        "name":"search_DATA_Cs_whole",
        "operation-type": "search",
        "index": "DATA_Cs",
        "pages": "all",
        "results-per-page": 10000,
        "body": {
          "query": {
            "match_all": {}
          }
        }
      },
      "clients": 8,
      "warmup-iterations": 1000,
      "iterations": 1000,
      "target-throughput": 100
    },
    {
      "operation": {
        "name":"search_DATA_Cs_range",
        "operation-type": "search",
        "index": "DATA_Cs",
        "pages": "all",
        "results-per-page": 10000,
        "body": {
          "query": {
            "bool": {
              "must": { "match_all": {} },
              "filter": {
                "range": {
                  "eventTime": {
                    "gte": 1572048000000,
                    "lte": 1572307200000
                  }
                }
              }
            }
          }
        }
      },
      "clients": 8,
      "warmup-iterations": 1000,
      "iterations": 1000,
      "target-throughput": 100
    }
  ]
}

```

DATA\_C\_corpus.json:

```
{
    "name": "DATA_C_corpus",
    "documents": [
        {
            "source-file": "/mnt/drive/DATA_Cs/all_DATA_C.json",
            "target-index": "DATA_Cs",
            "document-count": 177229847
        }
    ]
}
```

---

<div class="post-metadata">

**Author:** ![toneyalexander](https://avatars.discourse-cdn.com/v4/letter/t/82dd89/32.png) [@toneyalexander](https://discuss.elastic.co/u/toneyalexander)\
**Post date:** [November 6, 2019, 8:46pm UTC](https://discuss.elastic.co/t/error-in-track-preparator-the-provided-corpus-data-c-corpus-does-not-match-any-of-the-corpora-data-a-corpus-data-b-corpus-data-c-corpus/206478/2 "2019-11-06T20:46:54Z")

</div>

Resolved: The "target-index" field didn't match the index it was actually using (the true value used a dash while I put an underscore in the field)

---

<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:** [December 4, 2019, 8:46pm UTC](https://discuss.elastic.co/t/error-in-track-preparator-the-provided-corpus-data-c-corpus-does-not-match-any-of-the-corpora-data-a-corpus-data-b-corpus-data-c-corpus/206478/3 "2019-12-04T20:46:56Z")

</div>

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