Commit graph

7 commits

Author SHA1 Message Date
Mark Felder
397fce9114 textproc/elasticsearch{5,6}: Pidfiles should be in a writable subdirectory
This fixes issues Elastic has with starting/stopping in some situations

PR:		226800
2018-03-20 16:19:08 +00:00
Mark Felder
86cfe07013 Update ElasticSearch5 to 5.6.8
Notable changes:

- automate pkg-plists
- Kibana: data dir is now correctly writable by www user

Differential Revision:	https://reviews.freebsd.org/D14474
2018-02-24 14:17:41 +00:00
Mark Felder
dae3775e5b textproc/elasticsearch5: Use native facilites for manging the process
start/stop/status will behave correctly with procname set.

This now prevents Elastic from starting when a process is already
running, stops cleanly, and also handles multiple profiles correctly:
if only some of the profile processes are running, a "service
elasticsearch start" will only start the profiles that are not detected
as running already.

All of this comes with the caveat that Elastic is slow to start up and write
its pidfile, so if you are too quick it will allow duplicate processes
to start. Here be JVM dragons.

Approved by:	portmgr (with hat)
MFH:		2018Q1
2018-02-22 23:03:41 +00:00
Mark Felder
ec3f9f13c1 textproc/elasticsearch5: rc script improvement
- Fix behavior with multiple profiles
- Correctly handle the individual config dirs
- Prevent thundering herd at shutdown by using wait_for_pids

Approved by:	maintainer
MFH:		2018Q1
2018-02-22 14:13:30 +00:00
Tom Judge
d31f1e89b3 Update to 5.3.0.
Changes: https://www.elastic.co/guide/en/elasticsearch/reference/5.3/release-notes-5.3.0.html
2017-04-06 00:39:51 +00:00
Tom Judge
3ce62583a3 * Update to 5.0.2
* Fix using jvm.options file
* Add errors to rc script when using legacy rc.conf options

PR:		214572, 214983
Submitted by:	purpleritza@gmail.com
Reported by:	purpleritza@gmail.com, Mark.Martinec@ijs.si
2016-12-02 12:01:12 +00:00
Tom Judge
53cb4c7f9e Add Elasticsearch 5.0.0. 2016-11-04 07:28:35 +00:00