# Elasticsearch Indexing

**URL:** <https://discuss.elastic.co/t/elasticsearch-indexing/23126>\
**Category:** Elasticsearch\
**Created:** [April 7, 2015, 9:11am UTC](https://discuss.elastic.co/t/elasticsearch-indexing/23126 "2015-04-07T09:11:15Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![saikumar](https://avatars.discourse-cdn.com/v4/letter/s/eada6e/32.png) [@saikumar](https://discuss.elastic.co/u/saikumar)\
**Post date:** [April 7, 2015, 9:11am UTC](https://discuss.elastic.co/t/elasticsearch-indexing/23126/1 "2015-04-07T09:11:15Z")

</div>

I am trying to index the data from csv. For that I have copied plugin  
elasticsearch-river-csv-2.2.0 into plugins directory and I have restarted  
it with below command.  
./bin/elasticsearch &  
After copied the plugin, Its giving below error.

org.elasticsearch.common.inject.CreationException: Guice creation errors:

1. Error injecting constructor, java.lang.ExceptionInInitializerError  
at org.agileworks.elasticsearch.river.csv.CSVRiver.(Unknown Source)  
while locating org.agileworks.elasticsearch.river.csv.CSVRiver  
while locating org.elasticsearch.river.River

1 error

and not able to index file.  
XXXX:9200 is working fine.

Could Someone help me please.

--  
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](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/65eba074-6680-4378-9145-3b9a59a805c8%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/65eba074-6680-4378-9145-3b9a59a805c8%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [April 7, 2015, 10:23am UTC](https://discuss.elastic.co/t/elasticsearch-indexing/23126/2 "2015-04-07T10:23:18Z")

</div>

Rivers are being deprecated so it's best to shift away from them. Use  
Logstash instead, the file input with the CSV filter.

On 7 April 2015 at 19:11, Ravi sai kumar [saikumar.02@gmail.com](mailto:saikumar.02@gmail.com) wrote:

> I am trying to index the data from csv. For that I have copied plugin  
> elasticsearch-river-csv-2.2.0 into plugins directory and I have restarted  
> it with below command.  
> ./bin/elasticsearch &  
> After copied the plugin, Its giving below error.
> 
> org.elasticsearch.common.inject.CreationException: Guice creation errors:
> 
> 1. Error injecting constructor, java.lang.ExceptionInInitializerError  
> at org.agileworks.elasticsearch.river.csv.CSVRiver.(Unknown  
> Source)  
> while locating org.agileworks.elasticsearch.river.csv.CSVRiver  
> while locating org.elasticsearch.river.River
> 
> 1 error
> 
> and not able to index file.  
> XXXX:9200 is working fine.
> 
> Could Someone help me please.
> 
> --  
> 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](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> To view this discussion on the web visit  
> [https://groups.google.com/d/msgid/elasticsearch/65eba074-6680-4378-9145-3b9a59a805c8%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/65eba074-6680-4378-9145-3b9a59a805c8%40googlegroups.com)  
> [https://groups.google.com/d/msgid/elasticsearch/65eba074-6680-4378-9145-3b9a59a805c8%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/65eba074-6680-4378-9145-3b9a59a805c8%40googlegroups.com?utm_medium=email&utm_source=footer)  
> .  
> For more options, visit [https://groups.google.com/d/optout](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](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/CAEYi1X\_7-HUqZT0Ptxxjo6FEWPFHfcRnUWJc8F4\_jS1%3DXVtgLg%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAEYi1X_7-HUqZT0Ptxxjo6FEWPFHfcRnUWJc8F4_jS1%3DXVtgLg%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 12:21am UTC](https://discuss.elastic.co/t/elasticsearch-indexing/23126/3 "2017-07-06T00:21:13Z")

</div>


