version: '3'
services:
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:6.2.4
volumes:
- ./esdata:/usr/share/elasticsearch/data
ports:
- 9200:9200
networks:
-esnet
会抛出这个异常| Caused by: java.lang.IllegalStateException: Failed to create node environment
ESTEST_elasticsearch.1.vo55ssaxlnv5@test_server | [2018-07-19T08:47:51,632][INFO ][o.e.n.Node ] [] initializing ...
ESTEST_elasticsearch.1.yb22yjua4f3i@test_server | [2018-07-19T08:48:10,036][INFO ][o.e.n.Node ] [] initializing ...
ESTEST_elasticsearch.1.vo55ssaxlnv5@test_server | [2018-07-19T08:47:51,648][WARN ][o.e.b.ElasticsearchUncaughtExceptionHandler] [] uncaught exception in thread [main]
ESTEST_elasticsearch.1.hg89xokdvwk4@test_server | [2018-07-19T08:48:00,959][INFO ][o.e.n.Node ] [] initializing ...
ESTEST_elasticsearch.1.yb22yjua4f3i@test_server | [2018-07-19T08:48:10,051][WARN ][o.e.b.ElasticsearchUncaughtExceptionHandler] [] uncaught exception in thread [main]
ESTEST_elasticsearch.1.yb22yjua4f3i@test_server | org.elasticsearch.bootstrap.StartupException: java.lang.IllegalStateException: Failed to create node environment
ESTEST_elasticsearch.1.vo55ssaxlnv5@test_server | org.elasticsearch.bootstrap.StartupException: java.lang.IllegalStateException: Failed to create node environment
ESTEST_elasticsearch.1.hg89xokdvwk4@test_server | [2018-07-19T08:48:00,981][WARN ][o.e.b.ElasticsearchUncaughtExceptionHandler] [] uncaught exception in thread [main]
ESTEST_elasticsearch.1.hg89xokdvwk4@test_server | org.elasticsearch.bootstrap.StartupException: java.lang.IllegalStateException: Failed to create node environment
ESTEST_elasticsearch.1.yb22yjua4f3i@test_server | at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:125) ~[elasticsearch-6.2.4.jar:6.2.4]
ESTEST_elasticsearch.1.vo55ssaxlnv5@test_server | at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:125) ~[elasticsearch-6.2.4.jar:6.2.4]
ESTEST_elasticsearch.1.vo55ssaxlnv5@test_server | at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:112) ~[elasticsearch-6.2.4.jar:6.2.4]
ESTEST_elasticsearch.1.hg89xokdvwk4@test_server | at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:125) ~[elasticsearch-6.2.4.jar:6.2.4]
ESTEST_elasticsearch.1.yb22yjua4f3i@test_server | at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:112) ~[elasticsearch-6.2.4.jar:6.2.4]
ESTEST_elasticsearch.1.yb22yjua4f3i@test_server | at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:86) ~[elasticsearch-6.2.4.jar:6.2.4]
ESTEST_elasticsearch.1.vo55ssaxlnv5@test_server | at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:86) ~[elasticsearch-6.2.4.jar:6.2.4]
ESTEST_elasticsearch.1.hg89xokdvwk4@test_server | at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:112) ~[elasticsearch-6.2.4.jar:6.2.4]
ESTEST_elasticsearch.1.hg89xokdvwk4@test_server | at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:86) ~[elasticsearch-6.2.4.jar:6.2.4]
ESTEST_elasticsearch.1.yb22yjua4f3i@test_server | at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:124) ~[elasticsearch-cli-6.2.4.jar:6.2.4]
ESTEST_elasticsearch.1.vo55ssaxlnv5@test_server | at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:124) ~[elasticsearch-cli-6.2.4.jar:6.2.4]
ESTEST_elasticsearch.1.vo55ssaxlnv5@test_server | at org.elasticsearch.cli.Command.main(Command.java:90) ~[elasticsearch-cli-6.2.4.jar:6.2.4]
ESTEST_elasticsearch.1.hg89xokdvwk4@test_server | at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:124) ~[elasticsearch-cli-6.2.4.jar:6.2.4]
ESTEST_elasticsearch.1.yb22yjua4f3i@test_server | at org.elasticsearch.cli.Command.main(Command.java:90) ~[elasticsearch-cli-6.2.4.jar:6.2.4]
ESTEST_elasticsearch.1.yb22yjua4f3i@test_server | at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:92) ~[elasticsearch-6.2.4.jar:6.2.4]
ESTEST_elasticsearch.1.vo55ssaxlnv5@test_server | at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:92) ~[elasticsearch-6.2.4.jar:6.2.4]
ESTEST_elasticsearch.1.hg89xokdvwk4@test_server | at org.elasticsearch.cli.Command.main(Command.java:90) ~[elasticsearch-cli-6.2.4.jar:6.2.4]
ESTEST_elasticsearch.1.hg89xokdvwk4@test_server | at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:92) ~[elasticsearch-6.2.4.jar:6.2.4]
ESTEST_elasticsearch.1.yb22yjua4f3i@test_server | at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:85) ~[elasticsearch-6.2.4.jar:6.2.4]
ESTEST_elasticsearch.1.vo55ssaxlnv5@test_server | at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:85) ~[elasticsearch-6.2.4.jar:6.2.4]
ESTEST_elasticsearch.1.vo55ssaxlnv5@test_server | Caused by: java.lang.IllegalStateException: Failed to create node environment
ESTEST_elasticsearch.1.hg89xokdvwk4@test_server | at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:85) ~[elasticsearch-6.2.4.jar:6.2.4]
ESTEST_elasticsearch.1.yb22yjua4f3i@test_server | Caused by: java.lang.IllegalStateException: Failed to create node environment
0 个回复