I am trying to setup a Elasticsearch instance in AWS. I am using Ubuntu
13.04, Elasticsearch 0.90.2, and cloud-aws 1.12.0.
My config:
cluster.name: SometaroLoggin
path.conf: /opt/elasticsearch/config
path.data: /media/data/elasticsearch/data
path.work: /media/data/elasticsearch/work
path.logs: /media/logs/elasticsearch/logs
path.plugins: /opt/elasticsearch/plugins
bootstrap.mlockall: true
discovery.type: ec2
cloud.aws.access_key: -----
cloud.aws.secret_key: -----
cloud.aws.region: ap-northeast
My console output:
[2013-06-27 15:33:30,516][INFO ][node ] [Tamara Rahn]
{0.90.2}[5369]: initializing ...
[2013-06-27 15:33:30,536][INFO ][plugins ] [Tamara Rahn]
loaded [cloud-aws], sites []
[2013-06-27 15:33:33,801][INFO ][node ] [Tamara Rahn]
{0.90.2}[5369]: initialized
[2013-06-27 15:33:33,802][INFO ][node ] [Tamara Rahn]
{0.90.2}[5369]: starting ...
[2013-06-27 15:33:33,966][INFO ][transport ] [Tamara Rahn]
bound_address {inet[/0:0:0:0:0:0:0:0:9300]}, publish_address
{inet[/10.120.61.89:9300]}
[2013-06-27 15:33:38,082][WARN ][transport.netty ] [Tamara Rahn]
exception caught on transport layer [[id: 0x1490ef6d]], closing connection
java.net.NoRouteToHostException: No route to host
at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
at
sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:692)
at
org.elasticsearch.common.netty.channel.socket.nio.NioClientBoss.connect(NioClientBoss.java:150)
at
org.elasticsearch.common.netty.channel.socket.nio.NioClientBoss.processSelectedKeys(NioClientBoss.java:105)
at
org.elasticsearch.common.netty.channel.socket.nio.NioClientBoss.process(NioClientBoss.java:79)
at
org.elasticsearch.common.netty.channel.socket.nio.AbstractNioSelector.run(AbstractNioSelector.java:312)
at
org.elasticsearch.common.netty.channel.socket.nio.NioClientBoss.run(NioClientBoss.java:42)
at
org.elasticsearch.common.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:108)
at
org.elasticsearch.common.netty.util.internal.DeadLockProofWorker$1.run(DeadLockProofWorker.java:42)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:722)
[2013-06-27 15:34:03,973][WARN ][discovery ] [Tamara Rahn]
waited for 30s and no initial state was set by the discovery
[2013-06-27 15:34:03,973][INFO ][discovery ] [Tamara Rahn]
SometaroLoggin/zrT7vF4fQRCJwPWdMNXGlg
[2013-06-27 15:34:03,980][INFO ][http ] [Tamara Rahn]
bound_address {inet[/0:0:0:0:0:0:0:0:9200]}, publish_address
{inet[/10.120.61.89:9200]}
[2013-06-27 15:34:03,981][INFO ][node ] [Tamara Rahn]
{0.90.2}[5369]: started
[2013-06-27 15:34:08,189][INFO ][cluster.service ] [Tamara Rahn]
new_master [Tamara Rahn][zrT7vF4fQRCJwPWdMNXGlg][inet[/10.120.61.89:9300]],
reason: zen-disco-join (elected_as_master)
[2013-06-27 15:34:08,273][INFO ][gateway ] [Tamara Rahn]
recovered [0] indices into cluster_state
^C[2013-06-27 15:36:38,628][INFO ][node ] [Tamara Rahn]
{0.90.2}[5369]: stopping ...
[2013-06-27 15:36:38,650][INFO ][node ] [Tamara Rahn]
{0.90.2}[5369]: stopped
[2013-06-27 15:36:38,650][INFO ][node ] [Tamara Rahn]
{0.90.2}[5369]: closing ...
[2013-06-27 15:36:38,680][INFO ][node ] [Tamara Rahn]
{0.90.2}[5369]: closed
My command:
sudo bin/elasticsearch -f
I was following the guidehttp://www.elasticsearch.org/tutorials/elasticsearch-on-ec2/ on
how to setup an EC2 ES making modifications as necessary to meet my
different needs. In addition to the stack trace, the discovery.ec2 message
never happened. Any ideas?
--
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.
For more options, visit https://groups.google.com/groups/opt_out.