Yoann Rodière (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
) *created* an issue
Hibernate Search (
https://hibernate.atlassian.net/browse/HSEARCH?atlOrigin=eyJpIjoiOWUyOWZk...
) / Task (
https://hibernate.atlassian.net/browse/HSEARCH-3912?atlOrigin=eyJpIjoiOWU...
) HSEARCH-3912 (
https://hibernate.atlassian.net/browse/HSEARCH-3912?atlOrigin=eyJpIjoiOWU...
) Increase the amount of RAM assigned to Elasticsearch in integration tests (
https://hibernate.atlassian.net/browse/HSEARCH-3912?atlOrigin=eyJpIjoiOWU...
)
Issue Type: Task Assignee: Yoann Rodière (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
) Components: backend-elasticsearch, build, integration, tests Created: 06/May/2020 07:18
AM Fix Versions: 6.0.0.Beta-backlog-high-priority Priority: Major Reporter: Yoann Rodière
(
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
)
Right now we're using 256MB, which really is quite small for Elasticsearch. It seems
there are many setups out there with 32GB of RAM *just* for Elasticsearch.
As a result, from time to time we're seeing error like this in integation tests:
java.util.concurrent.CompletionException:
org.hibernate.search.util.common.SearchException: HSEARCH400588: The operation failed due
to the failure of the call to the bulk REST API.
Caused by: org.hibernate.search.util.common.SearchException: HSEARCH400588: The operation
failed due to the failure of the call to the bulk REST API.
Caused by: org.hibernate.search.util.common.SearchException:
HSEARCH400007: Elasticsearch request failed: HSEARCH400090: Elasticsearch response
indicates a failure.
Request: POST /_bulk with parameters {refresh=true}
Response: 429 'Too Many Requests' with body
{
"error": {
"root_cause": [
{
"type": "circuit_breaking_exception",
"reason": "[parent] Data too large, data for
[\u003chttp_request\u003e] would be [263306110/251.1mb], which is larger than the limit of
[255013683/243.1mb], real usage: [263305344/251.1mb], new bytes reserved: [766/766b],
usages [request\u003d0/0b, fielddata\u003d0/0b, in_flight_requests\u003d766/766b,
accounting\u003d13976/13.6kb]",
"bytes_wanted": 263306110,
"bytes_limit": 255013683,
"durability": "PERMANENT"
}
],
"type": "circuit_breaking_exception",
"reason": "[parent] Data too large, data for [\u003chttp_request\u003e]
would be [263306110/251.1mb], which is larger than the limit of [255013683/243.1mb], real
usage: [263305344/251.1mb], new bytes reserved: [766/766b], usages [request\u003d0/0b,
fielddata\u003d0/0b, in_flight_requests\u003d766/766b,
accounting\u003d13976/13.6kb]",
"bytes_wanted": 263306110,
"bytes_limit": 255013683,
"durability": "PERMANENT"
},
"status": 429
}
Caused by: org.hibernate.search.util.common.SearchException: HSEARCH400090: Elasticsearch
response indicates a failure.
(
https://hibernate.atlassian.net/browse/HSEARCH-3912#add-comment?atlOrigin...
) Add Comment (
https://hibernate.atlassian.net/browse/HSEARCH-3912#add-comment?atlOrigin...
)
Get Jira notifications on your phone! Download the Jira Cloud app for Android (
https://play.google.com/store/apps/details?id=com.atlassian.android.jira....
) or iOS (
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=Em...
) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100126- sha1:99a90f9 )