Manually starting rivers?

Maybe I'm overlooking it in the documentation, but when I create a river
(jdbc/mysql in my case), the data import runs just fine. They seem to only
run one at a time. However, without deleting and re-creating, how can I
manually start a river that is already defined? In this case, I have a
largely static data set. I don't need a scheduled job. Just need to kick
off an import when I import new data. Ideally, I'd like to be able to
restart the import job through something like
http://host:9200/_river/my_river/_restart.

Does something like this exist?

Thanks!

--
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/832a42a3-d09f-4079-b3b1-94c7f4bc408f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

It depends on the river implementation.

This is something I added in FSriver: https://github.com/dadoonet/fsriver#suspend-or-restart-a-file-river

Not sure if Jörg implemented something similar in JDBC river.

--
David Pilato | Technical Advocate | elasticsearch.com
david.pilato@elasticsearch.com
@dadoonet | @elasticsearchfr | @scrutmydocs

Le 3 octobre 2014 à 16:18:50, sampson (brad@schulzfamily.org) a écrit:

Maybe I'm overlooking it in the documentation, but when I create a river (jdbc/mysql in my case), the data import runs just fine. They seem to only run one at a time. However, without deleting and re-creating, how can I manually start a river that is already defined? In this case, I have a largely static data set. I don't need a scheduled job. Just need to kick off an import when I import new data. Ideally, I'd like to be able to restart the import job through something like http://host:9200/_river/my_river/_restart.

Does something like this exist?

Thanks!

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/832a42a3-d09f-4079-b3b1-94c7f4bc408f%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 elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/etPan.542eb0fe.6b68079a.3d55%40MacBook-Air-de-David.local.
For more options, visit https://groups.google.com/d/optout.

Thanks, David! For this application I am using the JDBC river...hopefully
there is a restart there that I'm just missing.

Your library looks really good!

On Friday, October 3, 2014 10:22:15 AM UTC-4, David Pilato wrote:

It depends on the river implementation.

This is something I added in FSriver:
https://github.com/dadoonet/fsriver#suspend-or-restart-a-file-river

https://github.com/dadoonet/fsriver#suspend-or-restart-a-file-river
N https://github.com/dadoonet/fsriver#suspend-or-restart-a-file-riverot
sure if Jörg implemented something similar in JDBC river.

--
David Pilato | Technical Advocate | elasticsearch.com
http://elasticsearch.com

david....@elasticsearch.com <javascript:>
@dadoonet https://twitter.com/dadoonet | @elasticsearchfr
https://twitter.com/elasticsearchfr | @scrutmydocs
http://twitter.com/scrutmydocs
https://twitter.com/scrutmydocs

Le 3 octobre 2014 à 16:18:50, sampson (br...@schulzfamily.org
<javascript:>) a écrit:

Maybe I'm overlooking it in the documentation, but when I create a river
(jdbc/mysql in my case), the data import runs just fine. They seem to only
run one at a time. However, without deleting and re-creating, how can I
manually start a river that is already defined? In this case, I have a
largely static data set. I don't need a scheduled job. Just need to kick
off an import when I import new data. Ideally, I'd like to be able to
restart the import job through something like
http://host:9200/_river/my_river/_restart.

Does something like this exist?

Thanks!

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 elasticsearc...@googlegroups.com <javascript:>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/832a42a3-d09f-4079-b3b1-94c7f4bc408f%40googlegroups.com
https://groups.google.com/d/msgid/elasticsearch/832a42a3-d09f-4079-b3b1-94c7f4bc408f%40googlegroups.com?utm_medium=email&utm_source=footer
.
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 elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/cab4d7a7-5783-4147-8cb4-0e827c7f6192%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

At the moment, there is no suspend/resume in JDBC river, but I will add
this feature to the next version, which ETA is this month October.

Jörg

On Fri, Oct 3, 2014 at 4:24 PM, sampson brad@schulzfamily.org wrote:

Thanks, David! For this application I am using the JDBC river...hopefully
there is a restart there that I'm just missing.

Your library looks really good!

On Friday, October 3, 2014 10:22:15 AM UTC-4, David Pilato wrote:

It depends on the river implementation.

This is something I added in FSriver: https://github.com/
dadoonet/fsriver#suspend-or-restart-a-file-river

https://github.com/dadoonet/fsriver#suspend-or-restart-a-file-river
N https://github.com/dadoonet/fsriver#suspend-or-restart-a-file-riverot
sure if Jörg implemented something similar in JDBC river.

--
David Pilato | Technical Advocate | elasticsearch.com
http://elasticsearch.com

david....@elasticsearch.com
@dadoonet https://twitter.com/dadoonet | @elasticsearchfr
https://twitter.com/elasticsearchfr | @scrutmydocs
http://twitter.com/scrutmydocs
https://twitter.com/scrutmydocs

Le 3 octobre 2014 à 16:18:50, sampson (br...@schulzfamily.org) a écrit:

Maybe I'm overlooking it in the documentation, but when I create a river
(jdbc/mysql in my case), the data import runs just fine. They seem to only
run one at a time. However, without deleting and re-creating, how can I
manually start a river that is already defined? In this case, I have a
largely static data set. I don't need a scheduled job. Just need to kick
off an import when I import new data. Ideally, I'd like to be able to
restart the import job through something like http://host:9200/river/my
river/_restart.

Does something like this exist?

Thanks!

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 elasticsearc...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/
msgid/elasticsearch/832a42a3-d09f-4079-b3b1-94c7f4bc408f%
40googlegroups.com
https://groups.google.com/d/msgid/elasticsearch/832a42a3-d09f-4079-b3b1-94c7f4bc408f%40googlegroups.com?utm_medium=email&utm_source=footer
.
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 elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/cab4d7a7-5783-4147-8cb4-0e827c7f6192%40googlegroups.com
https://groups.google.com/d/msgid/elasticsearch/cab4d7a7-5783-4147-8cb4-0e827c7f6192%40googlegroups.com?utm_medium=email&utm_source=footer
.

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 elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAKdsXoFeX2N_%2BGv%3D6HQj2sBsiP%2BWoGcdMKbXpQ7g0PNj8Qcd1w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Thanks for the quick reply, Jörg! And thank you for your work on this
project!

On Friday, October 3, 2014 10:57:56 AM UTC-4, Jörg Prante wrote:

At the moment, there is no suspend/resume in JDBC river, but I will add
this feature to the next version, which ETA is this month October.

https://github.com/jprante/elasticsearch-river-jdbc/issues/347

Jörg

On Fri, Oct 3, 2014 at 4:24 PM, sampson <br...@schulzfamily.org
<javascript:>> wrote:

Thanks, David! For this application I am using the JDBC
river...hopefully there is a restart there that I'm just missing.

Your library looks really good!

On Friday, October 3, 2014 10:22:15 AM UTC-4, David Pilato wrote:

It depends on the river implementation.

This is something I added in FSriver: https://github.com/
dadoonet/fsriver#suspend-or-restart-a-file-river

https://github.com/dadoonet/fsriver#suspend-or-restart-a-file-river
N https://github.com/dadoonet/fsriver#suspend-or-restart-a-file-riverot
sure if Jörg implemented something similar in JDBC river.

--
David Pilato | Technical Advocate | elasticsearch.com
http://elasticsearch.com

david....@elasticsearch.com
@dadoonet https://twitter.com/dadoonet | @elasticsearchfr
https://twitter.com/elasticsearchfr | @scrutmydocs
http://twitter.com/scrutmydocs
https://twitter.com/scrutmydocs

Le 3 octobre 2014 à 16:18:50, sampson (br...@schulzfamily.org) a écrit:

Maybe I'm overlooking it in the documentation, but when I create a river
(jdbc/mysql in my case), the data import runs just fine. They seem to only
run one at a time. However, without deleting and re-creating, how can I
manually start a river that is already defined? In this case, I have a
largely static data set. I don't need a scheduled job. Just need to kick
off an import when I import new data. Ideally, I'd like to be able to
restart the import job through something like
http://host:9200/_river/my_river/_restart.

Does something like this exist?

Thanks!

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 elasticsearc...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/
msgid/elasticsearch/832a42a3-d09f-4079-b3b1-94c7f4bc408f%
40googlegroups.com
https://groups.google.com/d/msgid/elasticsearch/832a42a3-d09f-4079-b3b1-94c7f4bc408f%40googlegroups.com?utm_medium=email&utm_source=footer
.
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 elasticsearc...@googlegroups.com <javascript:>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/cab4d7a7-5783-4147-8cb4-0e827c7f6192%40googlegroups.com
https://groups.google.com/d/msgid/elasticsearch/cab4d7a7-5783-4147-8cb4-0e827c7f6192%40googlegroups.com?utm_medium=email&utm_source=footer
.

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 elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/843da4e7-e1ef-43cd-9a50-71b3f7769d9d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.