我正在嘗試安裝Elasticsearch在命令提示符下,我輸入:cd C:\Users\Prime Jay\Downloads\elasticsearch-6.6.0\elasticsearch-6.6.0\binset ES_JAVA_OPTS=-Xms200m -Xmx500mecho %ES_JAVA_OPTS%elasticsearch有時(shí)候是這樣的:[2019-02-21T16:55:11,033][INFO ][o.e.e.NodeEnvironment ] [5ZUrCC7] using [1]data paths, mounts [[(C:)]], net usable_space [160.6gb], net total_space [270.3gb], types [NTFS][2019-02-21T16:55:11,053][INFO ][o.e.e.NodeEnvironment ] [5ZUrCC7] heap size[487.2mb], compressed ordinary object pointers [unknown][2019-02-21T16:55:11,063][INFO ][o.e.n.Node ] [5ZUrCC7] node namederived from node ID [5ZUrCC7yR_GPEA3ghcw8Vg]; set [node.name] to override[2019-02-21T16:55:11,063][INFO ][o.e.n.Node ] [5ZUrCC7] version[6.6.0], pid[6184], build[default/zip/a9861f4/2019-01-24T11:27:09.439740Z], OS[Windows 7/6.1/x86], JVM[Oracle Corporation/Java HotSpot(TM) Client VM/1.8.0_181/25.181-b13][2019-02-21T16:55:11,063][INFO ][o.e.n.Node ] [5ZUrCC7] JVM arguments [-Xms1g, -Xmx1g, -XX:+UseConcMarkSweepGC, -XX:CMSInitiatingOccupancyFraction=75, -XX:+UseCMSInitiatingOccupancyOnly, -Des.networkaddress.cache.ttl=60, -Des.networkaddress.cache.negative.ttl=10, -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\O846C~1.OAM\AppData\Local\Temp\elastic老實(shí)說(shuō),我不知道這里發(fā)生了什么。localhost:9200無(wú)法連接請(qǐng)幫助。
1 回答

回首憶惘然
TA貢獻(xiàn)1847條經(jīng)驗(yàn) 獲得超11個(gè)贊
您的問(wèn)題在這里描述:
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]
您必須設(shè)置xpack.ml.enabled
為 false。
您可以通過(guò)命令行直接設(shè)置它來(lái)做到這一點(diǎn):
elasticsearch -E xpack.ml.enabled=false
或者您可以添加一行elasticsearch.yml
:
xpack.ml.enabled: false
您通??梢?code>elasticsearch.yml在$ES_HOME/config
.
添加回答
舉報(bào)
0/150
提交
取消