IHTSDO/snowstorm

cannot import uk monolith

Opened this issue · 1 comments

java version: 17.0.12
elasticsearch version: 8.11.4
snowstorm version:10.4.2
uk monolith version: 39.1
ubuntu version: 20.4

I run

java -Xms6g -Xmx6g -jar snowstorm.jar --delete-indices --import=/opt/snomed-releases/uk_sct2mo_39.1.0_20241023000001Z.zip 2>&1 | sudo tee output.log

It ran over 1 hour but finally failed.

The output log is
output.log

the specific issue can be:
2024-11-05T13:41:44.935Z ERROR 109306 --- [ main] o.s.s.core.rf2.rf2import.ImportService : Failed RF2 SNAPSHOT import on branch MAIN. ID 5fe15d8b-49b4-49e5-ad9a-58e80a879ba6 org.springframework.data.elasticsearch.UncategorizedElasticsearchException: [es/search] failed: [search_phase_execution_exception] all shards failed

Can someone help? Thanks!

For the UK Monolith import this setting is required:

--elasticsearch.index.max.terms.count=1000000

See #600