Skip to content

Elasticsearch and Lucene failure on single image quick start #196

@karlis-i

Description

@karlis-i

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:

  1. git clone https://github.com/ArcadeData/arcadeanalytics.git .
  2. docker-compose -f src/main/docker/app-single.yml up
  3. See error

Expected behavior

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions