Crate Version : 2.1.5 OS : Windows
Crate版本:2.1.5 OS: Windows。
I have an error when starting whith crate.bat:
开始时我有一个错误。bat:
PS D:\Dev\Crate\crate-2.1.5\bin> .\crate.bat
starts CrateDB
Option Description
-C <KeyValuePair> Configure a setting
-V, --version Prints CrateDB version information and exits
-d, --daemonize Starts CrateDB in the background
-h, --help show help
-p, --pidfile <Path> Creates a pid file in the specified path on start
-q, --quiet Turns off standard ouput/error streams logging in console
-s, --silent show minimal output
-v, --verbose show verbose output
**ERROR: E is not a recognized option**
Java path is : "C:\Program Files\Java\jdk1.8.0_131\bin\java" -Xms256m -Xmx1g -Xss256k -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=75 -XX:+UseCMSInitiatingOccupancyOnly -XX:+DisableExplicitGC -Djna.nosys=true -Dfile.encoding=UTF-8 -Dlog4j.shutdownHookEnabled=false -Dlog4j2.disable.jmx=true -Dlog4j.skipJansi=true -Dio.netty.noUnsafe=true -Dio.netty.noKeySetOptimization=true -Dio.netty.recycler.maxCapacityPerThread=0 -cp "D:\Dev\Crate\crate-2.1.5/lib/;D:\Dev\Crate\crate-2.1.5/lib/enterprise/;D:\Dev\Crate\crate-2.1.5/lib/sigar/*" "io.crate.bootstrap.CrateDB" -Epath.home="D:\Dev\Crate\crate-2.1.5" -V
Java的路径是:“C:\程序文件\Java\jdk1.8.0_131\bin\ Java”-Xms256m -Xmx1g -Xss256k -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=75 -XX:+UseCMSInitiatingOccupancyOnly -XX:+ disableitgc -Djna。好管闲事的= true -Dfile。utf - 8编码= -Dlog4j。shutdownHookEnabled = false -Dlog4j2.disable。jmx = true -Dlog4j。这句话的意思是:“我想说的是,我想说的是,我想说的是,我想说的是,我想说的是,我想说的是,我想说的是,我想说的是,我想说的是,我想说的是,我想说的是,我想说的是,我想说的是,我想说的是,这是一种很好的方式。”CrateDB " -Epath.home = " D:\开发\箱\ crate-2.1.5”- v
Do you have the same problem?
你有同样的问题吗?
An idea of where the error might come from?
这个错误可能来自哪里?
Thanks
谢谢
2 个解决方案
#1
1
This will be fixed in the upcoming release of 2.1 - Thanks. https://github.com/crate/crate/issues/6129
这将在即将发布的2.1 -谢谢。https://github.com/crate/crate/issues/6129
#2
0
Work around in the meantime:
同时工作:
In crate.bat, replace
在板条箱。蝙蝠,取代
set CRATE_PARAMS=-Epath.home="%CRATE_HOME%"
by
通过
set CRATE_PARAMS=-Cpath.home="%CRATE_HOME%"
and remove:
和删除:
) else if "!param:~0,2!" equ "-C" (
set param=!param:-C=-E!
source: https://github.com/crate/crate/pull/6142
来源:https://github.com/crate/crate/pull/6142
#1
1
This will be fixed in the upcoming release of 2.1 - Thanks. https://github.com/crate/crate/issues/6129
这将在即将发布的2.1 -谢谢。https://github.com/crate/crate/issues/6129
#2
0
Work around in the meantime:
同时工作:
In crate.bat, replace
在板条箱。蝙蝠,取代
set CRATE_PARAMS=-Epath.home="%CRATE_HOME%"
by
通过
set CRATE_PARAMS=-Cpath.home="%CRATE_HOME%"
and remove:
和删除:
) else if "!param:~0,2!" equ "-C" (
set param=!param:-C=-E!
source: https://github.com/crate/crate/pull/6142
来源:https://github.com/crate/crate/pull/6142