[hibernate-issues] [JIRA] (HSEARCH-3912) Increase the amount of RAM assigned to Elasticsearch in integration tests

Yoann Rodière (JIRA) jira at hibernate.atlassian.net
Wed May 6 10:18:53 EDT 2020


Yoann Rodière ( https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A58fa1ced-171a-4c00-97e8-5d70d442cc4b ) *created* an issue

Hibernate Search ( https://hibernate.atlassian.net/browse/HSEARCH?atlOrigin=eyJpIjoiOWUyOWZkZjA4N2ViNDk0NTg5ZDVkZjgwZjU5MTkzOTQiLCJwIjoiaiJ9 ) / Task ( https://hibernate.atlassian.net/browse/HSEARCH-3912?atlOrigin=eyJpIjoiOWUyOWZkZjA4N2ViNDk0NTg5ZDVkZjgwZjU5MTkzOTQiLCJwIjoiaiJ9 ) HSEARCH-3912 ( https://hibernate.atlassian.net/browse/HSEARCH-3912?atlOrigin=eyJpIjoiOWUyOWZkZjA4N2ViNDk0NTg5ZDVkZjgwZjU5MTkzOTQiLCJwIjoiaiJ9 ) Increase the amount of RAM assigned to Elasticsearch in integration tests ( https://hibernate.atlassian.net/browse/HSEARCH-3912?atlOrigin=eyJpIjoiOWUyOWZkZjA4N2ViNDk0NTg5ZDVkZjgwZjU5MTkzOTQiLCJwIjoiaiJ9 )

Issue Type: Task Assignee: Yoann Rodière ( https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A58fa1ced-171a-4c00-97e8-5d70d442cc4b ) 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%3A58fa1ced-171a-4c00-97e8-5d70d442cc4b )

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=eyJpIjoiOWUyOWZkZjA4N2ViNDk0NTg5ZDVkZjgwZjU5MTkzOTQiLCJwIjoiaiJ9 ) Add Comment ( https://hibernate.atlassian.net/browse/HSEARCH-3912#add-comment?atlOrigin=eyJpIjoiOWUyOWZkZjA4N2ViNDk0NTg5ZDVkZjgwZjU5MTkzOTQiLCJwIjoiaiJ9 )

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.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail ) or iOS ( https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100126- sha1:99a90f9 )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/hibernate-issues/attachments/20200506/36975e1d/attachment.html 


More information about the hibernate-issues mailing list