Elasticsearch and Lucene failure on single image quick start
Describe the bug
After cloning the official Git repository from https://github.com/ArcadeData/arcadeanalytics.git , I try to run the single image quick start by running the supplied command:
docker-compose -f src/main/docker/app-single.yml up
but the process fails. It seems to me that the error is caused by failed Lucene commit
To Reproduce Run the following commands in console:
git clone https://github.com/ArcadeData/arcadeanalytics.git .docker-compose -f src/main/docker/app-single.yml up- See error
Expected behavior
- No error messages
- Running Docker container
- Working http://localhost:8080/
Console output
docker-compose -f src/main/docker/app-single.yml up
WARNING: The CURRENT_UID variable is not set. Defaulting to a blank string.
Creating network "docker_default" with the default driver
Creating docker_arcadeanalytics-single_1 ... done
Attaching to docker_arcadeanalytics-single_1
The application will start in 0s...
2020-03-10 13:30:40.767 ERROR 1 --- [ main] o.s.b.l.LoggingApplicationListener : Cannot set level: for 'null'
2020-03-10 13:30:40.773 ERROR 1 --- [ main] o.s.b.l.LoggingApplicationListener : Cannot set level: for 'com.arcadeanalytics'
2020-03-10 13:30:40.774 ERROR 1 --- [ main] o.s.b.l.LoggingApplicationListener : Cannot set level: for 'io.github.jhipster'
2020-03-10 13:30:41.209 INFO 1 --- [ main] com.arcadeanalytics.ArcadeanalyticsApp : Starting ArcadeanalyticsApp on 993ce55857ee with PID 1 (/app.war started by root in /)
2020-03-10 13:30:41.210 INFO 1 --- [ main] com.arcadeanalytics.ArcadeanalyticsApp : The following profiles are active: prod-single
2020-03-10 13:30:51.345 INFO 1 --- [ main] c.arcadeanalytics.config.WebConfigurer : Web application configuration, using profiles: prod-single
2020-03-10 13:30:51.361 INFO 1 --- [ main] c.arcadeanalytics.config.WebConfigurer : Web application fully configured
2020-03-10 13:31:11.492 WARN 1 --- [][generic][T#2]] org.elasticsearch.index.engine : [Felicia Hardy] [dashboard][3] failed engine [lucene commit failed]
org.apache.lucene.store.AlreadyClosedException: Underlying file changed by an external force at 2020-03-10T15:31:19Z,
(lock=NativeFSLock(path=/arcade/elasticsearch/data/elasticsearch/nodes/0/indices/dashboard/3/index/write.lock,impl=sun.nio.ch.FileLockImpl[0:9223372036854775807 exclusive valid],ctime=2020-03-10T15:31:19Z))
2020-03-10 13:31:11.565 WARN 1 --- [][generic][T#2]] org.elasticsearch.indices.cluster :
[Felicia Hardy] [[dashboard][3]] marking and sending shard failed due to [failed recovery]
org.elasticsearch.index.shard.IndexShardRecoveryException: failed recovery
...
docker_arcadeanalytics-single_1 exited with code 1
Desktop:
- OS: Windows 10
Hi, can you use the configuration on https://github.com/ArcadeData/arcadeanalytics-recipes
docker-compose -f recipes/arcade-standalone.yml up
Thank you, I was able to launch Analytics by modifying one of the recipes. I'd like to keep this ticket open, though, as it seems to be related to https://github.com/ArcadeData/arcadeanalytics/issues/177
Can you share the update you made to the recipe?
I modified recipes/arcade.yml:
- removed values of
SPRING_DATASOURCE_URLandSPRING_DATA_ELASTICSEARCH_CLUSTER_NODES - removed the following services-
arcadeanalytics-postgresql,arcadeanalytics-elasticsearchandarcadeanalytics-orientdb
After that, I was able to run the container with command docker-compose -f recipes\arcade.yml up and access Arcade Analytics on http://localhost:8080/
Login details are admin/admin