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

Revert "Update method that read the resource's files" #159

Merged
merged 1 commit into from
Oct 22, 2024

Conversation

vietnguyengit
Copy link
Contributor

Reverts #158

didn't work:


Timestamp (UTC+11:00)
	
Message
	
Container

22 October 2024 at 16:44 (UTC+11:00)
2024-10-22 05:44:26.687 ERROR 7 --- [onPool-worker-1] a.o.a.e.s.VocabServiceImpl : Thread was interrupted while processing vocab tasks
app
22 October 2024 at 16:44 (UTC+11:00)
java.io.FileNotFoundException: class path resource [config_files/vocabs_index_schema.json] cannot be opened because it does not exist
app
22 October 2024 at 16:44 (UTC+11:00)
at org.springframework.core.io.ClassPathResource.getInputStream(ClassPathResource.java:215)
app
22 October 2024 at 16:44 (UTC+11:00)
at au.org.aodn.esindexer.service.ElasticSearchIndexService.createIndexFromMappingJSONFile(ElasticSearchIndexService.java:50)
app
22 October 2024 at 16:44 (UTC+11:00)
at au.org.aodn.esindexer.service.VocabServiceImpl.indexAllVocabs(VocabServiceImpl.java:221)
app
22 October 2024 at 16:44 (UTC+11:00)
at au.org.aodn.esindexer.service.VocabServiceImpl.lambda$populateVocabsDataAsync$6(VocabServiceImpl.java:310)
app
22 October 2024 at 16:44 (UTC+11:00)
at java.base/java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1804)
app
22 October 2024 at 16:44 (UTC+11:00)
at java.base/java.util.concurrent.CompletableFuture$AsyncRun.exec(CompletableFuture.java:1796)
app
22 October 2024 at 16:44 (UTC+11:00)
at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373)
app
22 October 2024 at 16:44 (UTC+11:00)
at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182)
app
22 October 2024 at 16:44 (UTC+11:00)
at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655)
app
22 October 2024 at 16:44 (UTC+11:00)
at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622)
app
22 October 2024 at 16:44 (UTC+11:00)
at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165)
app
22 October 2024 at 16:44 (UTC+11:00)
2024-10-22 05:44:26.685 INFO 7 --- [onPool-worker-1] a.o.a.e.s.VocabServiceImpl : Indexing fetched vocabs to es-indexer-vocabs-edge

Copy link
Contributor

@HavierD HavierD left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@vietnguyengit vietnguyengit merged commit 088c7d2 into main Oct 22, 2024
2 checks passed
@vietnguyengit vietnguyengit deleted the revert-158-bugs/read-vocabs-index-schema branch October 22, 2024 05:50
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

Successfully merging this pull request may close these issues.

2 participants