# Elastic Indexer in nutch2.2

**URL:** <https://discuss.elastic.co/t/elastic-indexer-in-nutch2-2/159654>\
**Category:** Elasticsearch\
**Created:** [December 6, 2018, 5:16am UTC](https://discuss.elastic.co/t/elastic-indexer-in-nutch2-2/159654 "2018-12-06T05:16:14Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Subasini](https://avatars.discourse-cdn.com/v4/letter/s/cdc98d/32.png) [@Subasini](https://discuss.elastic.co/u/Subasini)\
**Post date:** [December 6, 2018, 5:16am UTC](https://discuss.elastic.co/t/elastic-indexer-in-nutch2-2/159654/1 "2018-12-06T05:16:14Z")

</div>

Hi all,  
I am new to elasticsearch. I am using nutch2.2 as web crawler and elasticsearch 6.1.1.  
When I am trying to do the indexing, it is not working.

I am executing the command - bin/nutch elasticindex elasticsearch -all  
where elasticsearch - default clusture name  
I am getting below exception :

Exception in thread "main" java.lang.RuntimeException: job failed: name=elastic-index [elasticsearch], jobid=null  
at org.apache.nutch.util.NutchJob.waitForCompletion(NutchJob.java:55)  
at org.apache.nutch.indexer.elastic.ElasticIndexerJob.run(ElasticIndexerJob.java:52)  
at org.apache.nutch.indexer.elastic.ElasticIndexerJob.indexElastic(ElasticIndexerJob.java:60)  
at org.apache.nutch.indexer.elastic.ElasticIndexerJob.run(ElasticIndexer  
Job.java:73)  
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)  
at org.apache.nutch.indexer.elastic.ElasticIndexerJob.main(ElasticIndexe  
rJob.java:78)

Do I need to create any index on elasticsearch?  
Can anybody help me on this ? No idea if I need to do some configurational changes or anything else.

---

<div class="post-metadata">

**Author:** ![Subasini](https://avatars.discourse-cdn.com/v4/letter/s/cdc98d/32.png) [@Subasini](https://discuss.elastic.co/u/Subasini)\
**Post date:** [December 17, 2018, 5:32am UTC](https://discuss.elastic.co/t/elastic-indexer-in-nutch2-2/159654/2 "2018-12-17T05:32:46Z")

</div>

I am also facing the same issue.  
Can anybody help.

---

<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:** [January 14, 2019, 5:33am UTC](https://discuss.elastic.co/t/elastic-indexer-in-nutch2-2/159654/3 "2019-01-14T05:33:05Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
