mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-24 17:09:48 +00:00
Remove client option for JVM for plugins script
Today we specify the client option for the JVM when executing plugin commands. Yet, this option does nothing on a 64-bit capable JDK as such JDKs always select the Hotspot server VM. And for 32-bit JDKs, running plugin commands with the server VM is okay. Thus, we should just remove this unnecessary flag and just let the default VM be selected. Relates #18142
This commit is contained in:
parent
7656d7ea73
commit
124e8e5a6d
@ -110,4 +110,4 @@ fi
|
||||
HOSTNAME=`hostname | cut -d. -f1`
|
||||
export HOSTNAME
|
||||
|
||||
eval "\"$JAVA\"" "$ES_JAVA_OPTS" -client -Delasticsearch -Des.path.home="\"$ES_HOME\"" $properties -cp "\"$ES_HOME/lib/*\"" org.elasticsearch.plugins.PluginCli $args
|
||||
eval "\"$JAVA\"" "$ES_JAVA_OPTS" -Delasticsearch -Des.path.home="\"$ES_HOME\"" $properties -cp "\"$ES_HOME/lib/*\"" org.elasticsearch.plugins.PluginCli $args
|
||||
|
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user