I get the following error log while launching elasticsearch.
C:\Users\ssahoo\Downloads\elasticsearch-6.2.3\bin>elasticsearch
[2018-04-12T11:08:52,520][INFO ][o.e.n.Node ] [] initializing ...
[2018-04-12T11:08:52,666][INFO ][o.e.e.NodeEnvironment ] [kv_gFv3] using [1] data paths, mounts [[(C:)]], net usable_space [103.4gb], net total_space [150.4gb], types [NTFS]
[2018-04-12T11:08:52,666][INFO ][o.e.e.NodeEnvironment ] [kv_gFv3] heap size [998.4mb], compressed ordinary object pointers [unknown]
[2018-04-12T11:08:53,299][INFO ][o.e.n.Node ] node name [kv_gFv3] derived from node ID [kv_gFv3eT2CbXfakslfkVw]; set [node.name] to override
[2018-04-12T11:08:53,299][INFO ][o.e.n.Node ] version[6.2.3], pid[18036], build[c59ff00/2018-03-13T10:06:29.741383Z], OS[Windows 10/10.0/x86], JVM[Oracle Corporation/Java HotSpot(TM) Client VM/1.8.0_151/25.151-b12]
[2018-04-12T11:08:53,299][INFO ][o.e.n.Node ] JVM arguments [-Xms1g, -Xmx1g, -XX:+UseConcMarkSweepGC, -XX:CMSInitiatingOccupancyFraction=75, -XX:+UseCMSInitiatingOccupancyOnly, -XX:+AlwaysPreTouch, -Xss1m, -Djava.awt.headless=true, -Dfile.encoding=UTF-8, -Djna.nosys=true, -XX:-OmitStackTraceInFastThrow, -Dio.netty.noUnsafe=true, -Dio.netty.noKeySetOptimization=true, -Dio.netty.recycler.maxCapacityPerThread=0, -Dlog4j.shutdownHookEnabled=false, -Dlog4j2.disable.jmx=true, -Djava.io.tmpdir=C:\Users\ssahoo\AppData\Local\Temp\elasticsearch, -XX:+HeapDumpOnOutOfMemoryError, -XX:+PrintGCDetails, -XX:+PrintGCDateStamps, -XX:+PrintTenuringDistribution, -XX:+PrintGCApplicationStoppedTime, -Xloggc:logs/gc.log, -XX:+UseGCLogFileRotation, -XX:NumberOfGCLogFiles=32, -XX:GCLogFileSize=64m, -Delasticsearch, -Des.path.home=C:\Users\ssahoo\Downloads\elasticsearch-6.2.3, -Des.path.conf=C:\Users\ssahoo\Downloads\elasticsearch-6.2.3\config]
[2018-04-12T11:08:57,764][INFO ][o.e.p.PluginsService ] [kv_gFv3] loaded module [aggs-matrix-stats]
[2018-04-12T11:08:57,764][INFO ][o.e.p.PluginsService ] [kv_gFv3] loaded module [analysis-common]
[2018-04-12T11:08:57,780][INFO ][o.e.p.PluginsService ] [kv_gFv3] loaded module [tribe]
[2018-04-12T11:08:57,780][INFO ][o.e.p.PluginsService ] [kv_gFv3] loaded plugin [x-pack-core]
[2018-04-12T11:08:57,780][INFO ][o.e.p.PluginsService ] [kv_gFv3] loaded plugin [x-pack-deprecation]
[2018-04-12T11:08:57,780][INFO ][o.e.p.PluginsService ] [kv_gFv3] loaded plugin [x-pack-graph]
[2018-04-12T11:08:57,780][INFO ][o.e.p.PluginsService ] [kv_gFv3] loaded plugin [x-pack-logstash]
[2018-04-12T11:08:57,780][INFO ][o.e.p.PluginsService ] [kv_gFv3] loaded plugin [x-pack-ml]
[2018-04-12T11:08:57,780][INFO ][o.e.p.PluginsService ] [kv_gFv3] loaded plugin [x-pack-monitoring]
[2018-04-12T11:08:57,780][INFO ][o.e.p.PluginsService ] [kv_gFv3] loaded plugin [x-pack-security]
[2018-04-12T11:08:57,780][INFO ][o.e.p.PluginsService ] [kv_gFv3] loaded plugin [x-pack-upgrade]
[2018-04-12T11:08:57,780][INFO ][o.e.p.PluginsService ] [kv_gFv3] loaded plugin [x-pack-watcher]
[2018-04-12T11:09:02,279][WARN ][o.e.b.ElasticsearchUncaughtExceptionHandler] [] 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:125) ~[elasticsearch-6.2.3.jar:6.2.3]
at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:112) ~[elasticsearch-6.2.3.jar:6.2.3]
at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:86) ~[elasticsearch-6.2.3.jar:6.2.3]
at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:124) ~[elasticsearch-cli-6.2.3.jar:6.2.3]
at org.elasticsearch.cli.Command.main(Command.java:90) ~[elasticsearch-cli-6.2.3.jar:6.2.3]
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:92) ~[elasticsearch-6.2.3.jar:6.2.3]
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:85) ~[elasticsearch-6.2.3.jar:6.2.3]
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:113) ~[?:?]
at org.elasticsearch.xpack.ml.MachineLearningFeatureSet.isRunningOnMlPlatform(MachineLearningFeatureSet.java:104) ~[?:?]
at org.elasticsearch.xpack.ml.MachineLearning.createComponents(MachineLearning.java:410) ~[?:?]
at org.elasticsearch.xpack.ml.MachineLearning.createComponents(MachineLearning.java:373) ~[?:?]
at org.elasticsearch.node.Node.lambda$new$7(Node.java:397) ~[elasticsearch-6.2.3.jar:6.2.3]
at java.util.stream.ReferencePipeline$7$1.accept(Unknown Source) ~[?:1.8.0_151]
at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(Unknown Source) ~[?:1.8.0_151]
at java.util.stream.AbstractPipeline.copyInto(Unknown Source) ~[?:1.8.0_151]
at java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source) ~[?:1.8.0_151]
at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(Unknown Source) ~[?:1.8.0_151]
at java.util.stream.AbstractPipeline.evaluate(Unknown Source) ~[?:1.8.0_151]
at org.elasticsearch.node.Node.(Node.java:400) ~[elasticsearch-6.2.3.jar:6.2.3]
at org.elasticsearch.node.Node.(Node.java:246) ~[elasticsearch-6.2.3.jar:6.2.3]
at org.elasticsearch.bootstrap.Bootstrap$5.(Bootstrap.java:213) ~[elasticsearch-6.2.3.jar:6.2.3]
at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:213) ~[elasticsearch-6.2.3.jar:6.2.3]
at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:323) ~[elasticsearch-6.2.3.jar:6.2.3]
at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:121) ~[elasticsearch-6.2.3.jar:6.2.3]
... 6 more
I have installed Xpack
C:\Users\ssahoo\Downloads\elasticsearch-6.2.3\bin>elasticsearch-plugin list --verbose
Plugins directory: C:\Users\ssahoo\Downloads\elasticsearch-6.2.3\plugins
x-pack
x-pack-core
- Plugin information:
Name: x-pack-core
Description: Elasticsearch Expanded Pack Plugin - Core
Version: 6.2.3
Native Controller: false
Requires Keystore: false
Further, I was able to successfully launch elasticsearch and kibana until yesterday.
Kindly help me fix this issue. I understand it has to do with the security bundle of Xpack. Is it a compulsion to use the security bundle that comes with xpack.