# elasticsearch NoShardAvailableActionException

**URL:** <https://discuss.elastic.co/t/elasticsearch-noshardavailableactionexception/8335>\
**Category:** Elasticsearch\
**Created:** [July 6, 2012, 12:53am UTC](https://discuss.elastic.co/t/elasticsearch-noshardavailableactionexception/8335 "2012-07-06T00:53:42Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yuhan](https://avatars.discourse-cdn.com/v4/letter/y/919ad9/32.png) [@Yuhan](https://discuss.elastic.co/u/Yuhan)\
**Post date:** [July 6, 2012, 12:53am UTC](https://discuss.elastic.co/t/elasticsearch-noshardavailableactionexception/8335/1 "2012-07-06T00:53:42Z")

</div>

Hi all,

I received a error from elasticsearch all of a sudden:

{"error":"NoShardAvailableActionException[[video\_category][4] No shard  
available for [[video\_category][type][4925390]: routing  
[null]]]","status":500}

The error persists after a restart of the service.. So, what's the possible  
cause of the problem?

Thank you.

Yuhan

The error log from elasticsearch:  
[2012-07-06 00:23:22,867][DEBUG][action.admin.indices.status] [Pipeline]  
[widgets][4], node[Phu7ZmmUTEOpBPzl2IjN2w], [P], s[INITIALIZING]: Failed to  
execute  
[org.elasticsearch.action.admin.indices.status.IndicesStatusRequest@36ae2282  
]  
org.elasticsearch.index.IndexShardMissingException: [widgets][4] missing  
at  
org.elasticsearch.index.service.InternalIndexService.shardSafe(InternalIndexService.java:177)  
at  
org.elasticsearch.action.admin.indices.status.TransportIndicesStatusAction.shardOperation(TransportIndicesStatusAction.java:135)  
at  
org.elasticsearch.action.admin.indices.status.TransportIndicesStatusAction.shardOperation(TransportIndicesStatusAction.java:58)  
at  
org.elasticsearch.action.support.broadcast.TransportBroadcastOperationAction$AsyncBroadcastAction.performOperation(TransportBroadcastOperationAction.java:232)  
at  
org.elasticsearch.action.support.broadcast.TransportBroadcastOperationAction$AsyncBroadcastAction.performOperation(TransportBroadcastOperationAction.java:210)  
at  
org.elasticsearch.action.support.broadcast.TransportBroadcastOperationAction$AsyncBroadcastAction$1.run(TransportBroadcastOperationAction.java:186)  
at  
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)  
at  
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)  
at java.lang.Thread.run(Thread.java:636)  
[2012-07-06 00:23:22,868][DEBUG][action.admin.indices.status] [Pipeline]  
[destinations][4], node[Phu7ZmmUTEOpBPzl2IjN2w], [P], s[INITIALIZING]:  
Failed to execute  
[org.elasticsearch.action.admin.indices.status.IndicesStatusRequest@36ae2282  
]  
org.elasticsearch.index.IndexShardMissingException: [destinations][4]  
missing  
at  
org.elasticsearch.index.service.InternalIndexService.shardSafe(InternalIndexService.java:177)  
at  
org.elasticsearch.action.admin.indices.status.TransportIndicesStatusAction.shardOperation(TransportIndicesStatusAction.java:135)  
at  
org.elasticsearch.action.admin.indices.status.TransportIndicesStatusAction.shardOperation(TransportIndicesStatusAction.java:58)  
at  
org.elasticsearch.action.support.broadcast.TransportBroadcastOperationAction$AsyncBroadcastAction.performOperation(TransportBroadcastOperationAction.java:232)  
at  
org.elasticsearch.action.support.broadcast.TransportBroadcastOperationAction$AsyncBroadcastAction.performOperation(TransportBroadcastOperationAction.java:210)  
at  
org.elasticsearch.action.support.broadcast.TransportBroadcastOperationAction$AsyncBroadcastAction$1.run(TransportBroadcastOperationAction.java:186)  
at  
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)  
at  
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)  
at java.lang.Thread.run(Thread.java:636)  
[2012-07-06 00:23:22,868][DEBUG][action.admin.indices.status] [Pipeline]  
[video\_category][0], node[Phu7ZmmUTEOpBPzl2IjN2w], [P], s[INITIALIZING]:  
Failed to execute  
[org.elasticsearch.action.admin.indices.status.IndicesStatusRequest@36ae2282  
]  
org.elasticsearch.index.IndexShardMissingException: [video\_category][0]  
missing  
at  
org.elasticsearch.index.service.InternalIndexService.shardSafe(InternalIndexService.java:177)  
at  
org.elasticsearch.action.admin.indices.status.TransportIndicesStatusAction.shardOperation(TransportIndicesStatusAction.java:135)  
at  
org.elasticsearch.action.admin.indices.status.TransportIndicesStatusAction.shardOperation(TransportIndicesStatusAction.java:58)  
at  
org.elasticsearch.action.support.broadcast.TransportBroadcastOperationAction$AsyncBroadcastAction.performOperation(TransportBroadcastOperationAction.java:232)  
at  
org.elasticsearch.action.support.broadcast.TransportBroadcastOperationAction$AsyncBroadcastAction.performOperation(TransportBroadcastOperationAction.java:210)  
at  
org.elasticsearch.action.support.broadcast.TransportBroadcastOperationAction$AsyncBroadcastAction$1.run(TransportBroadcastOperationAction.java:186)  
at  
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)  
at  
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)  
at java.lang.Thread.run(Thread.java:636)  
[2012-07-06 00:23:22,869][DEBUG][action.admin.indices.status] [Pipeline]  
[video\_category][1], node[Phu7ZmmUTEOpBPzl2IjN2w], [P], s[INITIALIZING]:  
Failed to execute  
[org.elasticsearch.action.admin.indices.status.IndicesStatusRequest@36ae2282  
]  
org.elasticsearch.index.IndexShardMissingException: [video\_category][1]  
missing  
at  
org.elasticsearch.index.service.InternalIndexService.shardSafe(InternalIndexService.java:177)  
at  
org.elasticsearch.action.admin.indices.status.TransportIndicesStatusAction.shardOperation(TransportIndicesStatusAction.java:135)  
at  
org.elasticsearch.action.admin.indices.status.TransportIndicesStatusAction.shardOperation(TransportIndicesStatusAction.java:58)  
at  
org.elasticsearch.action.support.broadcast.TransportBroadcastOperationAction$AsyncBroadcastAction.performOperation(TransportBroadcastOperationAction.java:232)  
at  
org.elasticsearch.action.support.broadcast.TransportBroadcastOperationAction$AsyncBroadcastAction.performOperation(TransportBroadcastOperationAction.java:210)  
at  
org.elasticsearch.action.support.broadcast.TransportBroadcastOperationAction$AsyncBroadcastAction$1.run(TransportBroadcastOperationAction.java:186)  
at  
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)  
at  
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)  
at java.lang.Thread.run(Thread.java:636)

---

<div class="post-metadata">

**Author:** ![Yuhan](https://avatars.discourse-cdn.com/v4/letter/y/919ad9/32.png) [@Yuhan](https://discuss.elastic.co/u/Yuhan)\
**Post date:** [July 6, 2012, 11:09pm UTC](https://discuss.elastic.co/t/elasticsearch-noshardavailableactionexception/8335/2 "2012-07-06T23:09:58Z")

</div>

Hi all,

looks like I am still able to retrieve data from localhost:9200 through  
curl, but when I attempted to query from localhost:9300 with the java  
TransportClient, it reaches NoShardAvailableActionException..

could someone help with on this?

Thank you.

Yuhan

On Thu, Jul 5, 2012 at 5:53 PM, Yuhan Zhang [yzhang@onescreen.com](mailto:yzhang@onescreen.com) wrote:

> Hi all,
> 
> I received a error from elasticsearch all of a sudden:
> 
> {"error":"NoShardAvailableActionException[[video\_category][4] No shard  
> available for [[video\_category][type][4925390]: routing  
> [null]]]","status":500}
> 
> The error persists after a restart of the service.. So, what's the  
> possible cause of the problem?
> 
> Thank you.
> 
> Yuhan
> 
> The error log from elasticsearch:  
> [2012-07-06 00:23:22,867][DEBUG][action.admin.indices.status] [Pipeline]  
> [widgets][4], node[Phu7ZmmUTEOpBPzl2IjN2w], [P], s[INITIALIZING]: Failed to  
> execute  
> [org.elasticsearch.action.admin.indices.status.IndicesStatusRequest@36ae2282  
> ]  
> org.elasticsearch.index.IndexShardMissingException: [widgets][4] missing  
> at  
> org.elasticsearch.index.service.InternalIndexService.shardSafe(InternalIndexService.java:177)  
> at  
> org.elasticsearch.action.admin.indices.status.TransportIndicesStatusAction.shardOperation(TransportIndicesStatusAction.java:135)  
> at  
> org.elasticsearch.action.admin.indices.status.TransportIndicesStatusAction.shardOperation(TransportIndicesStatusAction.java:58)  
> at  
> org.elasticsearch.action.support.broadcast.TransportBroadcastOperationAction$AsyncBroadcastAction.performOperation(TransportBroadcastOperationAction.java:232)  
> at  
> org.elasticsearch.action.support.broadcast.TransportBroadcastOperationAction$AsyncBroadcastAction.performOperation(TransportBroadcastOperationAction.java:210)  
> at  
> org.elasticsearch.action.support.broadcast.TransportBroadcastOperationAction$AsyncBroadcastAction$1.run(TransportBroadcastOperationAction.java:186)  
> at  
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)  
> at  
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)  
> at java.lang.Thread.run(Thread.java:636)  
> [2012-07-06 00:23:22,868][DEBUG][action.admin.indices.status] [Pipeline]  
> [destinations][4], node[Phu7ZmmUTEOpBPzl2IjN2w], [P], s[INITIALIZING]:  
> Failed to execute  
> [org.elasticsearch.action.admin.indices.status.IndicesStatusRequest@36ae2282  
> ]  
> org.elasticsearch.index.IndexShardMissingException: [destinations][4]  
> missing  
> at  
> org.elasticsearch.index.service.InternalIndexService.shardSafe(InternalIndexService.java:177)  
> at  
> org.elasticsearch.action.admin.indices.status.TransportIndicesStatusAction.shardOperation(TransportIndicesStatusAction.java:135)  
> at  
> org.elasticsearch.action.admin.indices.status.TransportIndicesStatusAction.shardOperation(TransportIndicesStatusAction.java:58)  
> at  
> org.elasticsearch.action.support.broadcast.TransportBroadcastOperationAction$AsyncBroadcastAction.performOperation(TransportBroadcastOperationAction.java:232)  
> at  
> org.elasticsearch.action.support.broadcast.TransportBroadcastOperationAction$AsyncBroadcastAction.performOperation(TransportBroadcastOperationAction.java:210)  
> at  
> org.elasticsearch.action.support.broadcast.TransportBroadcastOperationAction$AsyncBroadcastAction$1.run(TransportBroadcastOperationAction.java:186)  
> at  
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)  
> at  
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)  
> at java.lang.Thread.run(Thread.java:636)  
> [2012-07-06 00:23:22,868][DEBUG][action.admin.indices.status] [Pipeline]  
> [video\_category][0], node[Phu7ZmmUTEOpBPzl2IjN2w], [P], s[INITIALIZING]:  
> Failed to execute  
> [org.elasticsearch.action.admin.indices.status.IndicesStatusRequest@36ae2282  
> ]  
> org.elasticsearch.index.IndexShardMissingException: [video\_category][0]  
> missing  
> at  
> org.elasticsearch.index.service.InternalIndexService.shardSafe(InternalIndexService.java:177)  
> at  
> org.elasticsearch.action.admin.indices.status.TransportIndicesStatusAction.shardOperation(TransportIndicesStatusAction.java:135)  
> at  
> org.elasticsearch.action.admin.indices.status.TransportIndicesStatusAction.shardOperation(TransportIndicesStatusAction.java:58)  
> at  
> org.elasticsearch.action.support.broadcast.TransportBroadcastOperationAction$AsyncBroadcastAction.performOperation(TransportBroadcastOperationAction.java:232)  
> at  
> org.elasticsearch.action.support.broadcast.TransportBroadcastOperationAction$AsyncBroadcastAction.performOperation(TransportBroadcastOperationAction.java:210)  
> at  
> org.elasticsearch.action.support.broadcast.TransportBroadcastOperationAction$AsyncBroadcastAction$1.run(TransportBroadcastOperationAction.java:186)  
> at  
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)  
> at  
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)  
> at java.lang.Thread.run(Thread.java:636)  
> [2012-07-06 00:23:22,869][DEBUG][action.admin.indices.status] [Pipeline]  
> [video\_category][1], node[Phu7ZmmUTEOpBPzl2IjN2w], [P], s[INITIALIZING]:  
> Failed to execute  
> [org.elasticsearch.action.admin.indices.status.IndicesStatusRequest@36ae2282  
> ]  
> org.elasticsearch.index.IndexShardMissingException: [video\_category][1]  
> missing  
> at  
> org.elasticsearch.index.service.InternalIndexService.shardSafe(InternalIndexService.java:177)  
> at  
> org.elasticsearch.action.admin.indices.status.TransportIndicesStatusAction.shardOperation(TransportIndicesStatusAction.java:135)  
> at  
> org.elasticsearch.action.admin.indices.status.TransportIndicesStatusAction.shardOperation(TransportIndicesStatusAction.java:58)  
> at  
> org.elasticsearch.action.support.broadcast.TransportBroadcastOperationAction$AsyncBroadcastAction.performOperation(TransportBroadcastOperationAction.java:232)  
> at  
> org.elasticsearch.action.support.broadcast.TransportBroadcastOperationAction$AsyncBroadcastAction.performOperation(TransportBroadcastOperationAction.java:210)  
> at  
> org.elasticsearch.action.support.broadcast.TransportBroadcastOperationAction$AsyncBroadcastAction$1.run(TransportBroadcastOperationAction.java:186)  
> at  
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)  
> at  
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)  
> at java.lang.Thread.run(Thread.java:636)

--  
Yuhan Zhang  
Senior Software Engineer  
OneScreen Inc.  
[yzhang@onescreen.com](mailto:yzhang@onescreen.com) [ehorne@onescreen.com](mailto:ehorne@onescreen.com)  
[www.onescreen.com](http://www.onescreen.com)

The information contained in this e-mail is for the exclusive use of the  
intended recipient(s) and may be confidential, proprietary, and/or legally  
privileged. Inadvertent disclosure of this message does not constitute a  
waiver of any privilege. If you receive this message in error, please do  
not directly or indirectly print, copy, retransmit, disseminate, or  
otherwise use the information. In addition, please delete this e-mail and  
all copies and notify the sender.

---

<div class="post-metadata">

**Author:** ![pedro\_goncalves](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pedro_goncalves/32/80461_2.png) [@pedro\_goncalves](https://discuss.elastic.co/u/pedro_goncalves)\
**Post date:** [September 4, 2013, 8:41pm UTC](https://discuss.elastic.co/t/elasticsearch-noshardavailableactionexception/8335/3 "2013-09-04T20:41:45Z")

</div>

Hi Yuhan,

I'm having the exact same issue. Were you able to overcome this?

I'm also having difficulty getting the river.couchb plugin to "listen" to my couchdb "\_changes" stream... could the above issue be related to this?

Thank you,  
Pedro

Hi all,

looks like I am still able to retrieve data from localhost:9200 through  
curl, but when I attempted to query from localhost:9300 with the java  
TransportClient, it reaches NoShardAvailableActionException..

could someone help with on this?

Thank you.

Yuhan

On Thu, Jul 5, 2012 at 5:53 PM, Yuhan Zhang \<yzhang@\> wrote:

> Hi all,
> 
> I received a error from elasticsearch all of a sudden:
> 
> {"error":"NoShardAvailableActionException[[video\_category][4] No shard  
> available for [[video\_category][type][4925390]: routing  
> [null]]]","status":500}
> 
> The error persists after a restart of the service.. So, what's the  
> possible cause of the problem?
> 
> Thank you.
> 
> Yuhan
> 
> The error log from elasticsearch:  
> [2012-07-06 00:23:22,867][DEBUG][action.admin.indices.status] [Pipeline]  
> [widgets][4], node[Phu7ZmmUTEOpBPzl2IjN2w], [P], s[INITIALIZING]: Failed to  
> execute  
> [org.elasticsearch.action.admin.indices.status.IndicesStatusRequest@36ae2282  
> ]  
> org.elasticsearch.index.IndexShardMissingException: [widgets][4] missing  
> at  
> org.elasticsearch.index.service.InternalIndexService.shardSafe(InternalIndexService.java:177)  
> at  
> org.elasticsearch.action.admin.indices.status.TransportIndicesStatusAction.shardOperation(TransportIndicesStatusAction.java:135)  
> at  
> org.elasticsearch.action.admin.indices.status.TransportIndicesStatusAction.shardOperation(TransportIndicesStatusAction.java:58)  
> at  
> org.elasticsearch.action.support.broadcast.TransportBroadcastOperationAction$AsyncBroadcastAction.performOperation(TransportBroadcastOperationAction.java:232)  
> at  
> org.elasticsearch.action.support.broadcast.TransportBroadcastOperationAction$AsyncBroadcastAction.performOperation(TransportBroadcastOperationAction.java:210)  
> at  
> org.elasticsearch.action.support.broadcast.TransportBroadcastOperationAction$AsyncBroadcastAction$1.run(TransportBroadcastOperationAction.java:186)  
> at  
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)  
> at  
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)  
> at java.lang.Thread.run(Thread.java:636)  
> [2012-07-06 00:23:22,868][DEBUG][action.admin.indices.status] [Pipeline]  
> [destinations][4], node[Phu7ZmmUTEOpBPzl2IjN2w], [P], s[INITIALIZING]:  
> Failed to execute  
> [org.elasticsearch.action.admin.indices.status.IndicesStatusRequest@36ae2282  
> ]  
> org.elasticsearch.index.IndexShardMissingException: [destinations][4]  
> missing  
> at  
> org.elasticsearch.index.service.InternalIndexService.shardSafe(InternalIndexService.java:177)  
> at  
> org.elasticsearch.action.admin.indices.status.TransportIndicesStatusAction.shardOperation(TransportIndicesStatusAction.java:135)  
> at  
> org.elasticsearch.action.admin.indices.status.TransportIndicesStatusAction.shardOperation(TransportIndicesStatusAction.java:58)  
> at  
> org.elasticsearch.action.support.broadcast.TransportBroadcastOperationAction$AsyncBroadcastAction.performOperation(TransportBroadcastOperationAction.java:232)  
> at  
> org.elasticsearch.action.support.broadcast.TransportBroadcastOperationAction$AsyncBroadcastAction.performOperation(TransportBroadcastOperationAction.java:210)  
> at  
> org.elasticsearch.action.support.broadcast.TransportBroadcastOperationAction$AsyncBroadcastAction$1.run(TransportBroadcastOperationAction.java:186)  
> at  
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)  
> at  
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)  
> at java.lang.Thread.run(Thread.java:636)  
> [2012-07-06 00:23:22,868][DEBUG][action.admin.indices.status] [Pipeline]  
> [video\_category][0], node[Phu7ZmmUTEOpBPzl2IjN2w], [P], s[INITIALIZING]:  
> Failed to execute  
> [org.elasticsearch.action.admin.indices.status.IndicesStatusRequest@36ae2282  
> ]  
> org.elasticsearch.index.IndexShardMissingException: [video\_category][0]  
> missing  
> at  
> org.elasticsearch.index.service.InternalIndexService.shardSafe(InternalIndexService.java:177)  
> at  
> org.elasticsearch.action.admin.indices.status.TransportIndicesStatusAction.shardOperation(TransportIndicesStatusAction.java:135)  
> at  
> org.elasticsearch.action.admin.indices.status.TransportIndicesStatusAction.shardOperation(TransportIndicesStatusAction.java:58)  
> at  
> org.elasticsearch.action.support.broadcast.TransportBroadcastOperationAction$AsyncBroadcastAction.performOperation(TransportBroadcastOperationAction.java:232)  
> at  
> org.elasticsearch.action.support.broadcast.TransportBroadcastOperationAction$AsyncBroadcastAction.performOperation(TransportBroadcastOperationAction.java:210)  
> at  
> org.elasticsearch.action.support.broadcast.TransportBroadcastOperationAction$AsyncBroadcastAction$1.run(TransportBroadcastOperationAction.java:186)  
> at  
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)  
> at  
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)  
> at java.lang.Thread.run(Thread.java:636)  
> [2012-07-06 00:23:22,869][DEBUG][action.admin.indices.status] [Pipeline]  
> [video\_category][1], node[Phu7ZmmUTEOpBPzl2IjN2w], [P], s[INITIALIZING]:  
> Failed to execute  
> [org.elasticsearch.action.admin.indices.status.IndicesStatusRequest@36ae2282  
> ]  
> org.elasticsearch.index.IndexShardMissingException: [video\_category][1]  
> missing  
> at  
> org.elasticsearch.index.service.InternalIndexService.shardSafe(InternalIndexService.java:177)  
> at  
> org.elasticsearch.action.admin.indices.status.TransportIndicesStatusAction.shardOperation(TransportIndicesStatusAction.java:135)  
> at  
> org.elasticsearch.action.admin.indices.status.TransportIndicesStatusAction.shardOperation(TransportIndicesStatusAction.java:58)  
> at  
> org.elasticsearch.action.support.broadcast.TransportBroadcastOperationAction$AsyncBroadcastAction.performOperation(TransportBroadcastOperationAction.java:232)  
> at  
> org.elasticsearch.action.support.broadcast.TransportBroadcastOperationAction$AsyncBroadcastAction.performOperation(TransportBroadcastOperationAction.java:210)  
> at  
> org.elasticsearch.action.support.broadcast.TransportBroadcastOperationAction$AsyncBroadcastAction$1.run(TransportBroadcastOperationAction.java:186)  
> at  
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)  
> at  
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)  
> at java.lang.Thread.run(Thread.java:636)

--  
Yuhan Zhang  
Senior Software Engineer  
OneScreen Inc.  
yzhang@ \<ehorne@\>  
[www.onescreen.com](http://www.onescreen.com)

The information contained in this e-mail is for the exclusive use of the  
intended recipient(s) and may be confidential, proprietary, and/or legally  
privileged. Inadvertent disclosure of this message does not constitute a  
waiver of any privilege. If you receive this message in error, please do  
not directly or indirectly print, copy, retransmit, disseminate, or  
otherwise use the information. In addition, please delete this e-mail and  
all copies and notify the sender.

---

<div class="post-metadata">

**Author:** ![Jeff\_Dupont](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jeff_dupont/32/1355_2.png) [@Jeff\_Dupont](https://discuss.elastic.co/u/Jeff_Dupont)\
**Post date:** [August 1, 2014, 9:21pm UTC](https://discuss.elastic.co/t/elasticsearch-noshardavailableactionexception/8335/4 "2014-08-01T21:21:28Z")

</div>

I'm getting the same issue using Node.js. Looking for any solutions at this  
point as a restart of the server never seems to work.

On Friday, July 6, 2012 4:09:58 PM UTC-7, Yuhan Zhang wrote:

> Hi all,
> 
> looks like I am still able to retrieve data from localhost:9200 through  
> curl, but when I attempted to query from localhost:9300 with the java  
> TransportClient, it reaches NoShardAvailableActionException..
> 
> could someone help with on this?
> 
> Thank you.
> 
> Yuhan
> 
> On Thu, Jul 5, 2012 at 5:53 PM, Yuhan Zhang \<[yzh...@onescreen.com](mailto:yzh...@onescreen.com)  
> \<javascript:\>\> wrote:
> 
> > Hi all,
> > 
> > I received a error from elasticsearch all of a sudden:
> > 
> > {"error":"NoShardAvailableActionException[[video\_category][4] No shard  
> > available for [[video\_category][type][4925390]: routing  
> > [null]]]","status":500}
> > 
> > The error persists after a restart of the service.. So, what's the  
> > possible cause of the problem?
> > 
> > Thank you.
> > 
> > Yuhan
> > 
> > The error log from elasticsearch:  
> > [2012-07-06 00:23:22,867][DEBUG][action.admin.indices.status] [Pipeline]  
> > [widgets][4], node[Phu7ZmmUTEOpBPzl2IjN2w], [P], s[INITIALIZING]: Failed to  
> > execute  
> > [org.elasticsearch.action.admin.indices.status.IndicesStatusRequest@36ae2282]  
> > org.elasticsearch.index.IndexShardMissingException: [widgets][4] missing  
> > at  
> > org.elasticsearch.index.service.InternalIndexService.shardSafe(InternalIndexService.java:177)  
> > at  
> > org.elasticsearch.action.admin.indices.status.TransportIndicesStatusAction.shardOperation(TransportIndicesStatusAction.java:135)  
> > at  
> > org.elasticsearch.action.admin.indices.status.TransportIndicesStatusAction.shardOperation(TransportIndicesStatusAction.java:58)  
> > at  
> > org.elasticsearch.action.support.broadcast.TransportBroadcastOperationAction$AsyncBroadcastAction.performOperation(TransportBroadcastOperationAction.java:232)  
> > at  
> > org.elasticsearch.action.support.broadcast.TransportBroadcastOperationAction$AsyncBroadcastAction.performOperation(TransportBroadcastOperationAction.java:210)  
> > at  
> > org.elasticsearch.action.support.broadcast.TransportBroadcastOperationAction$AsyncBroadcastAction$1.run(TransportBroadcastOperationAction.java:186)  
> > at  
> > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)  
> > at  
> > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)  
> > at java.lang.Thread.run(Thread.java:636)  
> > [2012-07-06 00:23:22,868][DEBUG][action.admin.indices.status] [Pipeline]  
> > [destinations][4], node[Phu7ZmmUTEOpBPzl2IjN2w], [P], s[INITIALIZING]:  
> > Failed to execute  
> > [org.elasticsearch.action.admin.indices.status.IndicesStatusRequest@36ae2282]  
> > org.elasticsearch.index.IndexShardMissingException: [destinations][4]  
> > missing  
> > at  
> > org.elasticsearch.index.service.InternalIndexService.shardSafe(InternalIndexService.java:177)  
> > at  
> > org.elasticsearch.action.admin.indices.status.TransportIndicesStatusAction.shardOperation(TransportIndicesStatusAction.java:135)  
> > at  
> > org.elasticsearch.action.admin.indices.status.TransportIndicesStatusAction.shardOperation(TransportIndicesStatusAction.java:58)  
> > at  
> > org.elasticsearch.action.support.broadcast.TransportBroadcastOperationAction$AsyncBroadcastAction.performOperation(TransportBroadcastOperationAction.java:232)  
> > at  
> > org.elasticsearch.action.support.broadcast.TransportBroadcastOperationAction$AsyncBroadcastAction.performOperation(TransportBroadcastOperationAction.java:210)  
> > at  
> > org.elasticsearch.action.support.broadcast.TransportBroadcastOperationAction$AsyncBroadcastAction$1.run(TransportBroadcastOperationAction.java:186)  
> > at  
> > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)  
> > at  
> > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)  
> > at java.lang.Thread.run(Thread.java:636)  
> > [2012-07-06 00:23:22,868][DEBUG][action.admin.indices.status] [Pipeline]  
> > [video\_category][0], node[Phu7ZmmUTEOpBPzl2IjN2w], [P], s[INITIALIZING]:  
> > Failed to execute  
> > [org.elasticsearch.action.admin.indices.status.IndicesStatusRequest@36ae2282]  
> > org.elasticsearch.index.IndexShardMissingException: [video\_category][0]  
> > missing  
> > at  
> > org.elasticsearch.index.service.InternalIndexService.shardSafe(InternalIndexService.java:177)  
> > at  
> > org.elasticsearch.action.admin.indices.status.TransportIndicesStatusAction.shardOperation(TransportIndicesStatusAction.java:135)  
> > at  
> > org.elasticsearch.action.admin.indices.status.TransportIndicesStatusAction.shardOperation(TransportIndicesStatusAction.java:58)  
> > at  
> > org.elasticsearch.action.support.broadcast.TransportBroadcastOperationAction$AsyncBroadcastAction.performOperation(TransportBroadcastOperationAction.java:232)  
> > at  
> > org.elasticsearch.action.support.broadcast.TransportBroadcastOperationAction$AsyncBroadcastAction.performOperation(TransportBroadcastOperationAction.java:210)  
> > at  
> > org.elasticsearch.action.support.broadcast.TransportBroadcastOperationAction$AsyncBroadcastAction$1.run(TransportBroadcastOperationAction.java:186)  
> > at  
> > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)  
> > at  
> > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)  
> > at java.lang.Thread.run(Thread.java:636)  
> > [2012-07-06 00:23:22,869][DEBUG][action.admin.indices.status] [Pipeline]  
> > [video\_category][1], node[Phu7ZmmUTEOpBPzl2IjN2w], [P], s[INITIALIZING]:  
> > Failed to execute  
> > [org.elasticsearch.action.admin.indices.status.IndicesStatusRequest@36ae2282]  
> > org.elasticsearch.index.IndexShardMissingException: [video\_category][1]  
> > missing  
> > at  
> > org.elasticsearch.index.service.InternalIndexService.shardSafe(InternalIndexService.java:177)  
> > at  
> > org.elasticsearch.action.admin.indices.status.TransportIndicesStatusAction.shardOperation(TransportIndicesStatusAction.java:135)  
> > at  
> > org.elasticsearch.action.admin.indices.status.TransportIndicesStatusAction.shardOperation(TransportIndicesStatusAction.java:58)  
> > at  
> > org.elasticsearch.action.support.broadcast.TransportBroadcastOperationAction$AsyncBroadcastAction.performOperation(TransportBroadcastOperationAction.java:232)  
> > at  
> > org.elasticsearch.action.support.broadcast.TransportBroadcastOperationAction$AsyncBroadcastAction.performOperation(TransportBroadcastOperationAction.java:210)  
> > at  
> > org.elasticsearch.action.support.broadcast.TransportBroadcastOperationAction$AsyncBroadcastAction$1.run(TransportBroadcastOperationAction.java:186)  
> > at  
> > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)  
> > at  
> > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)  
> > at java.lang.Thread.run(Thread.java:636)
> 
> --  
> Yuhan Zhang  
> Senior Software Engineer  
> OneScreen Inc.  
> [yzh...@onescreen.com](mailto:yzh...@onescreen.com) \<javascript:\>  
> [www.onescreen.com](http://www.onescreen.com)
> 
> The information contained in this e-mail is for the exclusive use of the  
> intended recipient(s) and may be confidential, proprietary, and/or legally  
> privileged. Inadvertent disclosure of this message does not constitute a  
> waiver of any privilege. If you receive this message in error, please do  
> not directly or indirectly print, copy, retransmit, disseminate, or  
> otherwise use the information. In addition, please delete this e-mail and  
> all copies and notify the sender.

--  
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/28cec59f-8b89-4ef5-ac9e-268bf889728f%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/28cec59f-8b89-4ef5-ac9e-268bf889728f%40googlegroups.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, 1:11am UTC](https://discuss.elastic.co/t/elasticsearch-noshardavailableactionexception/8335/5 "2017-07-06T01:11:31Z")

</div>


