OpenSearch/bin
Alexander Reelsen 343871fcf5 Allow bin/plugin to set -D JVM parameters
Currently the bin/plugin command did not allow one to set jvm parameters
for startup. Usually this parameters are not needed (no need to configure
heap sizes for such a short running process), but one could not set the
configuration path. And that one is important for plugins in order find
out, where the plugin directory is.

This is especially problematic when elasticsearch is installed as
debian/rpm package, because the configuration file is not placed in the
same directory structure the plugin shell script is put.

This pull request allows to call bin/plugin like this

bin/plugin -Des.default.config=/etc/elasticsearch/elasticsearch.yml -install mobz/elasticsearch-head

As a last small improvement, the PluginManager now outputs the directort
the plugin was installed to in order to avoid confusion.

Closes #3304
2013-08-02 09:19:57 +02:00
..
elasticsearch Debian/Redhat package improvments 2013-07-15 16:03:24 +02:00
elasticsearch.bat expose the max direct memory allowed in jvm info, and guess better then receive buffer size predictor size based on it 2012-07-31 15:06:21 +02:00
elasticsearch.in.sh Make elasticsearch.in.sh more configurable via env 2012-12-19 21:38:40 +01:00
plugin Allow bin/plugin to set -D JVM parameters 2013-08-02 09:19:57 +02:00
plugin.bat add java opts to bat file as well 2012-10-23 23:54:10 +02:00