Hi, I just started learning Elastic and I have already found a problem. I am running Elastic in a Docker and trying to execute this
curl -H 'Content-Type: application/json' -XPOST '127.0.0.1:9200/shakespeare/_bulk?pretty' --data-binary @shakespeare_7.0.json
But I get this error
{
"error" : {
"root_cause" : [
{
"type" : "es_rejected_execution_exception",
"reason" : "rejected execution of coordinating operation [coordinating_and_primary_bytes=0, replica_bytes=0, all_bytes=0, coordinating_operation_bytes=40174315, max_coordinating_and_primary_bytes=26843545]"
}
],
"type" : "es_rejected_execution_exception",
"reason" : "rejected execution of coordinating operation [coordinating_and_primary_bytes=0, replica_bytes=0, all_bytes=0, coordinating_operation_bytes=40174315, max_coordinating_and_primary_bytes=26843545]"
},
"status" : 429
}
My cluster stats is
{
"_nodes" : {
"total" : 1,
"successful" : 1,
"failed" : 0
},
"cluster_name" : "docker-cluster",
"cluster_uuid" : "kRIRDcMQQye0IzLumMTWZQ",
"timestamp" : 1634408613853,
"status" : "yellow",
"indices" : {
"count" : 25,
"shards" : {
"total" : 25,
"primaries" : 25,
"replication" : 0.0,
"index" : {
"shards" : {
"min" : 1,
"max" : 1,
"avg" : 1.0
},
"primaries" : {
"min" : 1,
"max" : 1,
"avg" : 1.0
},
"replication" : {
"min" : 0.0,
"max" : 0.0,
"avg" : 0.0
}
}
},
"docs" : {
"count" : 186868,
"deleted" : 96676
},
"store" : {
"size_in_bytes" : 171764704,
"total_data_set_size_in_bytes" : 171764704,
"reserved_in_bytes" : 0
},
"fielddata" : {
"memory_size_in_bytes" : 864,
"evictions" : 0
},
"query_cache" : {
"memory_size_in_bytes" : 6488,
"total_count" : 552,
"hit_count" : 38,
"miss_count" : 514,
"cache_size" : 2,
"cache_count" : 5,
"evictions" : 3
},
"completion" : {
"size_in_bytes" : 0
},
"segments" : {
"count" : 103,
"memory_in_bytes" : 699628,
"terms_memory_in_bytes" : 337888,
"stored_fields_memory_in_bytes" : 51304,
"term_vectors_memory_in_bytes" : 0,
"norms_memory_in_bytes" : 10496,
"points_memory_in_bytes" : 0,
"doc_values_memory_in_bytes" : 299940,
"index_writer_memory_in_bytes" : 20798720,
"version_map_memory_in_bytes" : 120179,
"fixed_bit_set_memory_in_bytes" : 46440,
"max_unsafe_auto_id_timestamp" : 1634395526983,
"file_sizes" : { }
},
"mappings" : {
"field_types" : [
{
"name" : "boolean",
"count" : 32,
"index_count" : 11,
"script_count" : 0
},
{
"name" : "date",
"count" : 53,
"index_count" : 14,
"script_count" : 0
},
{
"name" : "double",
"count" : 3,
"index_count" : 3,
"script_count" : 0
},
{
"name" : "float",
"count" : 32,
"index_count" : 4,
"script_count" : 0
},
{
"name" : "geo_point",
"count" : 1,
"index_count" : 1,
"script_count" : 0
},
{
"name" : "half_float",
"count" : 35,
"index_count" : 10,
"script_count" : 0
},
{
"name" : "integer",
"count" : 75,
"index_count" : 8,
"script_count" : 0
},
{
"name" : "ip",
"count" : 1,
"index_count" : 1,
"script_count" : 0
},
{
"name" : "keyword",
"count" : 426,
"index_count" : 15,
"script_count" : 0
},
{
"name" : "long",
"count" : 657,
"index_count" : 12,
"script_count" : 0
},
{
"name" : "nested",
"count" : 27,
"index_count" : 8,
"script_count" : 0
},
{
"name" : "object",
"count" : 501,
"index_count" : 14,
"script_count" : 0
},
{
"name" : "short",
"count" : 10,
"index_count" : 4,
"script_count" : 0
},
{
"name" : "text",
"count" : 56,
"index_count" : 7,
"script_count" : 0
}
],
"runtime_field_types" : [ ]
},
"analysis" : {
"char_filter_types" : [ ],
"tokenizer_types" : [ ],
"filter_types" : [ ],
"analyzer_types" : [ ],
"built_in_char_filters" : [ ],
"built_in_tokenizers" : [ ],
"built_in_filters" : [ ],
"built_in_analyzers" : [ ]
},
"versions" : [
{
"version" : "7.14.1",
"index_count" : 25,
"primary_shard_count" : 25,
"total_primary_bytes" : 171764704
}
]
},
"nodes" : {
"count" : {
"total" : 1,
"coordinating_only" : 0,
"data" : 1,
"data_cold" : 1,
"data_content" : 1,
"data_frozen" : 1,
"data_hot" : 1,
"data_warm" : 1,
"ingest" : 1,
"master" : 1,
"ml" : 1,
"remote_cluster_client" : 1,
"transform" : 1,
"voting_only" : 0
},
"versions" : [
"7.14.1"
],
"os" : {
"available_processors" : 12,
"allocated_processors" : 12,
"names" : [
{
"name" : "Linux",
"count" : 1
}
],
"pretty_names" : [
{
"pretty_name" : "CentOS Linux 8",
"count" : 1
}
],
"architectures" : [
{
"arch" : "amd64",
"count" : 1
}
],
"mem" : {
"total_in_bytes" : 33362878464,
"free_in_bytes" : 11828416512,
"used_in_bytes" : 21534461952,
"free_percent" : 35,
"used_percent" : 65
}
},
"process" : {
"cpu" : {
"percent" : 0
},
"open_file_descriptors" : {
"min" : 543,
"max" : 543,
"avg" : 543
}
},
"jvm" : {
"max_uptime_in_millis" : 2392539,
"versions" : [
{
"version" : "16.0.2",
"vm_name" : "OpenJDK 64-Bit Server VM",
"vm_version" : "16.0.2+7",
"vm_vendor" : "Eclipse Foundation",
"bundled_jdk" : true,
"using_bundled_jdk" : true,
"count" : 1
}
],
"mem" : {
"heap_used_in_bytes" : 193423264,
"heap_max_in_bytes" : 268435456
},
"threads" : 193
},
"fs" : {
"total_in_bytes" : 176825700352,
"free_in_bytes" : 107461058560,
"available_in_bytes" : 98407444480
},
"plugins" : [ ],
"network_types" : {
"transport_types" : {
"security4" : 1
},
"http_types" : {
"security4" : 1
}
},
"discovery_types" : {
"single-node" : 1
},
"packaging_types" : [
{
"flavor" : "default",
"type" : "docker",
"count" : 1
}
],
"ingest" : {
"number_of_pipelines" : 12,
"processor_stats" : {
"conditional" : {
"count" : 0,
"failed" : 0,
"current" : 0,
"time_in_millis" : 0
},
"geoip" : {
"count" : 0,
"failed" : 0,
"current" : 0,
"time_in_millis" : 0
},
"gsub" : {
"count" : 0,
"failed" : 0,
"current" : 0,
"time_in_millis" : 0
},
"script" : {
"count" : 0,
"failed" : 0,
"current" : 0,
"time_in_millis" : 0
},
"set" : {
"count" : 0,
"failed" : 0,
"current" : 0,
"time_in_millis" : 0
}
}
}
}
}
How can I solve this ?