Install cygwin or download curl binary from here http://curl.haxx.se/dlwiz/?type=bin&os=Win64&flav=MinGW64
BTW, git for windows also get curl for you http://superuser.com/questions/134685/run-curl-commands-from-windows-console/#483964 On Sun 21.21.14 23:50, Ashutosh Parab wrote: > Thanks Jason. But How can the curl command be used on Windows? I am > relatively new to these commands so any help is much appreciated. > > On Monday, 22 December 2014 12:36:42 UTC+5:30, Jason Zhang wrote: > > > > Here is the manual, then `curl -XPOST` to the _meta. > > > > https://github.com/jprante/elasticsearch-river-jdbc#overview-about-the-default-parameter-settings > > > > > > On Sun 21.21.14 22:59, Ashutosh Parab wrote: > > > How to do that? > > > > > > On Monday, 22 December 2014 12:25:20 UTC+5:30, Jason Zhang wrote: > > > > > > > > localhost:9200/_river/my_jdbc_river/_meta tells jdbc how to fetch data > > > > from mysql. > > > > > > > > You need to post configs in it first. > > > > > > > > On Sun 21.21.14 22:19, Ashutosh Parab wrote: > > > > > I am fairly new to ElasticSearch and what I want to achieve is to > > load a > > > > > database from MSSql server into ElasticSearch. After reading some > > > > material > > > > > online, I found out that I require JDBC River plugin to achieve it. > > I > > > > have > > > > > followed the below steps for installing it I am installing it on > > > > *Windows > > > > > Xp*.:- > > > > > > > > > > 1) Download and unzip ElasticSearch (version 1.0.1) > > > > > 2) Download the elasticsearch-jdbc-river.zip plugin from github. > > (link > > > > > <https://github.com/jprante/elasticsearch-river-jdbc>) > > > > > 3) Download the Microsoft JDBC driver and paste sqljdbc4.jar into > > lib > > > > > folder of ElasticSearch directory. > > > > > 4) Run elasticsearch.bat > > > > > 5) Go to url : http://localhost:9200/_river/my_jdbc_river/_meta to > > > > check > > > > > the river > > > > > > > > > > There i got the following error: > > > > > > > > > > {"error":"IndexMissingException[[_river] missing]","status":404} > > > > > > > > > > > > > > > So my question is am I missing something ? > > > > > > > > > > > > > > > Following is my elasticsearch log contents:- > > > > > > > > > > > > > > > [2014-12-22 11:37:28,376][INFO ][node ] [LDN] > > > > version[1.0.1], pid[2216], build[5c03844/2014-02-25T15:52:53Z] > > > > > [2014-12-22 11:37:28,376][INFO ][node ] [LDN] > > > > initializing ... > > > > > [2014-12-22 11:37:28,392][INFO ][plugins ] [LDN] > > loaded > > > > [], sites [] > > > > > [2014-12-22 11:37:32,970][INFO ][node ] [LDN] > > > > initialized > > > > > [2014-12-22 11:37:32,970][INFO ][node ] [LDN] > > > > starting ... > > > > > [2014-12-22 11:37:33,329][INFO ][transport ] [LDN] > > > > bound_address {inet[/0.0.0.0:9300]}, publish_address {inet[/ > > > > 10.90.66.186:9300]} > > > > > [2014-12-22 11:37:36,564][INFO ][cluster.service ] [LDN] > > > > new_master > > [LDN][acTCcSLyTV-GAAV1EIC5xg][ldn][inet[/10.90.66.186:9300]], > > > > reason: zen-disco-join (elected_as_master) > > > > > [2014-12-22 11:37:36,626][INFO ][discovery ] [LDN] > > > > indiana/acTCcSLyTV-GAAV1EIC5xg > > > > > [2014-12-22 11:37:36,767][INFO ][http ] [LDN] > > > > bound_address {inet[/0.0.0.0:9200]}, publish_address {inet[/ > > > > 10.90.66.186:9200]} > > > > > [2014-12-22 11:37:37,830][INFO ][gateway ] [LDN] > > > > recovered [2] indices into cluster_state > > > > > [2014-12-22 11:37:37,830][INFO ][node ] [LDN] > > > > started > > > > > > > > > > > > > > > Please help . > > > > > > > > > > > > > > > > > > > > -- > > > > > 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] <javascript:>. > > > > > To view this discussion on the web visit > > > > > > https://groups.google.com/d/msgid/elasticsearch/f77f7a73-e6c0-4b48-872f-9911bb73c0f9%40googlegroups.com. > > > > > > > > > > > > > For more options, visit https://groups.google.com/d/optout. > > > > > > > > > > > > -- > > > > > > > > > > -- > > > 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] <javascript:>. > > > To view this discussion on the web visit > > https://groups.google.com/d/msgid/elasticsearch/61a8668f-96b5-40f3-80aa-9fca100fd1c7%40googlegroups.com. > > > > > > > For more options, visit https://groups.google.com/d/optout. > > > > > > -- > > > > -- > 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/ff9501a2-f32c-4bcd-9e19-345425415ccf%40googlegroups.com. > For more options, visit https://groups.google.com/d/optout. -- -- 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/20141222080204.GA9658%40Lain.routerbf573c.com. For more options, visit https://groups.google.com/d/optout.
