# UnavailableShardsException Error

**URL:** <https://discuss.elastic.co/t/unavailableshardsexception-error/14945>\
**Category:** Elasticsearch\
**Created:** [December 19, 2013, 9:24am UTC](https://discuss.elastic.co/t/unavailableshardsexception-error/14945 "2013-12-19T09:24:50Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sigehere](https://avatars.discourse-cdn.com/v4/letter/s/13edae/32.png) [@Sigehere](https://discuss.elastic.co/u/Sigehere)\
**Post date:** [December 19, 2013, 9:24am UTC](https://discuss.elastic.co/t/unavailableshardsexception-error/14945/1 "2013-12-19T09:24:50Z")

</div>

Hi Friends,

I am trying to use wikipedia river. But i got following error  
Please can any one tell me what is the problem?

{"error":"UnavailableShardsException[[\_river][0] [2] shardIt, [0] active :  
Timeout waiting for [1m], request: index {[\_river][wikipedia][\_meta],  
source[\n{\n "type" : "wikipedia",\n "wikipedia" : {\n  
"url" : "file:///btrfs/wiki/enwiki-20131202-pages-articles.xml"\n  
}\n}\n]}]","status":503}

How can i use wikipedia river?  
I have already downloaded wiki dump.

Thank You!!!

--  
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/f900ed1a-12b9-41be-be2a-e2ae27fc9e98%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/f900ed1a-12b9-41be-be2a-e2ae27fc9e98%40googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![spinscale](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spinscale/32/25011_2.png) [@spinscale](https://discuss.elastic.co/u/spinscale)\
**Post date:** [December 19, 2013, 3:05pm UTC](https://discuss.elastic.co/t/unavailableshardsexception-error/14945/2 "2013-12-19T15:05:55Z")

</div>

Hey,

what version of elasticsearch are you using? What version of the plugin?  
How many nodes do you run in that cluster?

Can you show a complete recreation of the problem? (inluding installation  
of the plugin, how you start elasticsearch, how you create the river  
configuration). See [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/help)

Somehow your \_river index seems to have more than one shard, wondering why..

--Alex

On Thu, Dec 19, 2013 at 10:24 AM, Sigehere [webmaster.swapnil@gmail.com](mailto:webmaster.swapnil@gmail.com)wrote:

> Hi Friends,
> 
> I am trying to use wikipedia river. But i got following error  
> Please can any one tell me what is the problem?
> 
> {"error":"UnavailableShardsException[[\_river][0] [2] shardIt, [0] active :  
> Timeout waiting for [1m], request: index {[\_river][wikipedia][\_meta],  
> source[\n{\n "type" : "wikipedia",\n "wikipedia" : {\n  
> "url" : "file:///btrfs/wiki/enwiki-20131202-pages-articles.xml"\n  
> }\n}\n]}]","status":503}
> 
> How can i use wikipedia river?  
> I have already downloaded wiki dump.
> 
> Thank You!!!
> 
> --  
> 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/f900ed1a-12b9-41be-be2a-e2ae27fc9e98%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/f900ed1a-12b9-41be-be2a-e2ae27fc9e98%40googlegroups.com)  
> .  
> For more options, visit [https://groups.google.com/groups/opt\_out](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](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/CAGCwEM9VeeyNYpijWhEHRrT0FSj1O8GH7fZeuH7ram3kc8Negg%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAGCwEM9VeeyNYpijWhEHRrT0FSj1O8GH7fZeuH7ram3kc8Negg%40mail.gmail.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![Sigehere](https://avatars.discourse-cdn.com/v4/letter/s/13edae/32.png) [@Sigehere](https://discuss.elastic.co/u/Sigehere)\
**Post date:** [December 19, 2013, 5:02pm UTC](https://discuss.elastic.co/t/unavailableshardsexception-error/14945/3 "2013-12-19T17:02:03Z")

</div>

Hi alex,

elasticsearch version : elasticsearch-0.90.7  
elasticsearch-wiki-river : elasticsearch-river-wikipedia-1.3.0  
I am running single node with default configuration.  
I am using ubuntu-12.04 OS

Still I got same error.

On Thu, Dec 19, 2013 at 8:35 PM, Alexander Reelsen [alr@spinscale.de](mailto:alr@spinscale.de) wrote:

> Hey,
> 
> what version of elasticsearch are you using? What version of the plugin?  
> How many nodes do you run in that cluster?
> 
> Can you show a complete recreation of the problem? (inluding installation  
> of the plugin, how you start elasticsearch, how you create the river  
> configuration). See [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/help)
> 
> Somehow your \_river index seems to have more than one shard, wondering  
> why..
> 
> --Alex
> 
> On Thu, Dec 19, 2013 at 10:24 AM, Sigehere [webmaster.swapnil@gmail.com](mailto:webmaster.swapnil@gmail.com)wrote:
> 
> > Hi Friends,
> > 
> > I am trying to use wikipedia river. But i got following error  
> > Please can any one tell me what is the problem?
> > 
> > {"error":"UnavailableShardsException[[\_river][0] [2] shardIt, [0] active  
> > : Timeout waiting for [1m], request: index {[\_river][wikipedia][\_meta],  
> > source[\n{\n "type" : "wikipedia",\n "wikipedia" : {\n  
> > "url" : "file:///btrfs/wiki/enwiki-20131202-pages-articles.xml"\n  
> > }\n}\n]}]","status":503}
> > 
> > How can i use wikipedia river?  
> > I have already downloaded wiki dump.
> > 
> > Thank You!!!
> > 
> > --  
> > 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/f900ed1a-12b9-41be-be2a-e2ae27fc9e98%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/f900ed1a-12b9-41be-be2a-e2ae27fc9e98%40googlegroups.com)  
> > .  
> > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).
> 
> --  
> You received this message because you are subscribed to a topic in the  
> Google Groups "elasticsearch" group.  
> To unsubscribe from this topic, visit  
> [https://groups.google.com/d/topic/elasticsearch/k17\_yYtk0U0/unsubscribe](https://groups.google.com/d/topic/elasticsearch/k17_yYtk0U0/unsubscribe).  
> To unsubscribe from this group and all its topics, 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/CAGCwEM9VeeyNYpijWhEHRrT0FSj1O8GH7fZeuH7ram3kc8Negg%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAGCwEM9VeeyNYpijWhEHRrT0FSj1O8GH7fZeuH7ram3kc8Negg%40mail.gmail.com)  
> .
> 
> For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
Regards,  
Swapnil K. Joshi

--  
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/CAFBccRD842jUoMqnin7xGcHR42d3rVs%2BPF3SGm5PM%3DtQBZNiDA%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAFBccRD842jUoMqnin7xGcHR42d3rVs%2BPF3SGm5PM%3DtQBZNiDA%40mail.gmail.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![Sigehere](https://avatars.discourse-cdn.com/v4/letter/s/13edae/32.png) [@Sigehere](https://discuss.elastic.co/u/Sigehere)\
**Post date:** [December 19, 2013, 5:19pm UTC](https://discuss.elastic.co/t/unavailableshardsexception-error/14945/4 "2013-12-19T17:19:25Z")

</div>

my cluster health  
$ curl -XGET '[http://192.168.1.12:9200/\_cluster/health?pretty=true](http://192.168.1.12:9200/_cluster/health?pretty=true)'  
{  
"cluster\_name" : "elasticsearch",  
"status" : "red",  
"timed\_out" : false,  
"number\_of\_nodes" : 1,  
"number\_of\_data\_nodes" : 1,  
"active\_primary\_shards" : 2,  
"active\_shards" : 2,  
"relocating\_shards" : 0,  
"initializing\_shards" : 0,  
"unassigned\_shards" : 12  
}

On Thu, Dec 19, 2013 at 10:32 PM, swapnil joshi \<[webmaster.swapnil@gmail.com](mailto:webmaster.swapnil@gmail.com)

> wrote:

> Hi alex,
> 
> elasticsearch version : elasticsearch-0.90.7  
> elasticsearch-wiki-river : elasticsearch-river-wikipedia-1.3.0  
> I am running single node with default configuration.  
> I am using ubuntu-12.04 OS
> 
> Still I got same error.
> 
> On Thu, Dec 19, 2013 at 8:35 PM, Alexander Reelsen [alr@spinscale.de](mailto:alr@spinscale.de)wrote:
> 
> > Hey,
> > 
> > what version of elasticsearch are you using? What version of the plugin?  
> > How many nodes do you run in that cluster?
> > 
> > Can you show a complete recreation of the problem? (inluding installation  
> > of the plugin, how you start elasticsearch, how you create the river  
> > configuration). See [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/help)
> > 
> > Somehow your \_river index seems to have more than one shard, wondering  
> > why..
> > 
> > --Alex
> > 
> > On Thu, Dec 19, 2013 at 10:24 AM, Sigehere [webmaster.swapnil@gmail.com](mailto:webmaster.swapnil@gmail.com)wrote:
> > 
> > > Hi Friends,
> > > 
> > > I am trying to use wikipedia river. But i got following error  
> > > Please can any one tell me what is the problem?
> > > 
> > > {"error":"UnavailableShardsException[[\_river][0] [2] shardIt, [0] active  
> > > : Timeout waiting for [1m], request: index {[\_river][wikipedia][\_meta],  
> > > source[\n{\n "type" : "wikipedia",\n "wikipedia" : {\n  
> > > "url" : "file:///btrfs/wiki/enwiki-20131202-pages-articles.xml"\n  
> > > }\n}\n]}]","status":503}
> > > 
> > > How can i use wikipedia river?  
> > > I have already downloaded wiki dump.
> > > 
> > > Thank You!!!
> > > 
> > > --  
> > > 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/f900ed1a-12b9-41be-be2a-e2ae27fc9e98%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/f900ed1a-12b9-41be-be2a-e2ae27fc9e98%40googlegroups.com)  
> > > .  
> > > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).
> > 
> > --  
> > You received this message because you are subscribed to a topic in the  
> > Google Groups "elasticsearch" group.  
> > To unsubscribe from this topic, visit  
> > [https://groups.google.com/d/topic/elasticsearch/k17\_yYtk0U0/unsubscribe](https://groups.google.com/d/topic/elasticsearch/k17_yYtk0U0/unsubscribe).  
> > To unsubscribe from this group and all its topics, 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/CAGCwEM9VeeyNYpijWhEHRrT0FSj1O8GH7fZeuH7ram3kc8Negg%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAGCwEM9VeeyNYpijWhEHRrT0FSj1O8GH7fZeuH7ram3kc8Negg%40mail.gmail.com)  
> > .
> > 
> > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).
> 
> --  
> Regards,  
> Swapnil K. Joshi

--  
Regards,  
Swapnil K. Joshi

--  
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/CAFBccRAc3Ba2Dwc5boSDk4SDxScP4N00GRFO%3D-mHGrGjq7ZsDw%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAFBccRAc3Ba2Dwc5boSDk4SDxScP4N00GRFO%3D-mHGrGjq7ZsDw%40mail.gmail.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![spinscale](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spinscale/32/25011_2.png) [@spinscale](https://discuss.elastic.co/u/spinscale)\
**Post date:** [December 20, 2013, 10:50am UTC](https://discuss.elastic.co/t/unavailableshardsexception-error/14945/5 "2013-12-20T10:50:01Z")

</div>

Hey,

again, can you recreate the problem? If so, we can try to fix it. It would  
be great if you can create a gist, which lines out step by step (from  
downloading until your problem pops up), what you did.

--Alex

On Thu, Dec 19, 2013 at 6:19 PM, swapnil joshi  
[webmaster.swapnil@gmail.com](mailto:webmaster.swapnil@gmail.com)wrote:

> my cluster health  
> $ curl -XGET '[http://192.168.1.12:9200/\_cluster/health?pretty=true](http://192.168.1.12:9200/_cluster/health?pretty=true)'  
> {  
> "cluster\_name" : "elasticsearch",  
> "status" : "red",  
> "timed\_out" : false,  
> "number\_of\_nodes" : 1,  
> "number\_of\_data\_nodes" : 1,  
> "active\_primary\_shards" : 2,  
> "active\_shards" : 2,  
> "relocating\_shards" : 0,  
> "initializing\_shards" : 0,  
> "unassigned\_shards" : 12  
> }
> 
> On Thu, Dec 19, 2013 at 10:32 PM, swapnil joshi \<  
> [webmaster.swapnil@gmail.com](mailto:webmaster.swapnil@gmail.com)\> wrote:
> 
> > Hi alex,
> > 
> > elasticsearch version : elasticsearch-0.90.7  
> > elasticsearch-wiki-river : elasticsearch-river-wikipedia-1.3.0  
> > I am running single node with default configuration.  
> > I am using ubuntu-12.04 OS
> > 
> > Still I got same error.
> > 
> > On Thu, Dec 19, 2013 at 8:35 PM, Alexander Reelsen [alr@spinscale.de](mailto:alr@spinscale.de)wrote:
> > 
> > > Hey,
> > > 
> > > what version of elasticsearch are you using? What version of the plugin?  
> > > How many nodes do you run in that cluster?
> > > 
> > > Can you show a complete recreation of the problem? (inluding  
> > > installation of the plugin, how you start elasticsearch, how you create the  
> > > river configuration). See [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/help)
> > > 
> > > Somehow your \_river index seems to have more than one shard, wondering  
> > > why..
> > > 
> > > --Alex
> > > 
> > > On Thu, Dec 19, 2013 at 10:24 AM, Sigehere \<[webmaster.swapnil@gmail.com](mailto:webmaster.swapnil@gmail.com)
> > > 
> > > > wrote:
> > > 
> > > > Hi Friends,
> > > > 
> > > > I am trying to use wikipedia river. But i got following error  
> > > > Please can any one tell me what is the problem?
> > > > 
> > > > {"error":"UnavailableShardsException[[\_river][0] [2] shardIt, [0]  
> > > > active : Timeout waiting for [1m], request: index  
> > > > {[\_river][wikipedia][\_meta], source[\n{\n "type" : "wikipedia",\n  
> > > > "wikipedia" : {\n "url" :  
> > > > "file:///btrfs/wiki/enwiki-20131202-pages-articles.xml"\n  
> > > > }\n}\n]}]","status":503}
> > > > 
> > > > How can i use wikipedia river?  
> > > > I have already downloaded wiki dump.
> > > > 
> > > > Thank You!!!
> > > > 
> > > > --  
> > > > 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/f900ed1a-12b9-41be-be2a-e2ae27fc9e98%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/f900ed1a-12b9-41be-be2a-e2ae27fc9e98%40googlegroups.com)  
> > > > .  
> > > > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).
> > > 
> > > --  
> > > You received this message because you are subscribed to a topic in the  
> > > Google Groups "elasticsearch" group.  
> > > To unsubscribe from this topic, visit  
> > > [https://groups.google.com/d/topic/elasticsearch/k17\_yYtk0U0/unsubscribe](https://groups.google.com/d/topic/elasticsearch/k17_yYtk0U0/unsubscribe).  
> > > To unsubscribe from this group and all its topics, 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/CAGCwEM9VeeyNYpijWhEHRrT0FSj1O8GH7fZeuH7ram3kc8Negg%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAGCwEM9VeeyNYpijWhEHRrT0FSj1O8GH7fZeuH7ram3kc8Negg%40mail.gmail.com)  
> > > .
> > > 
> > > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).
> > 
> > --  
> > Regards,  
> > Swapnil K. Joshi
> 
> --  
> Regards,  
> Swapnil K. Joshi
> 
> --  
> 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/CAFBccRAc3Ba2Dwc5boSDk4SDxScP4N00GRFO%3D-mHGrGjq7ZsDw%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAFBccRAc3Ba2Dwc5boSDk4SDxScP4N00GRFO%3D-mHGrGjq7ZsDw%40mail.gmail.com)  
> .
> 
> For more options, visit [https://groups.google.com/groups/opt\_out](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](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/CAGCwEM96QTjrP0bK5i9rxd41TW51csgT%2BfR3cpzB-4PHZpqd%3Dw%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAGCwEM96QTjrP0bK5i9rxd41TW51csgT%2BfR3cpzB-4PHZpqd%3Dw%40mail.gmail.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<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, 1:59am UTC](https://discuss.elastic.co/t/unavailableshardsexception-error/14945/6 "2017-07-06T01:59:59Z")

</div>


