I did -
curl -XPUT '
http://d7b2aae806c0306dcbc4d9fa615ec48a-us-east-1.foundcluster.com:9200/_river/my_river/_meta'
-d '{
"type" : "couchdb",
"couchdb" : {
"host" : "http://gnd.iriscouch.com",
"port" : 5984,
"db" : "tracks",
"filter" : null,
"ignore_attachments" : true,
"view" : "tracks/_view/metadata"
},
"index" : {
"index" : "data",
"type" : "dataset",
"bulk_size" : "100",
"bulk_timeout" : "10ms"
}
}'
On Tue, Jul 16, 2013 at 9:18 AM, David Pilato david@pilato.fr wrote:
You probably did not define properly host/port:
curl -XPUT 'localhost:9200/_river/my_db/_meta' -d '{
"type" : "couchdb",
"couchdb" : {
"host" : "localhost",
"port" : 5984,
"db" : "my_db",
"filter" : null
},
"index" : {
"index" : "my_db",
"type" : "my_db",
"bulk_size" : "100",
"bulk_timeout" : "10ms"
}
}'
--
David
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
Le 16 juil. 2013 à 04:44, Akash Gupta akash.bits@gmail.com a écrit :
Guys, I am getting this in my startup logs -
[couchdb][my_river] failed to read from _changes, throttling....
java.lang.IllegalArgumentException: URI can't be null. at
sun.net.spi.DefaultProxySelector.select(DefaultProxySelector.java:141) at
sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:925)
at
sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:849)
at
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1299)
at
org.elasticsearch.river.couchdb.CouchdbRiver$Slurper.run(CouchdbRiver.java:468)
at java.lang.Thread.run(Thread.java:722)
Any idea which URI is this error talking about?
--
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.
--
You received this message because you are subscribed to a topic in the
Google Groups "elasticsearch" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/elasticsearch/6D-yrasNuuw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
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.