gpt4 book ai didi

elasticsearch - Elasticsearch 回显jvm_options_parser_failed此时是意外的

转载 作者:行者123 更新时间:2023-12-02 22:28:19 27 4
gpt4 key购买 nike

问题:

\Java\jre1.8.0_191\bin\java.exe" -cp "!ES_CLASSPATH!" "org.elasticsearch.tools.launchers.JvmOptionsParser" "!ES_JVM_OPTIONS!" || echo jvm_options_parser_failed")' was unexpected at this time.



解决方案
在elasticsearch.bat中的行下方更改

set "ES_JVM_OPTIONS=%ES_PATH_CONF%\jvm.options" @setlocal for /F "usebackq delims=" %%a in (CALL %JAVA% -cp "!ES_CLASSPATH!"
"org.elasticsearch.tools.launchers.JvmOptionsParser"
"!ES_JVM_OPTIONS!" ^|^| echo jvm_options_parser_failed
) do set JVM_OPTIONS=%%a @endlocal & set "MAYBE_JVM_OPTIONS_PARSER_FAILED=%JVM_OPTIONS%" & set ES_JAVA_OPTS=%JVM_OPTIONS:${ES_TMPDIR}=!ES_TMPDIR!% %ES_JAVA_OPTS%

最佳答案

(\`CALL %JAVA% -cp "!ES_CLASSPATH!" "org.elasticsearch.tools.launchers.JvmOptionsParser" "!ES_JVM_OPTIONS!" ^|^| echo jvm_options_parser_failed\`)

那是解决方案,但是这个1更准确。
我用建议的解决方法挣扎了30分钟。

关于elasticsearch - Elasticsearch 回显jvm_options_parser_failed此时是意外的,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/53330627/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com