Ok, we are seeing this error in the log, any clues?

Error injecting constructor, java.lang.IllegalStateException: This is a 
proxy used to support circular references involving constructors. The 
object we're proxying is not constructed yet. Please wait until after 
injection has completed to use this object.
  at org.elasticsearch.cache.NodeCache.<init>(Unknown Source)
  while locating org.elasticsearch.cache.NodeCache
Caused by: java.lang.IllegalStateException: This is a proxy used to support 
circular references involving constructors.


On Thursday, March 20, 2014 3:18:11 PM UTC-4, IronMan2014 wrote:
>
> I can't seem to make my EC2 cluster of 2 nodes/instances work.
>
> - If I comment out the section below, I can connect to each instance 
> individually and query it, I am using Sense plugin to query Elastic Search 
> Instance.
>
> - With the sections included as below, I cannot query neither node, I get 
> "Request failed to get to the server (status code: 0):"
>
>
> //////////////////////// In /instance 1/ elasticsearch.yml////////////////
> cluster.name: mycluster
> node.name: "node_1"
>
> cloud:
>
>    aws:
>
>        access_key: <MY ACCESSKEY>
>
>        secret_key: <My SecretKEY>
>
> discovery:
>
>    type: ec2
>
> //////////////////////// In /instance 2/ elasticsearch.yml////////////////
> cluster.name: mycluster
> node.name: "node_2"
>
> cloud:
>
>   aws:
>
>       access_key: <MY ACCESSKEY>
>
>       secret_key: <My SecretKEY>
>
> discovery:
>
>   type: ec2
>
>
> I also tried with:
>
> discovery.zen.ping.multicast.enabled: false
>
> discovery.zen.ping.unicast.hosts: ["Instance_1 IP:9300", "instance_2 
> IP:9300"]
>
>
> Here is "mycluster.log" from both instances:
>
> $ more /var/log/elasticsearch/mycluster.log 
>
> [2014-03-20 19:00:37,635][INFO ][node                     ] [node_1]version
> [0.90.10], pid[3520], build[0a5781f/2014-01-10T10:18:37Z]
>
> [2014-03-20 19:00:37,635][INFO ][node                     ] 
> [node_1]initializing 
> ...
>
> [2014-03-20 19:00:37,698][INFO ][plugins                  ] [node_1]loaded 
> [mapper-attachments, cloud-aws], sites []
>
> [2014-03-20 19:01:17,898][INFO ][node                     ] [node_1]version
> [0.90.10], pid[3594], build[0a5781f/2014-01-10T10:18:37Z]
>
> [2014-03-20 19:01:17,898][INFO ][node                     ] 
> [node_1]initializing 
> ...
>
> [2014-03-20 19:01:17,961][INFO ][plugins                  ] [node_1]loaded 
> [mapper-attachments, cloud-aws], sites []
>
> [2014-03-20 19:03:50,048][INFO ][node                     ] [node_1]version
> [0.90.10], pid[3671], build[0a5781f/2014-01-10T10:18:37Z]
>
> [2014-03-20 19:03:50,048][INFO ][node                     ] 
> [node_1]initializing 
> ...
>
> [2014-03-20 19:03:50,111][INFO ][plugins                  ] [node_1]loaded 
> [mapper-attachments, cloud-aws], sites []
>
>
> $more /var/log/elasticsearch/mycluster.log 
>
> [2014-03-20 19:00:29,465][INFO ][node                     ] [node_2]version
> [0.90.10], pid[2800], build[0a5781f/2014-01-10T10:18:37Z]
>
> [2014-03-20 19:00:29,466][INFO ][node                     ] 
> [node_2]initializing 
> ...
>
> [2014-03-20 19:00:29,528][INFO ][plugins                  ] [node_2]loaded 
> [mapper-attachments, cloud-aws], sites []
>
> [2014-03-20 19:01:26,645][INFO ][node                     ] [node_2]version
> [0.90.10], pid[2874], build[0a5781f/2014-01-10T10:18:37Z]
>
> [2014-03-20 19:01:26,646][INFO ][node                     ] 
> [node_2]initializing 
> ...
>
> [2014-03-<s
> ...

-- 
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/0ed56a05-1538-4a4d-91d7-8a9880ef7508%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to