Skip to content
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

xCOL failed to index into Elastic in UAT #301

Open
timrobertson100 opened this issue Dec 14, 2023 · 0 comments
Open

xCOL failed to index into Elastic in UAT #301

timrobertson100 opened this issue Dec 14, 2023 · 0 comments

Comments

@timrobertson100
Copy link
Member

timrobertson100 commented Dec 14, 2023

The only logs we received were as follows:

ERROR [2023-12-14 01:17:41,910] [clb-importer-1] org.gbif.checklistbank.cli.common.RabbitDatasetService [f29518a9-1fce-43b3-a036-eeaba739baef] Failed to import dataset f29518a9-1fce-43b3-a036-eeaba739baef
java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.lang.RuntimeException: Error creating co.elastic.clients.elasticsearch.core.BulkResponse@23bc0465
	at com.google.common.base.Throwables.propagate(Throwables.java:249)
	at org.gbif.checklistbank.cli.importer.Importer.run(Importer.java:153)
	at org.gbif.checklistbank.cli.importer.ImporterService.process(ImporterService.java:94)
	at org.gbif.checklistbank.cli.importer.ImporterService.process(ImporterService.java:38)
	at org.gbif.checklistbank.cli.common.RabbitDatasetService.handleMessage(RabbitDatasetService.java:67)
	at org.gbif.checklistbank.cli.common.RabbitDatasetService.handleMessage(RabbitDatasetService.java:34)
	at org.gbif.common.messaging.MessageConsumer.handleCallback(MessageConsumer.java:129)
	at org.gbif.common.messaging.MessageConsumer.handleDelivery(MessageConsumer.java:82)
	at com.rabbitmq.client.impl.ConsumerDispatcher$5.run(ConsumerDispatcher.java:149)
	at com.rabbitmq.client.impl.ConsumerWorkService$WorkPoolRunnable.run(ConsumerWorkService.java:104)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)
Caused by: java.util.concurrent.ExecutionException: java.lang.RuntimeException: Error creating co.elastic.clients.elasticsearch.core.BulkResponse@23bc0465
	at java.util.concurrent.FutureTask.report(FutureTask.java:122)
	at java.util.concurrent.FutureTask.get(FutureTask.java:192)
	at org.gbif.checklistbank.cli.importer.Importer.awaitOtherFutures(Importer.java:376)
	at org.gbif.checklistbank.cli.importer.Importer.run(Importer.java:143)
	... 11 common frames omitted
Caused by: java.lang.RuntimeException: Error creating co.elastic.clients.elasticsearch.core.BulkResponse@23bc0465
	at org.gbif.checklistbank.index.NameUsagesEsIndexingClient.throwIfError(NameUsagesEsIndexingClient.java:54)
	at org.gbif.checklistbank.index.NameUsagesEsIndexingClient.bulkAdd(NameUsagesEsIndexingClient.java:70)
	at org.gbif.checklistbank.index.NameUsageIndexServiceEs.insertOrUpdate(NameUsageIndexServiceEs.java:136)
	at org.gbif.checklistbank.index.NameUsageIndexServiceEs$IndexUpdateCallback.call(NameUsageIndexServiceEs.java:254)
	at org.gbif.checklistbank.index.NameUsageIndexServiceEs$IndexUpdateCallback.call(NameUsageIndexServiceEs.java:239)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)

I think we need to modify this line to log some more detail - e.g. log what is actually in the response.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant