Yum installed ES uses unexpected data and log directories

Hi All,

I just installed ES with yum install elasticsearch on RHEL 6.6.

Due to
http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/setup-dir-layout.html
I expected ES to store logs in /var/log/elasticsearch which has been
created by yum install.
But instead logs are stored in /usr/share/elasticsearch/logs.

The same goes for data which are stored in /usr/share/elasticsearch/data
instead of /var/lib/elasticsearch.

Configuration in /etc/elasticsearch/elasticsearch.yml is default except for
cluster.name, i.e. no path.logs nor path.data configured

Am I missing something?
Thanks in advance,
Görge

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/8f778bc4-cbe9-4b9b-824e-38954d031e4b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

I have also encountered these peculiarities (and some other things) on the
ES RPM on RHEL 6.6 and I decided to use the tar.gz distribution instead,
which I unpack into the /opt directory.

Storing application data in /usr/share is definitely a packaging problem.
/var/lib is only for transient and temporary files, in particular for state
information. This directory is often much to small in installations to keep
huge persistent Lucene indexes.

FYI there is a Fedora 23 package on the way improving some of the packaging
problems, from which I suppose it will sooner or later end up in EPEL

http://pkgs.fedoraproject.org/cgit/elasticsearch.git/
http://koji.fedoraproject.org/koji/rpminfo?rpmID=6005107

But this package is also not sufficient for my purposes.

Jörg

On Tue, Mar 3, 2015 at 11:25 AM, Görge Albrecht goerge.albrecht@gmail.com
wrote:

Hi All,

I just installed ES with yum install elasticsearch on RHEL 6.6.

Due to
Elasticsearch Platform — Find real-time answers at scale | Elastic
I expected ES to store logs in /var/log/elasticsearch which has been
created by yum install.
But instead logs are stored in /usr/share/elasticsearch/logs.

The same goes for data which are stored in /usr/share/elasticsearch/data
instead of /var/lib/elasticsearch.

Configuration in /etc/elasticsearch/elasticsearch.yml is default except
for cluster.name, i.e. no path.logs nor path.data configured

Am I missing something?
Thanks in advance,
Görge

--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/8f778bc4-cbe9-4b9b-824e-38954d031e4b%40googlegroups.com
https://groups.google.com/d/msgid/elasticsearch/8f778bc4-cbe9-4b9b-824e-38954d031e4b%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAKdsXoH-rG0KQCMaCoZv%3D%3DdXzAHKO9yS8UYeo6qi4Qrd%3DqEPCg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.