I just followed the guide to create elasticsearch on ubuntu. It works fine when I access it
through http://localhost:9200. But when I try to connect to it through the java client,
at port 9300, it throws an error at me.
12/06/21 10:23:31 WARN client.transport: [Stryfe] failed to get node info for [#transport#-1][inet[/localhost:9300]]
org.elasticsearch.transport.RemoteTransportException: [Tinkerer][inet[/127.0.0.1:9300]][]
Caused by: org.elasticsearch.transport.ActionNotFoundTransportException: No handler for action []
I think it is a problem of configuration. could someone give me a suggestion what might be missing?
I have the following in my /etc/elasticsearch/elasticsearch.yml file:
I just followed the guide to create elasticsearch on ubuntu. It works fine
when I access it
through http://localhost:9200. But when I try to connect to it through the
java client,
at port 9300, it throws an error at me.
12/06/21 10:23:31 WARN client.transport: [Stryfe] failed to get node info
for [#transport#-1][inet[/localhost:9300]]
org.elasticsearch.transport.RemoteTransportException:
[Tinkerer][inet[/127.0.0.1:9300]]
Caused by: org.elasticsearch.transport.ActionNotFoundTransportException: No
handler for action
I think it is a problem of configuration. could someone give me a suggestion
what might be missing?
I have the following in my /etc/elasticsearch/elasticsearch.yml file:
I just followed the guide to create elasticsearch on ubuntu. It works
fine
when I access it
through http://localhost:9200. But when I try to connect to it through
the
java client,
at port 9300, it throws an error at me.
12/06/21 10:23:31 WARN client.transport: [Stryfe] failed to get node info
for [#transport#-1][inet[/localhost:9300]]
org.elasticsearch.transport.RemoteTransportException:
[Tinkerer][inet[/127.0.0.1:9300]]
Caused by: org.elasticsearch.transport.ActionNotFoundTransportException:
No
handler for action
I think it is a problem of configuration. could someone give me a
suggestion
what might be missing?
I have the following in my /etc/elasticsearch/elasticsearch.yml file:
Thanks for the reply. here's how I initialized the client.
public Client newSearchClient() {
String host = "127.0.0.1";
int port = 9300;
InetSocketTransportAddress address = new InetSocketTransportAddress(host, port);
return new TransportClient().addTransportAddress( address );
}
The exception was thrown from "addTransportAddress". I'm using a version 0.18.5 client on a 0.19.4 server. could this be a problem?
Thank you.
Yuhan
On Thu, Jun 21, 2012 at 10:48 AM, David Pilato david@pilato.fr wrote:
What is your java code ?
I just followed the guide to create elasticsearch on ubuntu. It works fine
when I access it
through http://localhost:9200. But when I try to connect to it through the
java client,
at port 9300, it throws an error at me.
12/06/21 10:23:31 WARN client.transport: [Stryfe] failed to get node info
for [#transport#-1][inet[/localhost:9300]]
org.elasticsearch.transport.RemoteTransportException:
[Tinkerer][inet[/127.0.0.1:9300]]
Caused by: org.elasticsearch.transport.ActionNotFoundTransportException: No
handler for action
I think it is a problem of configuration. could someone give me a suggestion
what might be missing?
I have the following in my /etc/elasticsearch/elasticsearch.yml file:
I just followed the guide to create elasticsearch on ubuntu. It works
fine
when I access it
through http://localhost:9200. But when I try to connect to it through
the
java client,
at port 9300, it throws an error at me.
12/06/21 10:23:31 WARN client.transport: [Stryfe] failed to get node
info
for [#transport#-1][inet[/localhost:9300]]
org.elasticsearch.transport.RemoteTransportException:
[Tinkerer][inet[/127.0.0.1:9300]]
Caused by:
org.elasticsearch.transport.ActionNotFoundTransportException: No
handler for action
I think it is a problem of configuration. could someone give me a
suggestion
what might be missing?
I have the following in my /etc/elasticsearch/elasticsearch.yml file:
The information contained in this e-mail is for the exclusive use of the
intended recipient(s) and may be confidential, proprietary, and/or legally
privileged. Inadvertent disclosure of this message does not constitute a
waiver of any privilege. If you receive this message in error, please do
not directly or indirectly print, copy, retransmit, disseminate, or
otherwise use the information. In addition, please delete this e-mail and
all copies and notify the sender.
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.