It's all absolute paths.

You could just run multiple, contained instances rather than multiple data
dirs.

Regards,
Mark Walkom

Infrastructure Engineer
Campaign Monitor
email: [email protected]
web: www.campaignmonitor.com

On 13 October 2014 03:03, Alexandre Rafalovitch <[email protected]> wrote:

> Hello,
>
> I am building a bunch of self-contained ES examples in different
> directories. I am trying to figure out the easiest way to point ES to
> various locations with minimum absolute paths hardcoded.
>
> Is there a way to point one variable to some sort of home for
> everything (elasticsearch.yml, logging.yml, data, logs, etc) to be
> relative to that? Or using relative directories in the
> elasticsearch.yml in a way that I could just clone that directory
> structure to a new example.
>
> I have tried elasticsearch -Des.config and it picks up my config file
> but the default paths do not change and are still within ES's install
> directory. Relative paths also seem to be relative to the install.
>
> I guess I can do an environmental variable as a common root, but I
> would still need to repeat that to point at my config file directly
> anyway, right? I am hoping to reduce the call to one simple command
> line to switch between examples.
>
> Regards,
>     Alex.
>
> --
> 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 [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/elasticsearch/CAEFAe-HTfQoubr5v%3DzineXjmkJN7TmY0k_qaVyYgeFTKRN-hoQ%40mail.gmail.com
> .
> 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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/CAEM624Z8cBqo6fm62TV%2B6QGM0c6x6pEvUpDY%2BfY9zsBR-B4O7Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to