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 <[email protected] 
> <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.
> [email protected] <javascript:>
> 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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/28cec59f-8b89-4ef5-ac9e-268bf889728f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to