・実現したいこと
下記の記事(Elasticsearchを使った検索)
https://qiita.com/kiyokiyo_kzsby/items/344fb2e9aead158a5545
のJSONデータをオリジナルのものにして10万件分用意した。
事象
下記コマンドを実行するとエラー1が起こった。(Status 429)
curl -H "Content-Type: application/json" -X POST "localhost:9200/設定した名前/_bulk?pretty&refresh" --data-binary "@設定した名前"
{
また、JSONデータ量を少なくしたもので実行しても別のエラー2が発生(Status 500)
インターネットで調べるものの、原因が解決できず困っています。。。
エラーメッセージ
【エラー1】
{
"error" : {
"root_cause" : [
{
"type" : "circuit_breaking_exception",
"reason" : "[parent] Data too large, data for [<http_request>] would be [574319162/547.7mb], which is larger than the limit of [493466419/470.6mb], real usage: [373505744/356.2mb], new bytes reserved: [200813418/191.5mb], usages [request=0/0b, fielddata=0/0b, in_flight_requests=200813418/191.5mb, accounting=44077/43kb]",
"bytes_wanted" : 574319162,
"bytes_limit" : 493466419,
"durability" : "TRANSIENT"
}
],
"type" : "circuit_breaking_exception",
"reason" : "[parent] Data too large, data for [<http_request>] would be [574319162/547.7mb], which is larger than the limit of [493466419/470.6mb], real usage: [373505744/356.2mb], new bytes reserved: [200813418/191.5mb], usages [request=0/0b, fielddata=0/0b, in_flight_requests=200813418/191.5mb, accounting=44077/43kb]",
"bytes_wanted" : 574319162,
"bytes_limit" : 493466419,
"durability" : "TRANSIENT"
},
"status" : 429
}
【エラー2】
{
"error" : {
"root_cause" : [
{
"type" : "json_parse_exception",
"reason" : "Unrecognized token 'uko4747': was expecting ('true', 'false' or 'null')\n at [Source: org.elasticsearch.transport.netty4.ByteBufStreamInput@396e2dc6; line: 1, column: 9]"
}
],
"type" : "json_parse_exception",
"reason" : "Unrecognized token 'uko4747': was expecting ('true', 'false' or 'null')\n at [Source: org.elasticsearch.transport.netty4.ByteBufStreamInput@396e2dc6; line: 1, column: 9]"
},
"status" : 500
}
補足情報(FW/ツールのバージョンなど)
Client:
Version: 18.09.7
API version: 1.39
Go version: go1.10.1
Git commit: 2d0083d
Built: Fri Aug 16 14:20:06 2019
OS/Arch: linux/amd64
Experimental: false
Server: Docker Engine - Community
Engine:
Version: 19.03.5
API version: 1.40 (minimum version 1.12)
Go version: go1.12.12
Git commit: 633a0ea
Built: Wed Nov 13 07:29:19 2019
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: v1.2.10
GitCommit: b34a5c8af56e510852c35414db4c1f4fa6172339
runc:
Version: 1.0.0-rc8+dev
GitCommit: 3e425f80a8c931f88e6d94a8c831b9d5aa481657
docker-init:
Version: 0.18.0
GitCommit: fec3683
あなたの回答
tips
プレビュー