映射中缺少键

Missing key in mapping

尝试使用 Aerospike 加载程序上传 .csv 文件,但我一直收到此错误。我想弄清楚我错过了什么。

ERROR Parser           :243  - "bin_list"  Key is missing in mapping. Mapping: {"set":{"column_position":1,"type":"string"},"binlist":[{"name":"number_of_requests","value":{"column_position":3,"type":"integer"}},{"name":"size_of_the_content_returned","value":{"column_position":4,"type":"integer"}}],"key":{"column_position":2,"type":"string"}}
ERROR Parser           :181  - Error in parsing mappingdef: {"set":{"column_position":1,"type":"string"},"binlist":[{"name":"number_of_requests","value":{"column_position":3,"type":"integer"}},{"name":"size_of_the_content_returned","value":{"column_position":4,"type":"integer"}}],"key":{"column_position":2,"type":"string"}}
ERROR AerospikeLoad    :213  - java.lang.Exception: Config file parsing Error

我的 config.json 文件看起来像:

{ "version" : "2.0", "dsv_config": {
    "delimiter": "," ,
    "n_columns_datafile": 4,
    "header_exist": false}, "mappings": [
    {
            "key": {"column_position":2, "type": "string"},
            "set": {"column_position":1, "type": "string"},

            "binlist": [
            {"name": "number_of_requests",
            "value": {"column_position": 3, "type" : "integer"}},
            {"name": "size_of_the_content_returned",
            "value": {"column_position": 4, "type" : "integer"}}]}]}

想知道 "binlist" 是否应该是 "bin_list"。查看代码:public static final String BINLIST = "bin_list";