Install elasticsearch-river-csv

Hi,

I try to use river csv on elasticsearch.
As I saw in older posts the command bin/plugin -install
xxBedy/elasticsearch-river-csv/1.0.1 does not work.

The advice on Github is: If it doesn't work, clone git repository and build
plugin manually.

I downloaded both elasticsearch-river-csv-1.0.0.zip
and elasticsearch-river-csv-1.0.0.tar.gz

I'm a newbie to Linux and ES.
Could somebody please explain in detail how to clone the repo and build the
plugin.

Thanks, Marcel

--
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 need maven and a JDK.
Once everything setup in your project dir, run mvn install

That said, I build it and shared it here: http://dl.bintray.com/dadoonet/public/elasticsearch-river-csv-1.0.1.zip

Unzip it /plugins/csv-river/ directory.

Then launch elasticsearch and check in logs that csv river is loaded.

HTH

--
David Pilato | Technical Advocate | Elasticsearch.com
@dadoonet | @elasticsearchfr | @scrutmydocs

Le 31 juil. 2013 à 21:05, Faillissements Dossier ronald@binqmedia.nl a écrit :

Hi,

I try to use river csv on elasticsearch.
As I saw in older posts the command bin/plugin -install xxBedy/elasticsearch-river-csv/1.0.1 does not work.

The advice on Github is: If it doesn't work, clone git repository and build plugin manually.

I downloaded both elasticsearch-river-csv-1.0.0.zip and elasticsearch-river-csv-1.0.0.tar.gz

I'm a newbie to Linux and ES.
Could somebody please explain in detail how to clone the repo and build the plugin.

Thanks, Marcel

--
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.

David,

Thanks very much. It helps. csv-river is loaded and running.

I now got an error: [csv][my_csv_river] can't rename file, but that should
be fixed by changing write access to the file.

How can I force csv-river to run instead of waiting on the poll interval.
And how can I temporally stop the river?

Thanks

Op woensdag 31 juli 2013 21:34:23 UTC+2 schreef David Pilato:

You need maven and a JDK.
Once everything setup in your project dir, run mvn install

That said, I build it and shared it here:
http://dl.bintray.com/dadoonet/public/elasticsearch-river-csv-1.0.1.zip

Unzip it /plugins/csv-river/ directory.

Then launch elasticsearch and check in logs that csv river is loaded.

HTH

--
David Pilato | Technical Advocate | Elasticsearch.com
@dadoonet https://twitter.com/dadoonet | @elasticsearchfrhttps://twitter.com/elasticsearchfr
| @scrutmydocs https://twitter.com/scrutmydocs

Le 31 juil. 2013 à 21:05, Faillissements Dossier <ron...@binqmedia.nl<javascript:>>
a écrit :

Hi,

I try to use river csv on elasticsearch.
As I saw in older posts the command bin/plugin -install
xxBedy/elasticsearch-river-csv/1.0.1 does not work.

The advice on Github is: If it doesn't work, clone git repository and
build plugin manually.

I downloaded both elasticsearch-river-csv-1.0.0.zip
and elasticsearch-river-csv-1.0.0.tar.gz

I'm a newbie to Linux and ES.
Could somebody please explain in detail how to clone the repo and build
the plugin.

Thanks, Marcel

--
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:>.
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.

I think you need to remove the river using curl -XDELETE http://localhost:9200/_river/yourrivername
Then create it again

--
David Pilato | Technical Advocate | Elasticsearch.com
@dadoonet | @elasticsearchfr | @scrutmydocs

Le 31 juil. 2013 à 22:22, Faillissements Dossier ronald@binqmedia.nl a écrit :

David,

Thanks very much. It helps. csv-river is loaded and running.

I now got an error: [csv][my_csv_river] can't rename file, but that should be fixed by changing write access to the file.

How can I force csv-river to run instead of waiting on the poll interval. And how can I temporally stop the river?

Thanks

Op woensdag 31 juli 2013 21:34:23 UTC+2 schreef David Pilato:
You need maven and a JDK.
Once everything setup in your project dir, run mvn install

That said, I build it and shared it here: http://dl.bintray.com/dadoonet/public/elasticsearch-river-csv-1.0.1.zip

Unzip it /plugins/csv-river/ directory.

Then launch elasticsearch and check in logs that csv river is loaded.

HTH

--
David Pilato | Technical Advocate | Elasticsearch.com
@dadoonet | @elasticsearchfr | @scrutmydocs

Le 31 juil. 2013 à 21:05, Faillissements Dossier ron...@binqmedia.nl a écrit :

Hi,

I try to use river csv on elasticsearch.
As I saw in older posts the command bin/plugin -install xxBedy/elasticsearch-river-csv/1.0.1 does not work.

The advice on Github is: If it doesn't work, clone git repository and build plugin manually.

I downloaded both elasticsearch-river-csv-1.0.0.zip and elasticsearch-river-csv-1.0.0.tar.gz

I'm a newbie to Linux and ES.
Could somebody please explain in detail how to clone the repo and build the plugin.

Thanks, Marcel

--
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.
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.

That works.

The csv is imported in the index, still got an error in the log

[2013-07-31 23:04:11,932][ERROR][river.csv ] 7
java.lang.ArrayIndexOutOfBoundsException: 7
at
org.elasticsearch.river.csv.CSVRiver$CSVConnector.processFile(CSVRiver.java:241)
at
org.elasticsearch.river.csv.CSVRiver$CSVConnector.run(CSVRiver.java:193)
at java.lang.Thread.run(Thread.java:679)

any ideas?

Op woensdag 31 juli 2013 22:24:08 UTC+2 schreef David Pilato:

I think you need to remove the river using curl -XDELETE
http://localhost:9200/_river/yourrivername
Then create it again

--
David Pilato | Technical Advocate | Elasticsearch.com
@dadoonet https://twitter.com/dadoonet | @elasticsearchfrhttps://twitter.com/elasticsearchfr
| @scrutmydocs https://twitter.com/scrutmydocs

Le 31 juil. 2013 à 22:22, Faillissements Dossier <ron...@binqmedia.nl<javascript:>>
a écrit :

David,

Thanks very much. It helps. csv-river is loaded and running.

I now got an error: [csv][my_csv_river] can't rename file, but that should
be fixed by changing write access to the file.

How can I force csv-river to run instead of waiting on the poll interval.
And how can I temporally stop the river?

Thanks

Op woensdag 31 juli 2013 21:34:23 UTC+2 schreef David Pilato:

You need maven and a JDK.
Once everything setup in your project dir, run mvn install

That said, I build it and shared it here:
http://dl.bintray.com/dadoonet/public/elasticsearch-river-csv-1.0.1.zip

Unzip it /plugins/csv-river/ directory.

Then launch elasticsearch and check in logs that csv river is loaded.

HTH

--
David Pilato | Technical Advocate | *Elasticsearch.comhttp://elasticsearch.com/
*
@dadoonet https://twitter.com/dadoonet | @elasticsearchfrhttps://twitter.com/elasticsearchfr
| @scrutmydocs https://twitter.com/scrutmydocs

Le 31 juil. 2013 à 21:05, Faillissements Dossier ron...@binqmedia.nl a
écrit :

Hi,

I try to use river csv on elasticsearch.
As I saw in older posts the command bin/plugin -install
xxBedy/elasticsearch-river-csv/1.0.1 does not work.

The advice on Github is: If it doesn't work, clone git repository and
build plugin manually.

I downloaded both elasticsearch-river-csv-1.0.0.zip
and elasticsearch-river-csv-1.0.0.tar.gz

I'm a newbie to Linux and ES.
Could somebody please explain in detail how to clone the repo and build
the plugin.

Thanks, Marcel

--
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.
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 elasticsearc...@googlegroups.com <javascript:>.
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.

No. :-/
I did not build this river myself.
You could open an issue in csv river Project. Or have a look at the souce code line 241. It could give you a clue.

--
David :wink:
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 31 juil. 2013 à 23:09, Faillissements Dossier ronald@binqmedia.nl a écrit :

That works.

The csv is imported in the index, still got an error in the log

[2013-07-31 23:04:11,932][ERROR][river.csv ] 7
java.lang.ArrayIndexOutOfBoundsException: 7
at org.elasticsearch.river.csv.CSVRiver$CSVConnector.processFile(CSVRiver.java:241)
at org.elasticsearch.river.csv.CSVRiver$CSVConnector.run(CSVRiver.java:193)
at java.lang.Thread.run(Thread.java:679)

any ideas?

Op woensdag 31 juli 2013 22:24:08 UTC+2 schreef David Pilato:

I think you need to remove the river using curl -XDELETE http://localhost:9200/_river/yourrivername
Then create it again

--
David Pilato | Technical Advocate | Elasticsearch.com
@dadoonet | @elasticsearchfr | @scrutmydocs

Le 31 juil. 2013 à 22:22, Faillissements Dossier ron...@binqmedia.nl a écrit :

David,

Thanks very much. It helps. csv-river is loaded and running.

I now got an error: [csv][my_csv_river] can't rename file, but that should be fixed by changing write access to the file.

How can I force csv-river to run instead of waiting on the poll interval. And how can I temporally stop the river?

Thanks

Op woensdag 31 juli 2013 21:34:23 UTC+2 schreef David Pilato:

You need maven and a JDK.
Once everything setup in your project dir, run mvn install

That said, I build it and shared it here: http://dl.bintray.com/dadoonet/public/elasticsearch-river-csv-1.0.1.zip

Unzip it /plugins/csv-river/ directory.

Then launch elasticsearch and check in logs that csv river is loaded.

HTH

--
David Pilato | Technical Advocate | Elasticsearch.com
@dadoonet | @elasticsearchfr | @scrutmydocs

Le 31 juil. 2013 à 21:05, Faillissements Dossier ron...@binqmedia.nl a écrit :

Hi,

I try to use river csv on elasticsearch.
As I saw in older posts the command bin/plugin -install xxBedy/elasticsearch-river-csv/1.0.1 does not work.

The advice on Github is: If it doesn't work, clone git repository and build plugin manually.

I downloaded both elasticsearch-river-csv-1.0.0.zip and elasticsearch-river-csv-1.0.0.tar.gz

I'm a newbie to Linux and ES.
Could somebody please explain in detail how to clone the repo and build the plugin.

Thanks, Marcel

--
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.
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 elasticsearc...@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.

--
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.