elasticsearch,error-handling,jvm,Java,Php,elasticsearch,Error Handling,Jvm" /> elasticsearch,error-handling,jvm,Java,Php,elasticsearch,Error Handling,Jvm" />

Java Elasticsearch-6.6.0未在windows上启动

Java Elasticsearch-6.6.0未在windows上启动,java,php,elasticsearch,error-handling,jvm,Java,Php,elasticsearch,Error Handling,Jvm,我正在尝试安装 在命令提示下,我键入: cd C:\Users\Prime Jay\Downloads\elasticsearch-6.6.0\elasticsearch-6.6.0\bin set ES_JAVA_OPTS=-Xms200m -Xmx500m echo %ES_JAVA_OPTS% elasticsearch 发生这种情况: [2019-02-21T16:55:11,033][INFO ][o.e.e.NodeEnvironment ] [5ZUrCC7] using

我正在尝试安装

在命令提示下,我键入:

cd C:\Users\Prime Jay\Downloads\elasticsearch-6.6.0\elasticsearch-6.6.0\bin

set ES_JAVA_OPTS=-Xms200m -Xmx500m
echo %ES_JAVA_OPTS%
elasticsearch
发生这种情况:

[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.3g
b], 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 name
derived 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[Wind
ows 7/6.1/x86], JVM[Oracle Corporation/Java HotSpot(TM) Client VM/1.8.0_181/25.1
81-b13]
[2019-02-21T16:55:11,063][INFO ][o.e.n.Node               ] [5ZUrCC7] JVM argume
nts [-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.he
adless=true, -Dfile.encoding=UTF-8, -Djna.nosys=true, -XX:-OmitStackTraceInFastT
hrow, -Dio.netty.noUnsafe=true, -Dio.netty.noKeySetOptimization=true, -Dio.netty
.recycler.maxCapacityPerThread=0, -Dlog4j.shutdownHookEnabled=false, -Dlog4j2.di
sable.jmx=true, -Djava.io.tmpdir=C:\Users\O846C~1.OAM\AppData\Local\Temp\elastic
search, -XX:+HeapDumpOnOutOfMemoryError, -XX:HeapDumpPath=data, -XX:ErrorFile=lo
gs/hs_err_pid%p.log, -XX:+PrintGCDetails, -XX:+PrintGCDateStamps, -XX:+PrintTenu
ringDistribution, -XX:+PrintGCApplicationStoppedTime, -Xloggc:logs/gc.log, -XX:+
UseGCLogFileRotation, -XX:NumberOfGCLogFiles=32, -XX:GCLogFileSize=64m, -Xms200m
, -Xmx500m, -Delasticsearch, -Des.path.home=C:\Users\o.o amoo\Downloads\elastics
earch-6.6.0\elasticsearch-6.6.0, -Des.path.conf=C:\Users\o.o amoo\Downloads\elas
ticsearch-6.6.0\elasticsearch-6.6.0\config, -Des.distribution.flavor=default, -D
es.distribution.type=zip]
[2019-02-21T16:55:21,333][INFO ][o.e.p.PluginsService     ] [5ZUrCC7] loaded mod
ule [aggs-matrix-stats]
[2019-02-21T16:55:21,333][INFO ][o.e.p.PluginsService     ] [5ZUrCC7] loaded mod
ule [analysis-common]
[2019-02-21T16:55:21,333][INFO ][o.e.p.PluginsService     ] [5ZUrCC7] loaded mod
ule [ingest-common]
[2019-02-21T16:55:21,333][INFO ][o.e.p.PluginsService     ] [5ZUrCC7] loaded mod
ule [lang-expression]
[2019-02-21T16:55:21,333][INFO ][o.e.p.PluginsService     ] [5ZUrCC7] loaded mod
ule [lang-mustache]
[2019-02-21T16:55:21,333][INFO ][o.e.p.PluginsService     ] [5ZUrCC7] loaded mod
ule [lang-painless]
[2019-02-21T16:55:21,343][INFO ][o.e.p.PluginsService     ] [5ZUrCC7] loaded mod
ule [mapper-extras]
[2019-02-21T16:55:21,343][INFO ][o.e.p.PluginsService     ] [5ZUrCC7] loaded mod
ule [parent-join]
[2019-02-21T16:55:21,343][INFO ][o.e.p.PluginsService     ] [5ZUrCC7] loaded mod
ule [percolator]
[2019-02-21T16:55:21,343][INFO ][o.e.p.PluginsService     ] [5ZUrCC7] loaded mod
ule [rank-eval]
[2019-02-21T16:55:21,343][INFO ][o.e.p.PluginsService     ] [5ZUrCC7] loaded mod
ule [reindex]
[2019-02-21T16:55:21,343][INFO ][o.e.p.PluginsService     ] [5ZUrCC7] loaded mod
ule [repository-url]
[2019-02-21T16:55:21,343][INFO ][o.e.p.PluginsService     ] [5ZUrCC7] loaded mod
ule [transport-netty4]
[2019-02-21T16:55:21,353][INFO ][o.e.p.PluginsService     ] [5ZUrCC7] loaded mod
ule [tribe]
[2019-02-21T16:55:21,353][INFO ][o.e.p.PluginsService     ] [5ZUrCC7] loaded mod
ule [x-pack-ccr]
[2019-02-21T16:55:21,353][INFO ][o.e.p.PluginsService     ] [5ZUrCC7] loaded mod
ule [x-pack-core]
[2019-02-21T16:55:21,353][INFO ][o.e.p.PluginsService     ] [5ZUrCC7] loaded mod
ule [x-pack-deprecation]
[2019-02-21T16:55:21,353][INFO ][o.e.p.PluginsService     ] [5ZUrCC7] loaded mod
ule [x-pack-graph]
[2019-02-21T16:55:21,353][INFO ][o.e.p.PluginsService     ] [5ZUrCC7] loaded mod
ule [x-pack-ilm]
[2019-02-21T16:55:21,353][INFO ][o.e.p.PluginsService     ] [5ZUrCC7] loaded mod
ule [x-pack-logstash]
[2019-02-21T16:55:21,363][INFO ][o.e.p.PluginsService     ] [5ZUrCC7] loaded mod
ule [x-pack-ml]
[2019-02-21T16:55:21,363][INFO ][o.e.p.PluginsService     ] [5ZUrCC7] loaded mod
ule [x-pack-monitoring]
[2019-02-21T16:55:21,363][INFO ][o.e.p.PluginsService     ] [5ZUrCC7] loaded mod
ule [x-pack-rollup]
[2019-02-21T16:55:21,363][INFO ][o.e.p.PluginsService     ] [5ZUrCC7] loaded mod
ule [x-pack-security]
[2019-02-21T16:55:21,363][INFO ][o.e.p.PluginsService     ] [5ZUrCC7] loaded mod
ule [x-pack-sql]
[2019-02-21T16:55:21,363][INFO ][o.e.p.PluginsService     ] [5ZUrCC7] loaded mod
ule [x-pack-upgrade]
[2019-02-21T16:55:21,363][INFO ][o.e.p.PluginsService     ] [5ZUrCC7] loaded mod
ule [x-pack-watcher]
[2019-02-21T16:55:21,373][INFO ][o.e.p.PluginsService     ] [5ZUrCC7] no plugins
 loaded
[2019-02-21T16:55:40,286][INFO ][o.e.x.s.a.s.FileRolesStore] [5ZUrCC7] parsed [0
] roles from file [C:\Users\o.o amoo\Downloads\elasticsearch-6.6.0\elasticsearch
-6.6.0\config\roles.yml]
[2019-02-21T16:55:45,288][WARN ][o.e.b.ElasticsearchUncaughtExceptionHandler] [5
ZUrCC7] uncaught exception in thread [main]
org.elasticsearch.bootstrap.StartupException: ElasticsearchException[X-Pack is n
ot supported and Machine Learning is not available for [windows-x86]; you can us
e 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-6.6.0.jar:6.6.0]
        at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:
150) ~[elasticsearch-6.6.0.jar:6.6.0]
        at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwar
eCommand.java:86) ~[elasticsearch-6.6.0.jar:6.6.0]
        at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:1
24) ~[elasticsearch-cli-6.6.0.jar:6.6.0]
        at org.elasticsearch.cli.Command.main(Command.java:90) ~[elasticsearch-c
li-6.6.0.jar:6.6.0]
        at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:116
) ~[elasticsearch-6.6.0.jar:6.6.0]
        at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:93)
 ~[elasticsearch-6.6.0.jar:6.6.0]
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-Pa
ck features (unsupported) by setting xpack.ml.enabled: false in elasticsearch.ym
l
        at org.elasticsearch.xpack.ml.MachineLearningFeatureSet.isRunningOnMlPla
tform(MachineLearningFeatureSet.java:107) ~[?:?]
        at org.elasticsearch.xpack.ml.MachineLearningFeatureSet.isRunningOnMlPla
tform(MachineLearningFeatureSet.java:98) ~[?:?]
        at org.elasticsearch.xpack.ml.MachineLearning.createComponents(MachineLe
arning.java:395) ~[?:?]
        at org.elasticsearch.node.Node.lambda$new$11(Node.java:470) ~[elasticsea
rch-6.6.0.jar:6.6.0]
        at java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:
267) ~[?:1.8.0_181]
        at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.j
ava:1382) ~[?:1.8.0_181]
        at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
 ~[?:1.8.0_181]
        at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.ja
va:471) ~[?:1.8.0_181]
        at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java
:708) ~[?:1.8.0_181]
        at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
 ~[?:1.8.0_181]
        at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499
) ~[?:1.8.0_181]
        at org.elasticsearch.node.Node.<init>(Node.java:473) ~[elasticsearch-6.6
.0.jar:6.6.0]
        at org.elasticsearch.node.Node.<init>(Node.java:265) ~[elasticsearch-6.6
.0.jar:6.6.0]
        at org.elasticsearch.bootstrap.Bootstrap$5.<init>(Bootstrap.java:212) ~[
elasticsearch-6.6.0.jar:6.6.0]
        at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:212) ~[ela
sticsearch-6.6.0.jar:6.6.0]
        at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:333) ~[elas
ticsearch-6.6.0.jar:6.6.0]
        at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:159
) ~[elasticsearch-6.6.0.jar:6.6.0]
        ... 6 more

C:\Users\Prime Jay\Downloads\elasticsearch-6.6.0\elasticsearch-6.6.0\bin>
[2019-02-21T16:55:11033][INFO][o.e.e.NodeEnvironment][5ZUrCC7]使用[1]
数据路径,挂载[[(C:)]],净可用空间[160.6gb],净总空间[270.3g]
b] ,类型[NTFS]
[2019-02-21T16:55:11053][INFO][o.e.e.NodeEnvironment][5ZUrCC7]堆大小
[487.2mb],压缩的普通对象指针[未知]
[2019-02-21T16:55:11063][INFO][o.e.n.Node][5ZUrCC7]节点名称
源自节点ID[5ZUrCC7yR_GPEA3ghcw8Vg];将[node.name]设置为覆盖
[2019-02-21T16:55:11063][INFO][o.e.n.Node][5ZUrCC7]版本[6。
6.0],pid[6184],构建[default/zip/a9861f4/2019-01-24T11:27:09.439740Z],操作系统[Wind]
ows 7/6.1/x86],JVM[Oracle Corporation/Java HotSpot(TM)Client VM/1.8.0_181/25.1
81-b13]
[2019-02-21T16:55:11063][INFO][o.e.n.Node][5ZUrCC7]JVM参数
nts[-Xms1g,-Xmx1g,-XX:+useConMarkSweepGC,-XX:CMSInitiatingOccupancyFraction
=75,-XX:+UseCMsiniatingOccupenconly,-Des.networkaddress.cache.ttl=60,-Des。
networkaddress.cache.negative.ttl=10,-XX:+AlwaysPreTouch,-Xss1m,-Djava.awt.he
adless=true,-Dfile.encoding=UTF-8,-Djna.nosys=true,-XX:-ommitStackTraceInFast
hrow,-Dio.netty.noUnsafe=true,-Dio.netty.nokeys优化=true,-Dio.netty
.recycler.MaxCapacityTyperThread=0,-Dlog4j.shutdownHookEnabled=false,-Dlog4j2.di
sable.jmx=true,-Djava.io.tmpdir=C:\Users\O846C~1.OAM\AppData\Local\Temp\elastic
搜索,-XX:+HeapDumpOnOutOfMemoryError,-XX:HeapDumpPath=data,-XX:ErrorFile=lo
gs/hs\u错误\u pid%p.log,-XX:+PrintGCDetails,-XX:+PrintGCDateStamps,-XX:+PrintTenu
ringDistribution,-XX:+PrintGCApplicationStoppedTime,-Xloggc:logs/gc.log,-XX:+
UseGCLogFileRotation,-XX:NumberOfGCLogFiles=32,-XX:GCLogFileSize=64m,-Xms200m
,-Xmx500m,-Delasticsearch,-Des.path.home=C:\Users\o.o amoo\Downloads\elastics
earch-6.6.0\elasticsearch-6.6.0,-Des.path.conf=C:\Users\o.o amoo\Downloads\elas
ticsearch-6.6.0\elasticsearch-6.6.0\config,-Des.distribution.flavor=default,-D
es.distribution.type=zip]
[2019-02-21T16:55:21333][INFO][o.e.p.PluginsService][5ZUrCC7]已加载模块
ule[aggs矩阵统计信息]
[2019-02-21T16:55:21333][INFO][o.e.p.PluginsService][5ZUrCC7]已加载模块
ule[通用分析]
[2019-02-21T16:55:21333][INFO][o.e.p.PluginsService][5ZUrCC7]已加载模块
ule[摄入普通食物]
[2019-02-21T16:55:21333][INFO][o.e.p.PluginsService][5ZUrCC7]已加载模块
语言[语言表达]
[2019-02-21T16:55:21333][INFO][o.e.p.PluginsService][5ZUrCC7]已加载模块
小胡子
[2019-02-21T16:55:21333][INFO][o.e.p.PluginsService][5ZUrCC7]已加载模块
无痛的
[2019-02-21T16:55:21343][INFO][o.e.p.PluginsService][5ZUrCC7]已加载模块
ule[地图绘制附加程序]
[2019-02-21T16:55:21343][INFO][o.e.p.PluginsService][5ZUrCC7]已加载模块
ule[家长加入]
[2019-02-21T16:55:21343][INFO][o.e.p.PluginsService][5ZUrCC7]已加载模块
滤器
[2019-02-21T16:55:21343][INFO][o.e.p.PluginsService][5ZUrCC7]已加载模块
ule[等级评估]
[2019-02-21T16:55:21343][INFO][o.e.p.PluginsService][5ZUrCC7]已加载模块
ule[重新索引]
[2019-02-21T16:55:21343][INFO][o.e.p.PluginsService][5ZUrCC7]已加载模块
ule[存储库url]
[2019-02-21T16:55:21343][INFO][o.e.p.PluginsService][5ZUrCC7]已加载模块
ule[运输网络4]
[2019-02-21T16:55:21353][INFO][o.e.p.PluginsService][5ZUrCC7]已加载模块
乌莱[部落]
[2019-02-21T16:55:21353][INFO][o.e.p.PluginsService][5ZUrCC7]已加载模块
ule[x-pack-ccr]
[2019-02-21T16:55:21353][INFO][o.e.p.PluginsService][5ZUrCC7]已加载模块
ule[x-pack-core]
[2019-02-21T16:55:21353][INFO][o.e.p.PluginsService][5ZUrCC7]已加载模块
ule[x-pack-deprecation]
[2019-02-21T16:55:21353][INFO][o.e.p.PluginsService][5ZUrCC7]已加载模块
ule[x-pack-graph]
[2019-02-21T16:55:21353][INFO][o.e.p.PluginsService][5ZUrCC7]已加载模块
ule[x-pack-ilm]
[2019-02-21T16:55:21353][INFO][o.e.p.PluginsService][5ZUrCC7]已加载模块
ule[x-pack-logstash]
[2019-02-21T16:55:21363][INFO][o.e.p.PluginsService][5ZUrCC7]已加载模块
ule[x-pack-ml]
[2019-02-21T16:55:21363][INFO][o.e.p.PluginsService][5ZUrCC7]已加载模块
ule[x-pack-monitoring]
[2019-02-21T16:55:21363][INFO][o.e.p.PluginsService][5ZUrCC7]已加载模块
ule[x-pack-rollup]
[2019-02-21T16:55:21363][INFO][o.e.p.PluginsService][5ZUrCC7]已加载模块
ule[x-pack-security]
[2019-02-21T16:55:21363][INFO][o.e.p.PluginsService][5ZUrCC7]已加载模块
ule[x-pack-sql]
[2019-02-21T16:55:21363][INFO][o.e.p.PluginsService][5ZUrCC7]已加载模块
ule[x-pack-upgrade]
[2019-02-21T16:55:21363][INFO][o.e.p.PluginsService][5ZUrCC7]已加载模块
ule[x-pack-watcher]
[2019-02-21T16:55:21373][INFO][o.e.p.PluginsService][5ZUrCC7]没有插件
加载
[2019-02-21T16:55:40286][INFO][o.e.x.s.a.s.FileRoleStore][5ZUrCC7]已解析[0]
]文件[C:\Users\o.o amoo\Downloads\elasticsearch-6.6.0\elasticsearch]中的角色
-6.6.0\config\roles.yml]
[2019-02-21T16:55:45288][WARN][o.e.b.ElasticsearchUncaughtExceptionHandler][5
线程[main]中的ZUrCC7]未捕获异常
org.elasticsearch.bootstrap.StartupException:ElasticsearchException[X-Pack为n
[windows-x86]不支持ot,也不支持机器学习;您可以访问我们
通过在中设置xpack.ml.enabled:false来删除其他X-Pack功能(不受支持)
elasticsearch.yml]
位于org.elasticsearch.bootstrap.elasticsearch.init(elasticsearch.java:163
)~[elasticsearch-6.6.0.jar:6.6.0]
在org.elasticsearch.bootstrap.elasticsearch.execute(elasticsearch.java:
150)~[elasticsearch-6.6.0.jar:6.6.0]
在org.elasticsearch.cli.environmentawrecommand.execute(EnvironmentAwar
eCommand.java:86)~[elasticsearch-6.6.0.jar:6.6.0]
在org.elasticsearch.cli.Command.main上,不带错误处理(Command.java:1
24)~[elasticsearch-cli-6.6.0.jar:6.6.0]
在org.elasticsearch.c
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]