Skip to content

Add workaround in dev docs for issue with OpenSearch image #18168

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 2, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions docs/dev/development/getting-started.rst
Original file line number Diff line number Diff line change
Expand Up @@ -536,6 +536,21 @@ Errors when executing ``make initdb``
opensearch wants a lot of memory (Dustin gives warehouse ~4GB locally).
Refer to the tip under :ref:`running-warehouse-containers` section for more details.

* If ``make initdb`` fails with an error like::

A fatal error has been detected by the Java Runtime Environment:
SIGILL (0x4) at pc=0x0000f819dfc67c5c, pid=25, tid=26

while building the ``warehouse-opensearch`` image, this is a known issue
with OpenSearch in Apple M4 processors. A workaround (described in
`this comment <https://github.com/elastic/elasticsearch/issues/118583#issuecomment-2567270484>`_)
is to add the following line to ``dev/compose/opensearch/Dockerfile.yml`` (after
the FROM line):

.. code-block:: docker

ENV _JAVA_OPTIONS=-XX:UseSVE=0


"no space left on device" when using ``docker compose``
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Expand Down