André Hänsel
c107f0bcb9
Export the hostname as environment variable and mention it in the docs
2015-04-17 09:17:02 +02:00
tlrx
261eb5b5ce
Windows: makes elasticsearch.bat more friendly to automated processes
...
On Windows platforms when JAVA_HOME is not defined, a message is printed on standard output and the bat script is paused until the user press a key. This behavior is not compliant to automated processes where elasticsearch.bat can be executed by another script. This commit adds a new parameter --silent / -s that allow to skip the pause. Also, the error message is directed to standard and error outputs.
Closes #8913
2015-01-12 12:24:40 +01:00
Vidar Kongsli
9e2f6bb5e5
Added quotes to allow spaces in installation path
2014-11-13 09:14:24 -05:00
Costin Leau
9e7e37076f
Introduce elasticsearch.in.bat (i.e. es.in for Windows)
...
Break-out common functionality between elasticsearch.bat and service.bat
Relates #8237
(cherry picked from commit 87095e79534bcef97b2b275322c924bd96b34e3b)
2014-10-28 16:33:20 +02:00
David Pilato
0a58781d2d
Modify command window title (windows)
...
When launching multiple nodes in MS Windows env, batch command window does not come by default with any title.
This patch add `Elasticsearch VERSION` as a title, where VERSION is the current elasticsearch version.
Same for `plugin.bat` and `service.bat`.
Closes #6336
Closes #6752
2014-07-09 18:15:13 +02:00
Robert Muir
a3d5381392
Disable explicit GC by default
...
We don't rely upon GC to cleanup mappedbytebuffers, we unmap them
explicitly on close in lucene. But the JDK has crazy loops with
explicit GCs in exceptional cases to try to force unmapping.
In general we don't want any of our code or library code calling
this method: so its banned in forbidden-apis as well.
2014-06-27 14:09:44 +02:00
Simon Willnauer
fa16969360
Cleanup comments and class names s/ElasticSearch/Elasticsearch
...
* Clean up s/ElasticSearch/Elasticsearch on docs/*
* Clean up s/ElasticSearch/Elasticsearch on src/* bin/* & pom.xml
* Clean up s/ElasticSearch/Elasticsearch on NOTICE.txt and README.textile
Closes #4634
2014-01-07 11:21:51 +01:00
Shay Banon
8dcee09868
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
Shay Banon
2b893fe1e5
Use bloom filter when flushing (applying deletes), closes #2058 .
2012-06-26 16:45:29 +02:00
Shay Banon
c56218a41f
JDK 7 requires minimum of 256k stack size, update scripts to set it, closes #1892 .
2012-04-29 17:17:15 +03:00
Shay Banon
70268a6c41
JDK 7 requires minimum of 160k stack size, update scripts to set it, closes #1892 .
2012-04-29 17:13:36 +03:00
Shay Banon
70de95373c
JVM Flags: Remove SurvivorRatio and MaxTenuringThreshold since the defaults are good with new JVMs, closes #1672 .
2012-02-06 22:11:22 +02:00
Shay Banon
43809211d4
bin: elasticsearch script to support ES_HEAP_SIZE to easily set the heap size to a single value (min and max) and ES_HEAP_NEWSIZE to optionally set the new gen, closes #1671 .
2012-02-06 22:09:32 +02:00
Shay Banon
78722a51f7
add a comment option to another jvm flag that only applies in 7
2012-01-26 13:52:43 +02:00
David Pilato
3ee92854bb
Use command line parameters
2011-11-20 12:55:20 +02:00
David Pilato
20b92482b5
As recommanded by Shay : Don't modify ES_PARAMS Escape parameters
2011-11-20 12:55:20 +02:00
David Pilato
1bc7d8230b
Use parameters given by user to launch ES
2011-11-20 12:55:20 +02:00
Shay Banon
d00edfb165
better check for defaults on jline, only enable it if not on windows
2011-09-09 10:59:35 +03:00
David Pilato
3fa08968a2
CTRL+C is not working on windows XP and windows 7
2011-09-09 10:29:55 +03:00
Shay Banon
399139505f
Don't include CLASSPATH env var in elasticsearch.bat script, closes #1287 .
2011-08-30 15:41:04 +03:00
Shay Banon
5845baa3e0
remove the compressed oops option, as its enabled by default on latest jdks
2011-08-03 21:34:51 +03:00
Shay Banon
6913bebb75
remove the explicit usage of elasticsearch jar file in the head of the script, no need for it anymore
2011-08-03 21:29:05 +03:00
kimchy
685f7c7d84
fix batch file to actually use the relevant es jar version (though does not really matter now, since we don't override anything in lucene)
2011-07-18 20:11:37 +03:00
kimchy
845104dabc
remove the jline flag and automatically detect it
2011-07-15 10:00:23 +03:00
kimchy
b8ac25c430
make the windows script nicer, also support ES_MIN_MEM and ES_MAX_MEM as external settings for it
2011-03-23 18:07:00 +02:00
kimchy
bc882182ab
change scripts to start the ElasticSearch main class (a wrapper around Bootstrap) just so the process name will look nicely on jps
2011-03-04 20:14:22 +02:00
kimchy
7df3b5c3fd
fix classpath env var in windows
2010-10-09 12:40:52 +02:00
kimchy
d97695ad10
fix windows script to not double quote
2010-08-20 21:13:32 +03:00
kimchy
97b5b41522
enable eager cache eviction based on readers, requires a nasty hack to Lucene, basically overriding two classes to hook into when a reader actually gets closed (and only enabled when elasticsearch is before lucene in the classpath, which we take for in the startup scripts)
2010-07-07 17:15:26 +03:00
kimchy
dea8238ced
Move service wrapper support to its own repo, closes #243 .
2010-06-30 21:51:34 +03:00
kimchy
371bfebd16
initial support for process monitoring using sigar
2010-05-06 21:07:24 +03:00
kimchy
c7e4ec6369
update project files, remove sources from jar files
2010-04-25 23:40:58 +03:00
kimchy
78c220589e
fix windows script to use correct env var (backported and updated the 0.4.0 release zip)
2010-02-09 15:09:11 +02:00
kimchy
b3337c3127
initial commit
2010-02-08 15:30:06 +02:00