elasticsearch -- win10 elasticsearch.bat 물러서다

win10 elasticsearch.bat 물러나면 어떡해.

1、 elasticsearch/bin , shift +     powershell 
2、 bat    elasticsearch.bat  , , 。
[2019-06-19T11:04:17,247][INFO ][o.e.x.s.a.s.FileRolesStore] [DESKTOP-23I1NCT] parsed [0] roles from file [E:\11\software\install\elasticsearch-7.1.1\config\roles.yml]
[2019-06-19T11:04:17,552][WARN ][o.e.b.ElasticsearchUncaughtExceptionHandler] [DESKTOP-23I1NCT] uncaught exception in thread [main]
org.elasticsearch.bootstrap.StartupException: ElasticsearchException[X-Pack is not supported and Machine Learning is not available for [windows-x86]; you can use the other X-Pack features (unsupported) by setting xpack.ml.enabled: false in elasticsearch.yml]
        at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:163) ~[elasticsearch-7.1.1.jar:7.1.1]
        at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:150) ~[elasticsearch-7.1.1.jar:7.1.1]
        at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:86) ~[elasticsearch-7.1.1.jar:7.1.1]
        at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:124) ~[elasticsearch-cli-7.1.1.jar:7.1.1]
        at org.elasticsearch.cli.Command.main(Command.java:90) ~[elasticsearch-cli-7.1.1.jar:7.1.1]
        at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:115) ~[elasticsearch-7.1.1.jar:7.1.1]
        at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:92) ~[elasticsearch-7.1.1.jar:7.1.1]
Caused by: org.elasticsearch.ElasticsearchException: X-Pack is not supported and Machine Learning is not available for [windows-x86]; you can use the other X-Pack features (unsupported) by setting xpack.ml.enabled: false in elasticsearch.yml
        at org.elasticsearch.xpack.ml.MachineLearningFeatureSet.isRunningOnMlPlatform(MachineLearningFeatureSet.java:105) ~[?:?]
        at org.elasticsearch.xpack.ml.MachineLearningFeatureSet.isRunningOnMlPlatform(MachineLearningFeatureSet.java:96) ~[?:?]

해결 방안: xpack을 설정하여 다른 X-Pack 기능(unsupported)을 사용할 수 있습니다.ml.enabled: false in elasticsearch.yml
config/elasticsearch.yml 파일에 추가
xpack.ml.enabled: false**

좋은 웹페이지 즐겨찾기