-
Notifications
You must be signed in to change notification settings - Fork 25.2k
Tribe node clients using wrong config path #16253
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
If we don't do this, and some path.conf is set when starting the tribe node, that path.conf will be ignored and the inner tribe clients will try to read elsewhere, where they most likely don't have permissions to read from. Closes elastic#16253 Closes elastic#16258
@clintongormley hi. I do as you said, but it doesn't work!
elasticsearch.yml in /etc/tribe-client/ without anything in it.
HOWEVER, I get the result.
seems that the path.conf send to the tribe. but it still search for hunspell. Enviroment: es 2.1.1; java 1.8.0_72 |
the same configuration with environment: es 2.0.2
|
@gbjuno for the workaround to work, the |
@clintongormley ,thank you.After changing the path.conf to /etc/elasticsearch, the tribe node started running. |
This is a duplicate of #15880
To replicate, copy the config directory to a new location and add a simple tribe config, eg:
Start the tribe node as follows:
The process dies with:
The reason for this is that, when the tribe node tries to create a client to connect to the cluster, it doesn't pass on the
path.conf
setting to the client, so that when HunspellService tries to resolve the hunspell directory it usespath.home
instead of the custompath.conf
.Adding the absolute config path to the tribe node configuration works around this:
The text was updated successfully, but these errors were encountered: