I am currently preparing a pull request to be able to create RPM packages
during build by calling "mvn rpm:rpm" via a maven plugin (you must have the
rpm development packages of your distribution installed in order to get
this working!).
The pull request is available at
I would be very glad if someone with more administration and packaging
skills than me (shouldnt be too hard actually) could take a look at the
created packages. I'm thankful for any input on how to improve the created
package.
I tried to create an RPM which supports systemd as well as starting via old
fashioned init script, so both are included and you can choose your
preferred start up method (and thus need to configure runlevels manually
via chkconfig in the init script case). Both scripts drop root privileges
on startup and run as elasticsearch user.
I hope that this package can run own fedora, centos as well as opensuse in
order to cover as many of the big distributions as possible.
So, anyone interested in an RPM, please test and give some feedback. Thanks!
Does this create a single RPM for all Elasticsearch stuff, including
plugins? I'm not familiar with the Maven RPM archetype, so I can't quite
tell what it's doing...
-Sean
On Wednesday, March 13, 2013 6:41:27 AM UTC-7, Alexander Reelsen wrote:
Hey folks,
I am currently preparing a pull request to be able to create RPM packages
during build by calling "mvn rpm:rpm" via a maven plugin (you must have the
rpm development packages of your distribution installed in order to get
this working!).
I would be very glad if someone with more administration and packaging
skills than me (shouldnt be too hard actually) could take a look at the
created packages. I'm thankful for any input on how to improve the created
package.
I tried to create an RPM which supports systemd as well as starting via
old fashioned init script, so both are included and you can choose your
preferred start up method (and thus need to configure runlevels manually
via chkconfig in the init script case). Both scripts drop root privileges
on startup and run as elasticsearch user.
I hope that this package can run own fedora, centos as well as opensuse in
order to cover as many of the big distributions as possible.
So, anyone interested in an RPM, please test and give some feedback.
Thanks!
this only creates a RPM package of the elasticsearch distribution (contents
are similar to the zipfile). There are no extra plugins packaged. You still
need to install them via the plugin command..
Does this create a single RPM for all Elasticsearch stuff, including
plugins? I'm not familiar with the Maven RPM archetype, so I can't quite
tell what it's doing...
-Sean
On Wednesday, March 13, 2013 6:41:27 AM UTC-7, Alexander Reelsen wrote:
Hey folks,
I am currently preparing a pull request to be able to create RPM packages
during build by calling "mvn rpm:rpm" via a maven plugin (you must have the
rpm development packages of your distribution installed in order to get
this working!).
I would be very glad if someone with more administration and packaging
skills than me (shouldnt be too hard actually) could take a look at the
created packages. I'm thankful for any input on how to improve the created
package.
I tried to create an RPM which supports systemd as well as starting via
old fashioned init script, so both are included and you can choose your
preferred start up method (and thus need to configure runlevels manually
via chkconfig in the init script case). Both scripts drop root privileges
on startup and run as elasticsearch user.
I hope that this package can run own fedora, centos as well as opensuse
in order to cover as many of the big distributions as possible.
So, anyone interested in an RPM, please test and give some feedback.
Thanks!
So, if you install the RPM, I would be glad if you could check for the
following features
Does it install flawlessly
Does it start automatically
Does it run under elasticsearch user privileges?
Are there log files owned by the elasticsearch user at
/var/log/elasticsearch
Do data files exist at /var/lib/elasticsearch ?
Can the package be removed without problems
Is the elasticsearch user removed after the uninstallation?
If you find anything suspicious in between, drop me a mail including your
distribution, its version and a little information what failed.
If you are using a systemd enabled system (like opensuse) you can ignore
the init script.
Otherwise chkconfig and the init script should be used to enable the
service.
Thanks!
On Wed, Mar 13, 2013 at 5:13 PM, Alexander Reelsen alr@spinscale.de wrote:
Hey,
this only creates a RPM package of the elasticsearch distribution
(contents are similar to the zipfile). There are no extra plugins packaged.
You still need to install them via the plugin command..
Does this create a single RPM for all Elasticsearch stuff, including
plugins? I'm not familiar with the Maven RPM archetype, so I can't quite
tell what it's doing...
-Sean
On Wednesday, March 13, 2013 6:41:27 AM UTC-7, Alexander Reelsen wrote:
Hey folks,
I am currently preparing a pull request to be able to create RPM
packages during build by calling "mvn rpm:rpm" via a maven plugin (you must
have the rpm development packages of your distribution installed in order
to get this working!).
I would be very glad if someone with more administration and packaging
skills than me (shouldnt be too hard actually) could take a look at the
created packages. I'm thankful for any input on how to improve the created
package.
I tried to create an RPM which supports systemd as well as starting via
old fashioned init script, so both are included and you can choose your
preferred start up method (and thus need to configure runlevels manually
via chkconfig in the init script case). Both scripts drop root privileges
on startup and run as elasticsearch user.
I hope that this package can run own fedora, centos as well as opensuse
in order to cover as many of the big distributions as possible.
So, anyone interested in an RPM, please test and give some feedback.
Thanks!
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.