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']

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 ) 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
        }
    ]
}

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)

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