Closed dakrone closed 11 years ago
I just tested it and got:
I can not reproduce it. Did you define any settings in elasticsearch.yml
?
Nope, no settings in elasticsearch.yml
, vanilla ES 0.90.0.Beta1, no plugins installed.
I tested this on a different node and the name changed, however, it's still stuck at "Aardwork" for my local machine.
Also, now that I go back and test it, I see this same issue in 0.20.5 for my machine.
@imotov and I have seen this on early versions of OpenJDK. I just tested Oracle 7u10 and 7u15 on Linux and neither has the issue. So, is it possible your Java isn't installed right? After starting a node, check and make sure curl -s localhost:9200/_nodes\?all=1 | python -mjson.tool | fgrep vm_name
is Oracle Corporation
.
Alright, looks like it was a case of having JAVA_HOME exported to a different directory than what was being run. Doing an unset JAVA_HOME fixes the issue.
Interesting though, this is a strange manifestation of this issue.
Thanks for the debugging help, @drewr and @dadoonet
On Linux, with Oracle's java:
Every time I start a foreground node, "Aardwolf" is chosen for the name.