Waited for 30s and no initial state was set by the discovery

I know other people have posted this, but I've tried everything that the
other threads have said to try. We keep getting this at startup of our
java node client:

INFO [2015-02-19 17:57:45,206] org.elasticsearch.node: [localhost]
version[1.4.2], pid[11103], build[927caff/2014-12-16T14:11:12Z]
INFO [2015-02-19 17:57:45,207] org.elasticsearch.node: [localhost]
initializing ...
INFO [2015-02-19 17:57:45,217] org.elasticsearch.plugins: [localhost]
loaded [cloud-aws], sites []
INFO [2015-02-19 17:57:47,625] org.elasticsearch.node: [localhost]
initialized
INFO [2015-02-19 17:57:47,625] org.elasticsearch.node: [localhost]
starting ...
INFO [2015-02-19 17:57:47,716] org.elasticsearch.transport: [localhost]
bound_address {inet[/0:0:0:0:0:0:0:0:9300]}, publish_address
{inet[/10.99.157.0:9300]}
INFO [2015-02-19 17:57:49,747] org.elasticsearch.discovery: [localhost]
elasticsearch-dev/EqKAxZm9SCutQGd-0_SonA
WARN [2015-02-19 17:58:19,749] org.elasticsearch.discovery: [localhost]
waited for 30s and no initial state was set by the discovery
INFO [2015-02-19 17:58:19,761] org.elasticsearch.http: [localhost]
bound_address {inet[/0:0:0:0:0:0:0:0:9200]}, publish_address
{inet[/10.99.157.0:9200]}
INFO [2015-02-19 17:58:19,761] org.elasticsearch.node: [localhost] started

This is the elasticsearch.yml on our master (and only data node right now):

plugin.mandatory: cloud-aws
cloud:
aws:
region: us-west-2
access_key: <ACCESS_KEY>
secret_key: <SECRET_KEY>

discovery:
type: ec2
ec2:
groups: DevAll

And this is our java node client:

Settings settings = ImmutableSettings.settingsBuilder()
.put("node.name", nodeName)
.put("cloud.aws.access_key", awsAccessKey)
.put("cloud.aws.secret_key", awsSecretKey)
.put("cloud.node.auto_attributes", true)
.put("discovery.type", "ec2")
.build();
this.node = nodeBuilder()
.clusterName(clusterName)
.settings(settings)
.client(true)
.node();
this.client = node.client();

Any help would be greatly appreciated!!!

--
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 elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/15f03a06-58a8-4ef3-9a73-93fc779dd6e1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Additional information - we can telnet into or ES server from our
application server on 9300.

On Thursday, February 19, 2015 at 10:04:51 AM UTC-8, Diana Tuck wrote:

I know other people have posted this, but I've tried everything that the
other threads have said to try. We keep getting this at startup of our
java node client:

INFO [2015-02-19 17:57:45,206] org.elasticsearch.node: [localhost]
version[1.4.2], pid[11103], build[927caff/2014-12-16T14:11:12Z]
INFO [2015-02-19 17:57:45,207] org.elasticsearch.node: [localhost]
initializing ...
INFO [2015-02-19 17:57:45,217] org.elasticsearch.plugins: [localhost]
loaded [cloud-aws], sites []
INFO [2015-02-19 17:57:47,625] org.elasticsearch.node: [localhost]
initialized
INFO [2015-02-19 17:57:47,625] org.elasticsearch.node: [localhost]
starting ...
INFO [2015-02-19 17:57:47,716] org.elasticsearch.transport: [localhost]
bound_address {inet[/0:0:0:0:0:0:0:0:9300]}, publish_address {inet[/
10.99.157.0:9300]}
INFO [2015-02-19 17:57:49,747] org.elasticsearch.discovery: [localhost]
elasticsearch-dev/EqKAxZm9SCutQGd-0_SonA
WARN [2015-02-19 17:58:19,749] org.elasticsearch.discovery: [localhost]
waited for 30s and no initial state was set by the discovery
INFO [2015-02-19 17:58:19,761] org.elasticsearch.http: [localhost]
bound_address {inet[/0:0:0:0:0:0:0:0:9200]}, publish_address {inet[/
10.99.157.0:9200]}
INFO [2015-02-19 17:58:19,761] org.elasticsearch.node: [localhost] started

This is the elasticsearch.yml on our master (and only data node right now):

plugin.mandatory: cloud-aws
cloud:
aws:
region: us-west-2
access_key: <ACCESS_KEY>
secret_key: <SECRET_KEY>

discovery:
type: ec2
ec2:
groups: DevAll

And this is our java node client:

Settings settings = ImmutableSettings.settingsBuilder()
.put("node.name", nodeName)
.put("cloud.aws.access_key", awsAccessKey)
.put("cloud.aws.secret_key", awsSecretKey)
.put("cloud.node.auto_attributes", true)
.put("discovery.type", "ec2")
.build();
this.node = nodeBuilder()
.clusterName(clusterName)
.settings(settings)
.client(true)
.node();
this.client = node.client();

Any help would be greatly appreciated!!!

--
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 elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/f57f1be2-cda0-42c2-9001-33fa29b1a111%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.