I just set up a 3 node elasticsearch cluster with version 0.18.7. For
some reason, all the nodes are coming up with the node name of
"Aardwolf".
All nodes are able to find each other. All nodes are using the same
cluster.name
Currently, there is nothing indexed in the cluster.
Currently, I don't have node.name set in the configuration file.
Though, if I did set it, it does work. However, without that setting,
no matter how many times I restart different nodes, the node name
always comes up as "Aardwolf".
Each node does have a unique id.
So, here are my questions:
why is this happening? I don't see this behavior with another
elasticsearch cluster that I have set up
My guess would be that you are running Java 7u1 on this new cluster and
hitting known bug in ThreadLocalRandom class http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6955840. This bug is
fixed in 7u2, so you can ether upgrade java to 7u2 or 7u3 or downgrade it
to 1.6. Since ThreadLocalRandom is used in several other places in
elasticsearch, this bug might be causing other issues, but I don't know for
sure.
I just set up a 3 node elasticsearch cluster with version 0.18.7. For
some reason, all the nodes are coming up with the node name of
"Aardwolf".
All nodes are able to find each other. All nodes are using the same
cluster.name
Currently, there is nothing indexed in the cluster.
Currently, I don't have node.name set in the configuration file.
Though, if I did set it, it does work. However, without that setting,
no matter how many times I restart different nodes, the node name
always comes up as "Aardwolf".
Each node does have a unique id.
So, here are my questions:
why is this happening? I don't see this behavior with another
elasticsearch cluster that I have set up
Updating to 7u3 does appear to have fixed the issue.
thanks
On Mon, Feb 27, 2012 at 5:46 PM, Igor Motov imotov@gmail.com wrote:
My guess would be that you are running Java 7u1 on this new cluster and
hitting known bug in ThreadLocalRandom class http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6955840. This bug is
fixed in 7u2, so you can ether upgrade java to 7u2 or 7u3 or downgrade it
to 1.6. Since ThreadLocalRandom is used in several other places in
elasticsearch, this bug might be causing other issues, but I don't know for
sure.
I just set up a 3 node elasticsearch cluster with version 0.18.7. For
some reason, all the nodes are coming up with the node name of
"Aardwolf".
All nodes are able to find each other. All nodes are using the same
cluster.name
Currently, there is nothing indexed in the cluster.
Currently, I don't have node.name set in the configuration file.
Though, if I did set it, it does work. However, without that setting,
no matter how many times I restart different nodes, the node name
always comes up as "Aardwolf".
Each node does have a unique id.
So, here are my questions:
why is this happening? I don't see this behavior with another
elasticsearch cluster that I have set up
My guess would be that you are running Java 7u1 on this new cluster and hitting known bug in ThreadLocalRandom class http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6955840. This bug is fixed in 7u2, so you can ether upgrade java to 7u2 or 7u3 or downgrade it to 1.6. Since ThreadLocalRandom is used in several other places in elasticsearch, this bug might be causing other issues, but I don't know for sure.
I just set up a 3 node elasticsearch cluster with version 0.18.7. For
some reason, all the nodes are coming up with the node name of
"Aardwolf".
All nodes are able to find each other. All nodes are using the same
cluster.name (http://cluster.name)
Currently, there is nothing indexed in the cluster.
Currently, I don't have node.name (http://node.name) set in the configuration file.
Though, if I did set it, it does work. However, without that setting,
no matter how many times I restart different nodes, the node name
always comes up as "Aardwolf".
Each node does have a unique id.
So, here are my questions:
why is this happening? I don't see this behavior with another
elasticsearch cluster that I have set up
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.